Creates travel agent-level flight plans using the fast-flights API, allowing users to search for flights and generate comprehensive travel itineraries.
A Model Context Protocol server that creates travel agent-level flight plans using the fast-flights API.
pip install mcp fast-flights
You can run the server directly:
python flight_planner_server.py
Install Claude Desktop
Create or edit your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Add the flight-planner server configuration:
{ "mcpServers": { "flight-planner": { "command": "python", "args": [ "/PATH/TO/flight_planner_server.py" ], "env": { "PYTHONPATH": "/PATH/TO/PROJECT" } } } }
/PATH/TO/
with the actual path to your server fileFor testing and development, you can use the MCP Inspector:
# Install the inspector npm install -g @modelcontextprotocol/inspector # Run the inspector with your server npx @modelcontextprotocol/inspector python flight_planner_server.py
search_one_way_flights
: Search for one-way flights between airportssearch_round_trip_flights
: Search for round-trip flights between airportscreate_travel_plan
: Generate a comprehensive travel planairport_codes://{query}
: Get airport code information based on a search queryflight_search_prompt
: Template for searching flightstravel_plan_prompt
: Template for creating a comprehensive travel planOnce integrated with Claude Desktop, you can ask things like:
MIT
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!