expedia-travel-recommendations-mcp
MCP server for Expedia travel recommendations. Enables LLMs to search hotels, flights, activities, and car rentals using natural language.
README
π Expedia Travel Recommendations MCP Server
This project provides an MCP (Model Context Protocol) server that exposes Expedia Travel Recommendations (hotels, flights, activities, and cars) via both stdio and streamable-http protocolsβideal for LLM integrations and web-based applications.
β¨ Features
- π MCP server integration for Expedia's travel recommendation APIs
- π¦ Supports both
stdioandstreamable-httpprotocols - π¨ Hotel, βοΈ Flight, πΊοΈ Activity, and π Car rental recommendations
- π API key-based secure access
π Prerequisites
- Python 3.11+
- Expedia API key
β‘ Running the MCP Server
Run with stdio protocol (LLM Integration)
export EXPEDIA_API_KEY="your_api_key_here"
uvx expedia_travel_recommendations_mcp --protocol "stdio"
Run with streamable-http protocol (Web Clients)
export EXPEDIA_API_KEY="your_api_key_here"
uvx expedia_travel_recommendations_mcp --protocol "streamable-http"
Access it at:
http://0.0.0.0:9900/mcp
π³ Running with Docker
Using Docker Compose (Recommended)
docker run \
-p 9900:9900 \
-e EXPEDIA_API_KEY=your_api_key_here \
expediagroup/expedia-travel-recommendations-mcp
Accessible at:
http://0.0.0.0:9900/mcp
βοΈ MCP Client Configuration
Using streamable-http (Recommended)
{
"mcpServers": {
"expedia-recommendation": {
"url": "http://localhost:9900/mcp"
}
}
}
Using stdio
{
"mcpServers": {
"expedia-travel-recommendations": {
"command": "uvx",
"args": [
"expedia_travel_recommendations_mcp",
"--protocol",
"stdio"
],
"env": {
"EXPEDIA_API_KEY": "your_api_key_here"
}
}
}
}
π§ͺ Example Query (Hotel)
{
"query": {
"destination": "Seattle",
"check_in": "2025-05-01",
"check_out": "2025-05-05",
"property_types": ["HOTEL", "RESORT"],
"amenities": ["POOL", "SPA"],
"guest_rating": "WONDERFUL",
"sort_type": "CHEAPEST"
}
}
π API Endpoints
These are exposed when using the
streamable-httpprotocol.
POST /expedia/hotelsβ Hotel recommendationsPOST /expedia/flightsβ Flight recommendationsPOST /expedia/activitiesβ Activity recommendationsPOST /expedia/carsβ Car rental recommendations
π§βπ» Example Clients
See the examples/ folder for client scripts.
1οΈβ£ stdio-based Client
Make sure the virtual env is activated (install.sh must be run first):
source install_env/bin/activate
python examples/mcp_client_stdio.py
2οΈβ£ streamable-http Client
Ensure MCP server is running:
python examples/mcp_client_streamable_http.py
π License
Licensed under the Apache License 2.0.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.