Integrations
Integrates with SerpAPI Google Flights to search for flights between airports, supporting one-way and round-trip itineraries
MCPフライト検索
モデルコンテキストプロトコル(MCP)を使用して構築されたフライト検索サービス。このサービスは、フライト検索機能のためのMCPツールの実装方法を示しています。
モデルコンテキストプロトコルとは何ですか?
モデルコンテキストプロトコル(MCP)は、Anthropicが開発した標準規格であり、ツールの説明、呼び出し、応答のための構造化されたフォーマットを定義することで、AIモデルがツールを利用できるようにします。このプロジェクトは、Claudeやその他のMCP互換モデルで使用できるMCPツールを実装します。
インストール
使用法
MCP サーバーを起動します。
カスタム ポートを指定することもできます。
環境変数
SerpAPI キーを環境変数として設定します。
特徴
- フライト検索機能のためのMCP準拠ツール
- SerpAPI Googleフライトとの統合
- 片道・往復便に対応
- 構造化された出力による豊富なログ記録
- モジュール化された保守可能なコード構造
MCPツール
このパッケージは、次のモデル コンテキスト プロトコル ツールを提供します。
search_flights_tool
: パラメータを使用して空港間のフライトを検索します。origin
: 出発空港コード(例:ATL、JFK)destination
: 到着空港コード(例:LAX、ORD)outbound_date
: 出発日(YYYY-MM-DD)return_date
: 往復旅行の戻り日(オプション)(YYYY-MM-DD)
server_status
: MCPサーバーが実行中かどうかを確認します
プロジェクト構造
著者
AI/ML と生成 AI に関するその他の記事については、Medium でフォローしてください: https://medium.com/@arjun-prabhulal
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
モデルコンテキストプロトコルサーバーは、シンプルなプロンプトを使用して、任意の日付の複数の航空会社、価格、停車地、所要時間を含むリアルタイムのフライト詳細を検索します。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server enabling product searches across e-commerce platforms, price history tracking, and product specification-based searches using natural language prompts.Last updated -87PythonMIT License
- -securityFlicense-qualityA Model Context Protocol server that integrates with Brave Search API to provide real-time search capabilities through Server-Sent Events (SSE).Last updated -TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides real-time flight tracking and status information using the AviationStack API.Last updated -302JavaScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that provides real-time access to Hong Kong's KMB and Long Win Bus route information and arrival times, enabling Language Models to answer user questions about bus routes, stops, and ETAs.Last updated -3Python