MCP.so
Sign In

Gemini Function Calling + Model Context Protocol(MCP) Flight Search

@arjunprabhulal

About 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

Basic information

Category

AI & Agents

Runtime

python

Transports

stdio

Publisher

arjunprabhulal

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-gemini-search": {
      "command": "python",
      "args": [
        "client.py"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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-search tool 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

Comments

More AI & Agents MCP servers