opspawn_Google-Flights-MCP-Server

opspawn_Google-Flights-MCP-Server

0

The Google Flights MCP Server is designed to allow interaction with Google Flights data, leveraging the fast_flights library for scraping flight information. It provides powerful tools to fetch both one-way and round-trip flight data, with options to filter results based on user criteria.

Google Flights MCP Server

This project provides an MCP server for interacting with Google Flights data using the fast_flights library.

Features

  • Fetches available one-way flights for a specific date between two airports.
  • Retrieves round-trip flights for given departure and return dates.
  • Finds available round-trip flights within a specified date range, optionally returning only the cheapest flight for each date pair.

Setup

  1. Clone the repository and navigate to it.
  2. Create and activate a virtual environment.
  3. Install dependencies.
  4. Install Playwright browsers for fast_flights.

Running the Server

Run the server directly using Python.

Notes

  • Bundles the fast_flights library for flight scraping.
  • Includes basic error handling.
  • Resource-intensive operations available in tools.