Rihla MCP Server
by leojgio.github.leojg/rihlav0.1.0
Flexible multi-leg, multi-airport flight search - cheapest valid combination across an itinerary.
context tax
queued
security
queued
cold start
queued
freshness
Slowing3mo ago
Install Rihla MCP server
Install in Claude Code
claude mcp add rihla -e TRAVELPAYOUTS_TOKEN='<travelpayouts-token>' -e SERPAPI_KEY='<serpapi-key>' -- uvx rihla-mcpInstall in Cursor
{
"mcpServers": {
"rihla": {
"command": "uvx",
"args": [
"rihla-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<travelpayouts-token>",
"SERPAPI_KEY": "<serpapi-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"rihla": {
"command": "uvx",
"args": [
"rihla-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<travelpayouts-token>",
"SERPAPI_KEY": "<serpapi-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"rihla": {
"type": "stdio",
"command": "uvx",
"args": [
"rihla-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<travelpayouts-token>",
"SERPAPI_KEY": "<serpapi-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"rihla": {
"command": "uvx",
"args": [
"rihla-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<travelpayouts-token>",
"SERPAPI_KEY": "<serpapi-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| TRAVELPAYOUTS_TOKEN | — | yes | Travelpayouts Data API token (free) - the primary price source. Without any keys the server runs on offline mock data. |
| SERPAPI_KEY | — | yes | SerpApi key (optional, 250 free searches/mo) - fills routes Travelpayouts misses with bookable Google Flights fares. |
| RIHLA_PROFILE | — | — | Source profile: 'local' (all configured sources), 'hosted' (redistribution-licensed only), or 'mock' (offline). |
Freshness
Slowing — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-03 · 3mo ago · GitHub
Latest release
2026-07-03 · 3mo ago · GitHub · v0.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-07-03 · 3mo ago · official registry · v0.1.0
FAQ
›How do I install the Rihla MCP server in Claude Code?
Run: claude mcp add rihla -e TRAVELPAYOUTS_TOKEN='<travelpayouts-token>' -e SERPAPI_KEY='<serpapi-key>' -- uvx rihla-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Rihla require an API key?
Yes. It expects TRAVELPAYOUTS_TOKEN, SERPAPI_KEY, of which 2 are secrets.
›Can I use Rihla as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Rihla in the official MCP registry?
Yes, as io.github.leojg/rihla.
Alternatives to Rihla
Other travel & transport MCP servers.