MCP HubMCP Hub
A

mcp-flight-search

By arjunprabhulal·Visit Source
使用MCP的航班搜索服务
2025年4月17日
6 days ago
0 Clicks

什么是这个MCP

这个MCP是一个航班搜索服务,它实现了模型上下文协议(Model Context Protocol)工具,使AI模型能够搜索航班。它通过符合MCP标准的工具提供结构化的航班搜索能力。

如何使用这个MCP

通过pip安装(pip install mcp-flight-search),将您的SerpAPI密钥设置为环境变量,并使用mcp-flight-search --connection_type http启动服务器。该服务暴露了如search_flights_tool这样的工具,可以被兼容MCP的AI模型调用。

这个MCP的用途

这个MCP可以被AI助手用来提供航班搜索功能,与SerpAPI Google Flights集成,以查找机场之间的单程和往返航班,参数包括出发地、目的地和日期等。

Repository Info
Stars:
42
Forks:
22
Watchers:
42
Last Updated: 27 days ago
Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.