mcp-flight-assistant
v1.0.0
Published
MCP server for flight search, status, and airport information
Readme
MCP Flight Assistant
A Model Context Protocol (MCP) server that provides flight search, status tracking, and airport information capabilities.
Installation
npx mcp-flight-assistantSetup
Get API keys:
- SerpAPI for flight search
- AviationStack for flight status and airport data
Create a
.envfile:
SERP_API_KEY=your_serpapi_key
AVIATIONSTACK_API_KEY=your_aviationstack_keyAvailable Tools
search_flights
Search for flights between airports
origin: Origin airport code (e.g., JFK)destination: Destination airport code (e.g., LAX)date: Departure date (YYYY-MM-DD)
flight_status
Get real-time flight status
flight_number: Flight number (e.g., AA123)
airport_info
Get airport information
code: Airport IATA code (e.g., JFK)
airline_info
Get airline information
code: Airline IATA code (e.g., AA)
live_flights
Get live flight tracking data
limit: Number of flights to return (default: 10)
Usage with Claude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"flight-assistant": {
"command": "npx",
"args": ["mcp-flight-assistant"]
}
}
}Examples
- Search flights: "Search for flights from JFK to LAX on 2024-01-15"
- Check status: "What's the status of flight AA123?"
- Airport info: "Tell me about JFK airport"
- Live flights: "Show me 5 live flights"
License
MIT
