Travel Amadeus MCP Server

Travel Amadeus MCP Server

Provides access to 50+ Amadeus Travel APIs for AI assistants to search and book flights, hotels, activities, and ground transfers, along with travel analytics, price predictions, and comprehensive travel reference data.

Category
访问服务器

README

Travel Amadeus MCP Server

A Model Context Protocol (MCP) server that provides access to all Amadeus Travel APIs. This allows AI assistants to search flights, book hotels, find activities, and access comprehensive travel data.

Features

Flight APIs

  • Flight Search - Search for flight offers with flexible dates and routes
  • Flight Booking - Create, retrieve, and cancel flight orders
  • Flight Inspiration - Find cheapest destinations from origin
  • Flight Availability - Advanced availability search
  • Seat Maps - View available seats on flights
  • Branded Fares - Get upsell options with additional services
  • Flight Status - Real-time flight tracking

Hotel APIs

  • Hotel Search - Find hotel offers by city or coordinates
  • Hotel Booking - Book hotel rooms
  • Hotel Listings - List hotels by city or location
  • Hotel Sentiments - Get review sentiment analysis

Activities & Points of Interest

  • Activities Search - Find tours and activities by location
  • Points of Interest - Discover tourist attractions
  • Activity Details - Get detailed activity information

Transfer Services

  • Transfer Search - Find private transfer options
  • Transfer Booking - Book ground transportation
  • Transfer Cancellation - Cancel transfer bookings

Travel Intelligence

  • Travel Analytics - Most booked/traveled destinations, busiest periods
  • Price Analysis - Flight price metrics and quartile distributions
  • Predictions - Flight delay, trip purpose, on-time performance
  • Location Scores - Safety and tourism ratings

Reference Data

  • Location Search - Find airports and cities (autocomplete)
  • Airline Lookup - Get airline information
  • Check-in Links - Airline check-in URLs
  • Route Information - Airport and airline routes

Installation

  1. Clone the repository:
git clone <repository-url>
cd travel-amadeus-mcp
  1. Install dependencies:
npm install
  1. Get your Amadeus API credentials:

    • Sign up at Amadeus for Developers
    • Create a new app to get your API Key (Client ID) and API Secret (Client Secret)
  2. Configure environment variables:

cp .env.example .env
# Edit .env and add your credentials
  1. Build the project:
npm run build

Configuration

Environment Variables

Create a .env file with the following:

AMADEUS_CLIENT_ID=your_client_id_here
AMADEUS_CLIENT_SECRET=your_client_secret_here
AMADEUS_HOSTNAME=production  # or "test" for testing

Claude Desktop Configuration

Add to your Claude Desktop config file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "amadeus": {
      "command": "node",
      "args": ["/absolute/path/to/travel-amadeus-mcp/dist/index.js"],
      "env": {
        "AMADEUS_CLIENT_ID": "your_client_id",
        "AMADEUS_CLIENT_SECRET": "your_client_secret",
        "AMADEUS_HOSTNAME": "production"
      }
    }
  }
}

Usage

Once configured, the MCP server provides 50+ tools to Claude. Here are some example prompts:

Flight Search

Find me flights from New York to London departing on 2025-12-15

Hotel Search

Show me hotels in Paris for check-in on 2025-12-20 and check-out on 2025-12-23

Activities

What are the top tourist attractions near the Eiffel Tower?

Travel Insights

What are the most popular destinations from San Francisco this month?

Flight Status

What's the status of flight AA100 on 2025-11-15?

Available Tools

The server provides 50+ MCP tools organized by category:

Flight Tools (12)

  • flight_offers_search - Search flight offers
  • flight_offers_pricing - Confirm pricing
  • flight_create_order - Book flights
  • flight_order_get - Get booking details
  • flight_order_delete - Cancel bookings
  • flight_inspiration_search - Find cheap destinations
  • flight_cheapest_date_search - Find cheapest dates
  • flight_availability_search - Advanced search
  • seatmap_display - View seat maps
  • branded_fares_upsell - Get fare upgrades
  • flight_choice_prediction - Predict preferences
  • flight_status - Real-time status

Hotel Tools (6)

  • hotel_offers_search - Search hotels
  • hotel_offer_search - Get offer details
  • hotel_booking - Book hotels
  • hotel_list_by_city - List hotels by city
  • hotel_list_by_geocode - List hotels by location
  • hotel_sentiments - Review analysis

Activity Tools (6)

  • points_of_interest_search - Find POIs
  • points_of_interest_by_square - POIs in area
  • point_of_interest_details - POI details
  • activities_search - Find activities
  • activities_by_square - Activities in area
  • activity_details - Activity details

Transfer Tools (3)

  • transfer_search - Search transfers
  • transfer_booking - Book transfers
  • transfer_cancellation - Cancel transfers

Reference Data Tools (7)

  • location_search - Search locations
  • airport_city_search - Find airports/cities
  • nearest_airport - Find nearest airport
  • airline_lookup - Airline information
  • checkin_links - Check-in URLs
  • airport_routes - Airport routes
  • airline_routes - Airline routes

Analytics Tools (4)

  • most_booked_destinations - Popular destinations
  • most_traveled_destinations - Travel trends
  • busiest_travel_period - Peak periods
  • location_score - Location ratings

Prediction Tools (4)

  • flight_delay_prediction - Delay likelihood
  • trip_purpose_prediction - Business vs leisure
  • airport_on_time_performance - On-time stats
  • flight_price_analysis - Price metrics

Development

Build

npm run build

Watch Mode

npm run watch

Run Directly

npm run dev

Testing

The project includes comprehensive tests for all 50+ API endpoints:

# Run all tests
npm test

# Run tests in watch mode
npm run test:watch

# Run tests with coverage report
npm run test:coverage

See TEST_GUIDE.md for detailed testing documentation.

Test Coverage:

  • ✅ 12 Flight API endpoints
  • ✅ 6 Hotel API endpoints
  • ✅ 6 Activity & POI endpoints
  • ✅ 3 Transfer endpoints
  • ✅ 7 Reference Data endpoints
  • ✅ 8 Analytics & Prediction endpoints
  • ✅ Integration tests for complete booking flows

API Documentation

For detailed API documentation, visit:

Test vs Production

Amadeus provides two environments:

  • Test Environment: Use test credentials for development with sample data
  • Production Environment: Use production credentials for real bookings (charges apply)

Set AMADEUS_HOSTNAME=test for testing or AMADEUS_HOSTNAME=production for live data.

Limitations

  • Some APIs require production credentials
  • Booking APIs may incur charges
  • Rate limits apply based on your Amadeus account tier
  • Some endpoints require specific data formats (see Amadeus documentation)

Security Notes

  • Never commit your .env file or credentials
  • Use environment variables for sensitive data
  • For production use, implement proper credential management
  • Review Amadeus terms of service and API usage policies

License

MIT

Support

Contributing

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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选