Flight search service using Model Context Protocol (MCP) tools
Overview
What is MCP Flight Search?
MCP Flight Search is a flight search service that utilizes the Model Context Protocol (MCP) to provide advanced flight search capabilities.
How to use MCP Flight Search?
To use MCP Flight Search, install the package via PyPI or from the project directory, start the MCP server, and set your SerpAPI key as an environment variable.
Key features of MCP Flight Search?
- MCP-compliant tools for flight search functionality
- Integration with SerpAPI Google Flights
- Support for one-way and round-trip flights
- Rich logging with structured output
- Modular and maintainable code structure
Use cases of MCP Flight Search?
- Searching for flights between different airports.
- Checking the status of the MCP server.
- Integrating flight search capabilities into other applications.
FAQ from MCP Flight Search?
- What is the Model Context Protocol (MCP)?
MCP is a standard that allows AI models to use tools by defining a structured format for tool descriptions, calls, and responses.
- How do I set the SerpAPI key?
You can set the SerpAPI key as an environment variable using the command:
export SERP_API_KEY="your-api-key-here".
- Is MCP Flight Search free to use?
Yes! MCP Flight Search is open-source and free to use.