flight
MCP server for real-time flight queries using Amadeus API
claude mcp add --transport stdio technicalerikchan-flight-mcp-server python -m flight_mcp_server.server \ --env AMADEUS_API_KEY="your_actual_api_key_here" \ --env AMADEUS_API_SECRET="your_actual_api_secret_here"
How to use
The Flight MCP Server provides real-time flight data by integrating with the Amadeus API and exposes several tools through the Model Context Protocol (MCP) so Claude Desktop can perform flight searches, retrieve airport and airline information, and check flight statuses. The server is implemented in Python and runs as a modular MCP service, handling authentication, data validation, and graceful fallbacks to mock data if the Amadeus API is unavailable. You can interact with the server through Claude Desktop by invoking tools such as search_flights, get_airport_info, get_flight_status, and get_airline_info to obtain structured flight information in natural language queries.
To use the server, start it with the provided command, ensure your Amadeus credentials are set in the environment, and configure Claude Desktop to point at the server via the integration configuration. Once running, you can ask Claude things like: "Search for flights from LAX to JFK tomorrow", "What’s the status of flight AA123 today?", or "Tell me about San Francisco airport". Each tool returns data appropriate for conversational use, including flight options, airport details, statuses, and airline information.
How to install
Prerequisites:
- Python 3.10+
- Access to Amadeus API credentials (API key and secret)
- git
Install steps:
- Clone the repository: git clone https://github.com/technicalerikchan/flight-mcp-server.git
- Change directory: cd flight-mcp-server
- Create and activate a virtual environment (recommended):
python -m venv venv
Windows
venv\Scripts\activate.batmacOS/Linux
source venv/bin/activate - Install dependencies: pip install -r requirements.txt
- Copy the environment template and supply credentials:
cp .env.example .env
Edit .env and add your credentials
- Run the server: python -m flight_mcp_server.server
Notes:
- Ensure the Amadeus credentials in the environment file are correct and have the necessary permissions.
- If the API is unavailable, the server will automatically fall back to mock data.
Additional notes
Environment and configuration tips:
- Keep your Amadeus API credentials secure; do not commit them to source control.
- If you encounter authentication issues, verify the values in the .env file and check for accidental whitespace.
- The server includes a smart fallback to mock data when the Amadeus API is unreachable to maintain responsiveness.
- You can customize environment variables or add additional configuration as needed; ensure the MCP server stays in sync with Claude Desktop configurations.
- Typical issues include network connectivity problems or API rate limits; in such cases, mock data will be used to maintain functionality.
Related MCP Servers
mcp-pinecone
Model Context Protocol server to allow for reading and writing from Pinecone. Rudimentary RAG
lc2mcp
Convert LangChain tools to FastMCP tools
mcp-simple-timeserver
Simple MCP to give Claude ability to check current time as well as know when holidays are, what is the time distance between dates etc.
skill-to
Convert AI Skills (Claude Skills format) to MCP server resources - Part of BioContextAI
whatsapp -extended
Extended WhatsApp MCP server with 41 tools - reactions, group management, polls, presence, newsletters & more. Fork of lharries/whatsapp-mcp
django-admin
Expose Django admin models to MCP (Model Context Protocol) clients. Add a mixin to your ModelAdmin classes and let AI assistants like Claude perform CRUD operations, execute admin actions, and explore relationships—all respecting Django's permission system.