flights-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@flights-mcpSearch for direct flights from Madrid to Berlin on March 19"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
flights-mcp
An MCP server for searching flights using Google Flights data via SerpAPI.
Built with FastMCP for use with Claude Code, Claude Desktop, or any MCP-compatible client.
Why
Most flight MCP servers have incomplete airline coverage — missing low-cost carriers like Ryanair, easyJet, or Wizz Air. This server uses Google Flights (via SerpAPI) which aggregates all airlines, giving you the same results you'd see in the browser.
Related MCP server: Google Flights MCP Server
Features
Search one-way and round-trip flights with full Google Flights data
Filter by stops, cabin class, price, and sort order
Get booking links from airlines and travel agencies
Price insights (price level, typical range, price history)
All airlines included (Ryanair, easyJet, Iberia, Lufthansa, etc.)
Tools
mcp_search_flights
Search for flights on a specific route and date.
Parameter | Type | Default | Description |
| str | required | Departure airport IATA code (e.g. |
| str | required | Arrival airport IATA code (e.g. |
| str | required | Departure date |
| str |
| Return date for round trips |
| int |
| Number of adult passengers |
| int |
|
|
| int |
|
|
| int |
|
|
| str |
| ISO currency code |
| int |
| Maximum price filter |
mcp_get_booking_options
Get booking links for a specific flight using its booking_token from search results.
Parameter | Type | Default | Description |
| str | required | Token from a flight search result |
| str |
| ISO currency code |
Setup
1. Get a SerpAPI key
Sign up at serpapi.com and grab your API key. Free tier includes 100 searches/month.
2. Add to Claude Code
claude mcp add flights \
-e SERPAPI_API_KEY=your_key_here \
-- uv --directory /path/to/flights-mcp run flights-mcpOr add manually to ~/.claude.json:
{
"mcpServers": {
"flights": {
"type": "stdio",
"command": "uv",
"args": ["--directory", "/path/to/flights-mcp", "run", "flights-mcp"],
"env": {
"SERPAPI_API_KEY": "your_key_here"
}
}
}
}3. Restart Claude Code
The server will be available after restart. Try: "Search for direct flights from Madrid to Berlin on March 19".
Development
git clone https://github.com/chaosisnotrandomitisrhythmic/flights-mcp.git
cd flights-mcp
uv sync
SERPAPI_API_KEY=your_key uv run flights-mcpArchitecture
src/flights_mcp/
├── __init__.py # Exports mcp instance and run_server
├── server.py # FastMCP server setup and tool definitions
└── tools.py # Pure business logic (no MCP awareness)tools.py— Pure Python functions that call SerpAPI and return dicts. No MCP dependency. Easy to test independently.server.py— Thin@mcp.tool()wrappers that serialize results to JSON. Defines the MCP interface.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/chaosisnotrandomitisrhythmic/flights-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server