Skip to main content

MCP server for Amadeus integration

Project description

Amadeus MCP Server

A Model Context Protocol (MCP) server for Amadeus API integration. This server provides tools for interacting with Amadeus travel-related services, including flight search, hotel booking, and airport information.

Features

  • Flight Search: Search for available flights between destinations
  • Hotel Booking: Find accommodations in specific cities
  • Airport & City Information: Get details about airports and cities
  • Travel Planning Assistance: Prompts for common travel workflows

Installation

pip install mcp-amadeus

Configuration

Set the following environment variables:

export AMADEUS_CLIENT_ID="your_client_id"
export AMADEUS_CLIENT_SECRET="your_client_secret"
export AMADEUS_BASE_URL="https://test.api.amadeus.com/v1"  # Use test or production URL

Usage

Starting the server directly

mcp-amadeus

Using with Claude Desktop

Add the following to your claude_desktop_config.json file:

"mcp-amadeus": {
  "command": "uvx",
  "args": [
    "mcp-amadeus"
  ],
  "env": {
    "AMADEUS_CLIENT_ID": "your_client_id",
    "AMADEUS_CLIENT_SECRET": "your_client_secret",
    "AMADEUS_BASE_URL": "https://test.api.amadeus.com/v1"
  }
}

Replace the environment variables with your actual Amadeus API credentials.

Available Tools

  • search_flights: Search for flight options between destinations
  • search_hotels: Search for hotel options in a city
  • get_airport_info: Get information about an airport by its IATA code
  • get_city_info: Get information about a city by its IATA code
  • get_flight_offers_price: Get pricing for specific flight offers

Available Resources

  • amadeus://airports: List of popular airports
  • amadeus://cities: List of popular cities

Available Prompts

  • plan_trip: Template for planning a complete trip with flights and accommodations
  • find_flight: Template for finding a flight between two locations
  • find_hotel: Template for finding accommodations in a specific location

Authentication

This MCP server implements OAuth 2.0 authentication with the Amadeus API using client credentials. The token is automatically managed and refreshed as needed.

Error Handling

The server includes robust error handling for:

  • API authentication failures
  • Invalid requests
  • Server errors
  • Network issues

Version

0.0.1

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_amadeus-0.0.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_amadeus-0.0.2-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_amadeus-0.0.2.tar.gz.

File metadata

  • Download URL: mcp_amadeus-0.0.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for mcp_amadeus-0.0.2.tar.gz
Algorithm Hash digest
SHA256 75d1c029a1f544c6f994207ad2df209a8d1fd50f5b238a5c3dfd93f9916c0813
MD5 90184a8ee13e070f524c4d2f5320f5a3
BLAKE2b-256 b97ffd2fb7d441ae873e17bda607af9e66ecbbf1d5222d1fe4900dd3a79f4309

See more details on using hashes here.

File details

Details for the file mcp_amadeus-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_amadeus-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 136a3cf6f57461f3f55fb18cb7fffd0fa3edf624bb98a76635cb05b0385a4df9
MD5 c061f461fcf999c2f43e297954bb9729
BLAKE2b-256 f274a9d9734939c91a4f35486c1dc217025e41b6d78d287cb0f65db91ec4ed6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page