Skip to main content

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.

Metadata

Release files for rihla-mcp 0.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 rihla-mcp 0.1.0
File Size Uploaded
rihla_mcp-0.1.0.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rihla-mcp 0.1.0
File Interpreter ABI Platform
rihla_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / rihla_mcp-0.1.0.tar.gz

Download URL rihla_mcp-0.1.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f479df397689a17089579eebb4b45f3a2db86cf8750f4c6b6350be77faf46e4a
BLAKE2b-256 checksum
How to use checksums
50f06a2cd2751b83c5f05ea25fb954f78bca6ebc52a635fcb363a1fc7d6cf74d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / rihla_mcp-0.1.0-py3-none-any.whl

Download URL rihla_mcp-0.1.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80c10ae5a719f0c5b406a0b3ee7c16721c86ccf9de7707b45b6b6864b34a999e
BLAKE2b-256 checksum
How to use checksums
0c2ef4ab02c5a56b1d72f5230bbc4957ac0cfc31677dda566fb9842f94818722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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