Skip to main content

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. Install and configure

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 attribution line: keep it when you show the data to people. data_sources lists 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.

Metadata

Release files for luftfly-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for luftfly-mcp 1.0.0
File Size Uploaded Provenance Actions
luftfly_mcp-1.0.0.tar.gz 21.4 kB Without provenance Details for luftfly_mcp-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for luftfly-mcp 1.0.0
File Interpreter ABI Platform Actions
luftfly_mcp-1.0.0-py3-none-any.whl Python 3 none any Details for luftfly_mcp-1.0.0-py3-none-any.whl

Total release size: 38.8 kB

Release files / luftfly_mcp-1.0.0.tar.gz

Download URL luftfly_mcp-1.0.0.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
22e5f3f91224699e22385bc859ec85a1d5f498e95a3c3a7f9c9f6347c4462d87
BLAKE2b-256 checksum
How to use checksums
1282cb9f1504c7e82c338f827075eb5264785171f627c66c704bc3f1db2cea7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release files / luftfly_mcp-1.0.0-py3-none-any.whl

Download URL luftfly_mcp-1.0.0-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2c8699c3b46e7c28178aecc8aa4409e53db4dfbb1d9e9044ef3cdbaaafe5acf
BLAKE2b-256 checksum
How to use checksums
91b714c603ad69a6b0ce1c94103ded1f368d936b1cf5a55f5c7e7b1dc0eee5f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Security for luftfly-mcp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page