flight
flight
一个基于 SerpApi 的 MCP 服务器,提供航班搜索和 Google Flights 路线查询工具。
工具
search_flights (flight.py)
通过 Google Flights 搜索航班。
参数 | 类型 | 说明 |
| str | 3 字母出发机场代码(例如 |
| str | 3 字母到达机场代码(例如 |
| str | 出发日期, |
| str | None | 返回日期, |
| str | 货币代码,默认为 |
get_directions (map.py)
通过 Google Maps 获取两个地点之间的路线和路径信息。
参数 | 类型 | 说明 |
| str | 起始地址或地点名称 |
| str | 目的地地址或地点名称 |
| str | 以下之一: |
Related MCP server: Google Flights MCP Server
设置
需要 Python 3.13+ 和 SerpApi API 密钥。
uv sync将你的 API 密钥添加到 .env:
SERPAPI_API_KEY="your-key-here"运行
每个工具都是独立的 MCP 服务器,通过 stdio 运行:
uv run flight.py
uv run map.py将兼容 MCP 的客户端(例如 Claude Desktop)指向这些脚本,即可使用这些工具。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables searching across multiple search engines (Google, Bing, YouTube, DuckDuckGo, etc.) and retrieving parsed search results via SerpApi integration.
- AlicenseAqualityFmaintenanceConnects AI agents to Google Flights data, enabling retrieval of flight information, cheapest options, time-filtered flights, and best recommendations.427MIT
- FlicenseNot gradedqualityDmaintenanceEnables flight search and date parsing using Amadeus API and Google Gemini, with natural language understanding.
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to search for real-time flights between airports using the SearchAPI.io Google Flights API, returning prices, schedules, airlines, and carbon emissions.
Related MCP Connectors
SerpApi MCP — wraps SerpApi (serpapi.com) search engines
Web search, news, page retrieval, sitemaps, and trending topics through Search1API.
Flight search & booking for AI agents. 400+ airlines, $20-50 cheaper than OTAs.
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/nihalpatel99/mcp-flight-map'
If you have feedback or need assistance with the MCP directory API, please join our Discord server