{"status":"ok","server":{"name":"happyfares-flights","version":"1.1.0","description":"HappyFares AI-Powered Flight Intelligence — India's first OTA MCP server. Search flights across all Indian airlines, get AI price predictions (buy now vs wait), compare nearby dates and alternate airports for savings, check booking status, get fare rules, and book directly on happyfares.in. Unique features: Smart Search checks +/- 2 days and nearby airports automatically. Price Intelligence tracks fares and recommends when to book."},"tools":[{"name":"smart_search","description":"AI-powered smart flight search that goes beyond basic search. Automatically checks: (1) Your exact date, (2) Nearby dates (+/- 2 days) for cheaper fares, (3) Alternate nearby airports that might have cheaper flights. Returns the best options with savings highlighted. Use this instead of search_flights when you want the best deal, not just a list."},{"name":"search_flights","description":"Search for flights between two Indian cities. Returns available flights with prices, airlines, timings, and stops. Use 3-letter IATA airport codes (DEL=Delhi, BOM=Mumbai, BLR=Bengaluru, MAA=Chennai, CCU=Kolkata, HYD=Hyderabad, GOI=Goa, COK=Kochi, JAI=Jaipur, AMD=Ahmedabad, LKO=Lucknow, PNQ=Pune, etc). Dates can be in YYYY-MM-DD or DD-MM-YYYY format."},{"name":"book_flight","description":"Generate a booking link to complete a flight booking on happyfares.in. After searching for flights, use this tool to get a direct link where the user can enter passenger details and pay. The link pre-fills the flight selection so the user does not need to search again. You need the origin, destination, date, and airline from the search results."},{"name":"price_insight","description":"Get price intelligence for a specific route and date. Tells you if the current price is cheap or expensive compared to historical data, whether prices are trending up or down, and whether you should BUY NOW, WAIT, or BOOK SOON. The more searches you do through HappyFares, the smarter this tool gets."},{"name":"low_fare_calendar","description":"Get a fare calendar showing the cheapest flight prices across multiple dates for a route. Great for finding the cheapest day to fly. Provide a travel date and it will show fares for dates around that period."},{"name":"get_fare_rules","description":"Get cancellation, date change, and refund policies for a specific flight fare. Requires the search_key and flight_key from a previous search_flights result, plus the fare_id of the fare you want rules for."},{"name":"get_booking_status","description":"Check the status of a HappyFares flight booking. You can look up by booking ID or PNR number. Returns booking details including passenger names, flight info, ticket status, and payment status."},{"name":"get_ticket_details","description":"Get detailed ticket information including e-ticket numbers, fare breakdown, and itinerary for a specific booking."},{"name":"get_addons","description":"Get available add-on services for a flight: meals, extra baggage, and seat selection options. Requires the search_key and flight details from a previous search_flights result."},{"name":"check_route_availability","description":"Check which flight routes are available and what dates they operate on. Useful for checking if a specific route exists before searching."},{"name":"route_analytics","description":"Get analytics on route popularity, trending searches, and demand patterns. Shows which routes are being searched most through HappyFares AI, and price trends for tracked routes. Internal tool for business intelligence."}],"endpoints":{"mcp":"POST /mcp — MCP JSON-RPC endpoint","health":"GET / — Server info and tool list","manifest":"GET /.well-known/ai-plugin.json — AI plugin manifest"},"connect":{"chatgpt":"Settings → Apps & Connectors → Developer Mode → Add this server URL","claude":"Settings → Integrations → Add MCP Server → Enter this server URL","claude_desktop":"Add to claude_desktop_config.json: {\"mcpServers\":{\"happyfares\":{\"url\":\"<this-url>/mcp\"}}}","claude_code":"claude mcp add happyfares --transport http <this-url>/mcp"}}