Skip to main content
Glama
jessalva7

flight-search-mcp-server

by jessalva7

Flight Search MCP Server

A FastMCP server that enables AI assistants to search for flights between airports using the SearchAPI.io Google Flights API. Get real-time flight prices, schedules, airlines, and carbon emissions data through a simple MCP tool interface.

Setup

  1. Create and activate virtual environment:

uv venv
source .venv/bin/activate
  1. Install dependencies:

uv add fastmcp httpx
  1. Set your API key (optional, defaults to the one provided):

export SEARCHAPI_KEY="your_api_key_here"

Related MCP server: Skyscanner MCP Server

Usage

Test with FastMCP dev mode:

fastmcp dev server.py

Or run directly:

fastmcp run server.py

Available Tools

search_flights

Search for flights between airports with specified dates.

Parameters:

  • departure_id (required): Departure airport code (e.g., JFK, LAX)

  • arrival_id (required): Arrival airport code (e.g., MAD, LHR)

  • outbound_date (required): Outbound date in YYYY-MM-DD format

  • return_date (optional): Return date in YYYY-MM-DD format

  • flight_type (optional): "round_trip" or "one_way" (default: round_trip)

Example:

{
  "departure_id": "JFK",
  "arrival_id": "MAD",
  "outbound_date": "2025-11-02",
  "return_date": "2025-11-09",
  "flight_type": "round_trip"
}

MCP Configuration

Add to your .kiro/settings/mcp.json:

{
  "mcpServers": {
    "flight-search": {
      "command": "python",
      "args": ["/absolute/path/to/server.py"],
      "env": {
        "SEARCHAPI_KEY": "your_api_key_here"
      }
    }
  }
}
F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Integrates Google Flights data into AI workflows for natural language flight searches, price comparisons, flexible date searches, and multi-city itinerary planning with support for various cabin classes and passenger types.
    Last updated
    9
    4
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    Enables flight search and fare calendar exploration by interacting with Google Flights' API, supporting detailed filters for origin, destination, dates, cabin class, airlines, and more.
    Last updated
    3,080
    MIT

View all related MCP servers

Related MCP Connectors

  • Flight search & booking for AI agents. 400+ airlines, $20-50 cheaper than OTAs.

  • Live flight prices and working booking links for AI agents and travel apps.

  • Web search, news, page retrieval, sitemaps, and trending topics through Search1API.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jessalva7/flight-search-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server