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.1.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.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mcp_amadeus-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2988a5a1a155ef3ea9a6c46f5dde44f77b2f64156c31be166398ae7c3a76708e
MD5 c1e87ca6526ad569ab366acda6d40b34
BLAKE2b-256 0ef4397fa68a80a2f0ed5a6895a21684bf445541d33f3b241e2541adbb14a6da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mcp_amadeus-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59d97f4aed0f21df183a70d760a249ccaaddd2833cc5290b32ce0c91fd2d42b2
MD5 320b16cc81967509eb0294597472232f
BLAKE2b-256 1d84824e20f36ca3a482eef678e5cd3a960b509000b9e6cfaf9aeabdc3a5bd70

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