MCP ExplorerExplorer

India Flight Mcp

@ravi-byteson 9 months ago
1 MIT
FreeCommunity
AI Systems
MCP server to find the cheapest air fare

Overview

What is India Flight Mcp

india-flight-mcp is an MCP server designed to aggregate flight information and deals from major Indian travel websites, helping users find the cheapest air fares by searching multiple providers simultaneously.

Use cases

Use cases for india-flight-mcp include travel agencies looking to offer competitive flight prices, travel comparison websites, and individual developers creating travel-related applications.

How to use

To use india-flight-mcp, clone the repository, install the dependencies using npm or yarn, and start the server. You can then make API calls to search for flights by sending a POST request to the /api/search-flights endpoint with the required parameters.

Key features

Key features of india-flight-mcp include the ability to search flights across multiple providers, find and apply the best available offers and bank deals, support for one-way and return trips, and an extensible architecture for adding new providers.

Where to use

india-flight-mcp can be used in the travel industry, particularly for flight booking applications and services that aim to provide users with the best flight deals.

Content

Indian Flight Search MCP Server

This MCP (Model Context Protocol) server aggregates flight information and deals from major Indian travel websites. It searches multiple providers simultaneously and finds the best prices including ongoing offers and bank deals.

Supported Travel Websites

  • MakeMyTrip
  • Cleartrip (coming soon)
  • EaseMyTrip (coming soon)
  • Yatra (coming soon)
  • Goibibo (coming soon)
  • HappyFares (coming soon)

Features

  • Search flights across multiple providers
  • Find and apply best available offers and bank deals
  • Support for one-way and return trips
  • Extensible architecture for adding new providers

Prerequisites

  • Node.js 16 or higher
  • npm or yarn

Installation

  1. Clone the repository:
git clone [your-repo-url]
cd india-flight-mcp
  1. Install dependencies:
npm install
  1. Start the server:
npm start

The server will start on port 3000 by default.

API Usage

Search Flights

POST /api/search-flights
Content-Type: application/json

{
    "from": "DEL",
    "to": "BOM",
    "departDate": "2025-04-20",
    "returnDate": "2025-04-25"  // Optional for one-way flights
}

Adding New Providers

  1. Create a new provider class in src/providers/
  2. Extend the BaseProvider class
  3. Implement the required methods:
    • searchFlights()
    • getOffers()
    • calculateBestPrice()
  4. Add the new provider to FlightAggregator.js

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers