Google Flights Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Google Flights Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A FastMCP server that provides Google Flights data access via Model Context Protocol (MCP). Search for flights, find airports, and get pricing information through standardized MCP tools.
# Install and run directly with uvx
uvx google-flights-mcp --helppip install google-flights-mcp# Build and run with Docker
docker build -t google-flights-mcp .
docker run -p 8000:8000 google-flights-mcp
# Or use docker-compose for easier management
docker-compose up# Default mode (stdio transport for Claude Desktop and MCP clients)
uvx google-flights-mcp serve
# HTTP mode (for remote access)
uvx google-flights-mcp serve --transport http --host 0.0.0.0 --port 8000
# Check server status and capabilities
uvx google-flights-mcp status# Test flight search
uvx google-flights-mcp test-search LAX JFK 2025-12-25
# Test airport search
uvx google-flights-mcp test-airports "Los Angeles"
# Show version information
uvx google-flights-mcp versionThe package also provides a shorter gf command:
# All commands work with the shorter alias
uvx google-flights-mcp serve
# is equivalent to
uvx --from google-flights-mcp gf serveFor development and testing with MCP Inspector:
uvx google-flights-mcp serveThen connect your MCP client to the stdio transport.
For production use or remote MCP clients:
uvx google-flights-mcp serve --transport http --host 0.0.0.0 --port 8000MCP clients can connect to: http://your-server:8000/mcp
To use this MCP server with Claude Desktop, add the following configuration to your Claude Desktop settings:
{
"mcpServers": {
"google-flights": {
"command": "uvx",
"args": [
"google-flights-mcp",
"serve"
]
}
}
}This configuration will:
uvxAfter adding this configuration, restart Claude Desktop and you'll have access to all the flight search tools directly in your conversations.
#### Alternative Configuration with HTTP Transport
For advanced users who prefer HTTP transport for remote access:
{
"mcpServers": {
"google-flights": {
"command": "uvx",
"args": [
"google-flights-mcp",
"serve",
"--transport",
"http",
"--host",
"127.0.0.1",
"--port",
"8000"
]
}
}
}search_flightsSearch for flights between two airports.
Parameters:
origin (string): Origin airport code (e.g., "LAX")destination (string): Destination airport code (e.g., "JFK")departure_date (string): Departure date in YYYY-MM-DD formatreturn_date (string, optional): Return date for round-trip flightsseat_class (string): Seat class - "economy", "premium_economy", "business", "first"adults (integer): Number of adult passengers (default: 1)children (integer, optional): Number of child passengersinfants (integer, optional): Number of infant passengersmax_results (integer): Maximum results to return (default: 6)find_airportsSearch for airports by code, name, or city.
Parameters:
query (string): Search query (airport code, name, or city)limit (integer): Maximum results to return (default: 10)get_cheapest_flightsGet flights sorted by price (lowest first).
Parameters: Same as search_flights
get_best_flightsGet Google's recommended "best" flights balancing price, duration, and convenience.
Parameters: Same as search_flights
get_server_statusGet server status and capabilities information.
Parameters: None
# Clone the repository
git clone https://github.com/tistaharahap/google-flights-mcp
cd google-flights-mcp
# Install dependencies
rye sync
# Run the MCP server
rye run python -m google_flights_mcp.cli serve
# Run tests
rye run python -m google_flights_mcp.cli test-search LAX JFK 2025-12-25
# Code formatting and linting
rye run ruff check
rye run ruff formatThe server uses standard MCP environment variables and configurations. No API keys are required as it uses public Google Flights data via the fast-flights library.
# Build the Docker image
docker build -t google-flights-mcp .
# Run the container
docker run -d \
--name google-flights-mcp \
-p 8000:8000 \
--restart unless-stopped \
google-flights-mcp
# Check container logs
docker logs google-flights-mcp
# Stop the container
docker stop google-flights-mcpThe repository includes a docker-compose.yml file for easier deployment:
# Start the service
docker-compose up -d
# View logs
docker-compose logs -f
# Stop the service
docker-compose down
# Rebuild and restart
docker-compose up --build -dFor production deployments, use the nginx profile for reverse proxy and SSL termination:
# Start with nginx reverse proxy
docker-compose --profile production up -d
# This will start both the MCP server and nginx
# Configure SSL certificates in ./ssl/ directory
# Customize nginx.conf for your domain and SSL setupThe Docker setup includes:
You can customize the deployment using environment variables:
# Custom host and port
docker run -p 9000:9000 \
-e GOOGLE_FLIGHTS_HOST=0.0.0.0 \
-e GOOGLE_FLIGHTS_PORT=9000 \
google-flights-mcp
# Or in docker-compose.yml:
environment:
- GOOGLE_FLIGHTS_HOST=0.0.0.0
- GOOGLE_FLIGHTS_PORT=8000When running in Docker, the server is accessible via HTTP transport:
http://localhost:8000/mcphttp://your-server-ip:8000/mcpConfigure your MCP client to connect to the HTTP endpoint instead of stdio transport.
This server uses the fast-flights library to access Google Flights data. The library provides real-time flight information without requiring API keys.
[Add your license information here]
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.