Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Google Workspace MCP Server
  • Google Drive MCP Server
  • Gemini MCP Image Generation Server
  • Flight Planner MCP Server
  • Fantasy Premier League MCP Server
Back to MCP Servers
Google-Flights-MCP-Server

Google-Flights-MCP-Server

Public
opspawn/Google-Flights-MCP-Server

Provides Model Context Protocol tools to fetch and search one-way and round-trip flights from Google Flights data, supporting date ranges, passenger counts, seat types, and cheapest fare options.

python
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with Google-Flights-MCP-Server

MCP Server

Unlock the full potential of Google-Flights-MCP-Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

Google Flights MCP Server

This MCP server provides tools to interact with Google Flights data using the bundled fast_flights library.

Features

Provides the following MCP tools:

  • get_flights_on_date: Fetches available one-way flights for a specific date between two airports.
    • Args: origin (str), destination (str), date (str, YYYY-MM-DD), adults (int, optional), seat_type (str, optional), return_cheapest_only (bool, optional, default False).
  • get_round_trip_flights: Fetches available round-trip flights for specific departure and return dates.
    • Args: origin (str), destination (str), departure_date (str, YYYY-MM-DD), return_date (str, YYYY-MM-DD), adults (int, optional), seat_type (str, optional), return_cheapest_only (bool, optional, default False).
  • find_all_flights_in_range: Finds available round-trip flights within a specified date range. Can optionally return only the cheapest flight found for each date pair.
    • Args: origin (str), destination (str), start_date_str (str, YYYY-MM-DD), end_date_str (str, YYYY-MM-DD), min_stay_days (int, optional), max_stay_days (int, optional), adults (int, optional), seat_type (str, optional), return_cheapest_only (bool, optional, default False).

Setup

  1. Clone the repository:
    git clone https://github.com/opspawn/Google-Flights-MCP-Server.git cd Google-Flights-MCP-Server
  2. Create a virtual environment (recommended):
    python -m venv .venv source .venv/bin/activate # On Windows use `.venv\Scripts\activate`
  3. Install dependencies:
    pip install -r requirements.txt
  4. Install Playwright browsers (needed by fast_flights):
    playwright install

Running the Server

You can run the server directly using Python:

python server.py

The server uses STDIO transport by default.

Integrating with MCP Clients (e.g., Cline, Claude Desktop)

Add the server to your MCP client's configuration file. Example for cline_mcp_settings.json or claude_desktop_config.json:

{ "mcpServers": { "google-flights": { "command": "/path/to/your/.venv/bin/python", // Use absolute path to venv python "args": [ "/absolute/path/to/flight_mcp_server/server.py" // Use absolute path to server script ], "env": {}, "disabled": false, "autoApprove": [] } // ... other servers } }

Important: Replace the paths in command and args with the absolute paths to your virtual environment's Python executable and the server.py script on your system.

Notes

  • This server bundles the fast_flights library (originally from https://github.com/AWeirdDev/flights) for its core flight scraping functionality. Please refer to the included LICENSE file for its terms.
  • Flight scraping can sometimes be unreliable or slow depending on Google Flights changes and network conditions. The tools include basic error handling.
  • The find_all_flights_in_range tool can be resource-intensive as it checks many date combinations.
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Google Workspace MCP Server
    Google Workspace MCP Server

    Provides Model Context Protocol (MCP) tools for seamless programmatic management of Gmail and Google...

    8 tools
    Added May 30, 2025
  • Google Drive MCP Server
    Google Drive MCP Server

    Integrates with Google Drive via Model Context Protocol to enable searching, reading, and managing f...

    Added May 30, 2025
  • Gemini MCP Image Generation Server
    Gemini MCP Image Generation Server

    Provides image generation capabilities via Google's Gemini 2 API using the Model Context Protocol, e...

    1 tools
    Added May 30, 2025
  • Flight Planner MCP Server
    Flight Planner MCP Server

    Model Context Protocol server that generates travel agent-level flight plans using fast-flights API,...

    Added May 30, 2025
  • Fantasy Premier League MCP Server
    Fantasy Premier League MCP Server

    Provides comprehensive access to Fantasy Premier League data and tools via Model Context Protocol, e...

    Added May 30, 2025