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
- Clone the repository and navigate to it.
- Create and activate a virtual environment.
- Install dependencies.
- 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.