Skip to main content

MCP server for Rihla - flexible multi-leg, multi-airport flight search. Launcher for rihla[mcp].

Project description

rihla-mcp

The MCP server for Rihla — flexible multi-leg, multi-airport flight search that finds the cheapest route across an entire itinerary.

This is a launcher package: it installs rihla[mcp] and provides the rihla-mcp command, so MCP clients can run the server directly:

uvx rihla-mcp

or in any MCP client config:

{
  "mcpServers": {
    "rihla": {
      "command": "uvx",
      "args": ["rihla-mcp"],
      "env": { "TRAVELPAYOUTS_TOKEN": "your-token" }
    }
  }
}

It exposes two read-only tools: resolve_airports (quota-free IATA validation and enrichment) and search_trip (the priced multi-leg search). Runs offline against mock data with no keys; live prices need a free Travelpayouts token, optionally complemented by a SerpApi key for routes the primary source misses.

Full documentation, the CLI, and the Python API live in the main package: rihla on PyPI · github.com/leojg/rihla.

mcp-name: io.github.leojg/rihla

License

Licensed under the Apache License 2.0 — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rihla_mcp-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rihla_mcp-0.1.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file rihla_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: rihla_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for rihla_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f479df397689a17089579eebb4b45f3a2db86cf8750f4c6b6350be77faf46e4a
MD5 b0cf54a3b229edd5a178a650529f8bbd
BLAKE2b-256 50f06a2cd2751b83c5f05ea25fb954f78bca6ebc52a635fcb363a1fc7d6cf74d

See more details on using hashes here.

File details

Details for the file rihla_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rihla_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for rihla_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80c10ae5a719f0c5b406a0b3ee7c16721c86ccf9de7707b45b6b6864b34a999e
MD5 0a1d5a4335e0ca4f860a49d5a2684c5b
BLAKE2b-256 0c2ef4ab02c5a56b1d72f5230bbc4957ac0cfc31677dda566fb9842f94818722

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page