LuftFly
v1.9.1Airports, weather, forecasts, climate, US flight stats, holidays and travel advisories for AI.
LuftFly MCP server Give your AI assistant (Claude, Cursor, any MCP client) real travel and airport data: airports and airlines, weather and forecasts, climate and best time to visit, US flight performance and routes, time zones, holidays, currencies, country facts and government travel advisories. It talks to the LuftFly Data API with your own API key. - Zero dependencies (Python 3.9+ standard library only), no telemetry, read-only (every tool only reads data).
Summary extracted from the README.
LuftFly MCP server
Give your AI assistant (Claude, Cursor, any MCP client) real travel and airport data: airports and airlines, weather and forecasts, climate and best time to visit, US flight performance and routes, time zones, holidays, currencies, country facts and government travel advisories. It talks to the LuftFly Data API with your own API key.
- Zero dependencies (Python 3.9+ standard library only), no telemetry, read-only (every tool only reads data).
- 14 tools shaped for assistants: compact answers, the data attribution carried along, and clear messages when something is not available.
- Works with RapidAPI and api.market keys.
1. Get a key
Subscribe to a plan (a free plan exists) on RapidAPI or api.market.
2. Use it: hosted (no install) or local
Hosted endpoint: https://api.nanxor.com/mcp
For MCP clients that connect to a URL and let you set a request header. Send your own key; calls run on your plan.
claude mcp add --transport http luftfly https://api.nanxor.com/mcp --header "X-RapidAPI-Key: your_key"
{ "mcpServers": { "luftfly": { "url": "https://api.nanxor.com/mcp", "headers": { "X-RapidAPI-Key": "your_key" } } } }
- Headers:
X-RapidAPI-Key(RapidAPI),x-api-market-key(api.market) orAuthorization: Bearer <key>(RapidAPI key). initialize,tools/listandpingneed no key; tool calls do. Stateless streamable HTTP with JSON responses (no SSE), CORS enabled, 60 tool calls per minute per address.- Nothing is logged or stored. Browser-only clients that require OAuth are not supported; use the local server instead.
Local server (below) or hosted: same 14 tools.
2b. Install and configure the local server
Claude Code
claude mcp add luftfly -e LUFTFLY_API_KEY=your_key -- uvx luftfly-mcp
Claude Desktop, Cursor and other clients (mcpServers JSON)
{
"mcpServers": {
"luftfly": {
"command": "uvx",
"args": ["luftfly-mcp"],
"env": { "LUFTFLY_API_KEY": "your_key" }
}
}
}
Without uvx: pip install luftfly-mcp and use "command": "luftfly-mcp".
Environment variables
| Variable | Meaning |
|---|---|
LUFTFLY_API_KEY |
Your key (required) |
LUFTFLY_PROVIDER |
rapidapi (default) or apimarket (for an api.market key) or custom |
LUFTFLY_BASE_URL, LUFTFLY_KEY_HEADER |
Only for custom: base URL and the header that carries the key |
LUFTFLY_TIMEOUT |
Request timeout in seconds (default 25) |
If the key is missing the server still starts and its tools explain how to get one.
Tools
| Tool | What it answers |
|---|---|
search_airports |
Find airports by city, coordinates or name/code text |
airport_overview |
Identity, advisory level, local time, statistics, current weather, nearby UNESCO sites; for US airports also FAA delays and on-time performance |
airport_weather |
METAR, TAF, daily or hourly forecast, climate normals |
best_time_to_visit |
Monthly comfort score and the best and worst months |
flight_info |
Distance, rough flight time, time difference, CO2 per passenger, carriers on routes touching the US |
country_brief |
Country facts, currency and rate, indicators (prices, safety), advisory level, CDC notices, upcoming holidays |
travel_advisory |
Government advice: summary, entry, health, laws, hazards, emergency numbers |
holidays |
Public holidays, regional holidays, long weekends and bridge days |
convert_time |
A local time between airports or zones with the right daylight-saving rules |
convert_currency |
ECB reference rates (indicative) |
us_flight_performance |
On-time, delay and route statistics for a US airport, airline or route |
natural_events |
Recent earthquakes and natural events near an airport or point |
data_sources |
Every dataset, its source, licence rhythm and freshness |
api_request |
Escape hatch for any other GET /v1/... endpoint |
There is also a plan_trip prompt that tells the assistant how to combine them.
Try it
- "What is the weather like at Istanbul airport and when is the best time to visit?"
- "I fly Montreal to Istanbul on 1 December. How long, how much CO2, and what is the time difference for a call at 9:30?"
- "Give me a briefing for Japan: currency, holidays in the next months, travel advisory and health notices."
- "How reliable is JFK for on-time departures, and who flies JFK to Los Angeles?"
Good to know
- Data comes from open and official sources (OurAirports, Wikidata, NOAA/NWS, MET Norway, NASA, FAA, US BTS, ECB, World Bank, government travel advisories, ...). Each result carries an
attributionline: keep it when you show the data to people.data_sourceslists everything. - Informational only: not an official source, not for navigation or flight planning. There is no live flight status or schedule data.
- Your key is sent only to the LuftFly API; the server makes no other network requests.
Develop
python -m unittest discover -s tests # unit tests (no network)
LUFTFLY_SECRET_FILE=... python tests/live_test.py # live test over stdio (maintainers)
The server implements MCP over stdio (newline-delimited JSON-RPC, protocol versions 2025-06-18, 2025-03-26, 2024-11-05) and is verified against the official MCP SDK client.
MIT licence. Operated by NaNXOR Enterprise, info@nanxor.com.