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. 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) or Authorization: Bearer <key> (RapidAPI key).
  • initialize, tools/list and ping need 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 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.1.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.1.0
File Size Uploaded Provenance Actions
luftfly_mcp-1.1.0.tar.gz 22.3 kB Without provenance Details for luftfly_mcp-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 40.1 kB

Release files / luftfly_mcp-1.1.0.tar.gz

Download URL luftfly_mcp-1.1.0.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
48279644f45900a900f3dc4e58c081898fd56ae9f80fb53f5b821937b07d916f
BLAKE2b-256 checksum
How to use checksums
ee0dfce9cdef800575394a34d5950f967a24e0f7ccb8f586c68e8065fa94623d
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.1.0-py3-none-any.whl

Download URL luftfly_mcp-1.1.0-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ed1fec819ea27d89b227c86ded3afde78e505d0ed04fa09d23d9b90d6bb3b4d
BLAKE2b-256 checksum
How to use checksums
2b06a9e3b370207868314f49bc5f8adc3dd9ffaaee58d5a19317c24d4e5623c3
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.1.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.1.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