P

amadeus-mcp

...
Created 1/23/2025byben4mn

Language:

Python

Stars:

6

Forks:

4

Amadeus MCP Server

This MCP server integrates Amadeus flight search capabilities with Claude Desktop.

Setup

  1. Environment variables required in .env:
AMADEUS_API_KEY=your_key
AMADEUS_API_SECRET=your_secret
  1. Claude Desktop config:
{
  "mcpServers": {
    "amadeus": {
      "command": "python",
      "args": ["path/to/amadeus/server.py"],
      "env": {
        "AMADEUS_API_KEY": "your_key",
        "AMADEUS_API_SECRET": "your_secret",
        "PYTHONPATH": "path/to/amadeus"
      }
    }
  }
}

Available Tools

search_flights

Parameters:

  • origin: IATA airport code
  • destination: IATA airport code
  • date: YYYY-MM-DD format

Troubleshooting

Common Issues

  1. Connection Timeouts
  • Check server.py logs in amadeus_mcp.log
  • Verify environment variables
  • Check Claude Desktop logs
  • See MCP Documentation for protocol details
  1. Authentication Errors
  • Verify Amadeus API credentials
  • Check .env file permissions
  • Ensure credentials are properly loaded

Debugging Steps

  1. Run standalone test:
npx @modelcontextprotocol/inspector python path/to/server.py
  1. Check logs:
tail -f amadeus_mcp.log
  1. Verify environment:
python -c "import os; print(os.getenv('AMADEUS_API_KEY'))"

Architecture Notes

  • Uses FastMCP for server implementation
  • Implements stdio transport
  • Logs to both stderr and file
  • Handles async flight search operations

Support Resources

  1. Model Context Protocol Documentation
  2. Amadeus API Documentation
  3. Claude Desktop MCP Guide
Last updated: 3/3/2025

Publisher info

ben4mn's avatar

ben4mn

1
followers
4
following
5
repos

More MCP servers built with Python

usgs-water-mcp

This MCP server provides access to real-time water data from the USGS Water Services API. It allows you to fetch instantaneous water measurements including stream flow, gage height, temperature, and other water quality parameters from thousands of monitoring stations across the United States.

By pgiffy
screeny

Privacy-focused macOS MCP server for secure, user-approved window screenshots

By rohanrav
Freepik MCP

Freepik MCP allows LLMs to access everything available through the Freepik API — including searching and retrieving images, icons, illustrations, and using tools for image generation, video creation, and image enhancement — all in an LLM-friendly format.

By Freepik Company