Gemini Function Calling + Model Context Protocol(MCP) Flight Search
@arjunprabhulal
Gemini Function Calling + Model Context Protocol(MCP) Flight Search について
Model Context Protocol (MCP) with Gemini 2.5 Pro. Convert conversational queries into flight searches using Gemini's function calling capabilities and MCP's flight search tools
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-gemini-search": {
"command": "python",
"args": [
"client.py"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Gemini Function Calling + Model Context Protocol(MCP) Flight Search?
It is a client demonstration that uses Google’s Gemini 2.5 Pro with function calling to interact with the mcp-flight-search tool via the Model Context Protocol (MCP). It enables natural language flight search queries to be automatically translated into structured function calls and executed against a local MCP server.
How to use Gemini Function Calling + Model Context Protocol(MCP) Flight Search?
Clone the repository, install dependencies (pip install -r requirements.txt and pip install mcp-flight-search), set GEMINI_API_KEY and SERP_API_KEY environment variables, then run python client.py. The client starts the MCP flight search server, sends the user’s natural language query to Gemini, and displays formatted flight results.
Key features of Gemini Function Calling + Model Context Protocol(MCP) Flight Search
- Natural language flight search using Gemini 2.5 Pro
- Automatic parameter extraction via function calling
- Integration with
mcp-flight-searchtool via stdio - Formatted JSON output of flight results
- Environment-based configuration for API keys
Use cases of Gemini Function Calling + Model Context Protocol(MCP) Flight Search
- Searching flights using plain English (e.g., “Find flights from Atlanta
「AI とエージェント」の他のコンテンツ
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant
MCP Client for Ollama (ollmcp)
joniglHarness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved pre
コメント