Skip to content
Grok

rihla for Grok

io.github.leojg/rihla

Flexible multi-leg, multi-airport flight search - cheapest valid combination across an itinerary.

client:Grok transport:stdio runtime:pypi

Install rihla in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "rihla": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "rihla-mcp"
      ],
      "env": {
        "TRAVELPAYOUTS_TOKEN": "<TRAVELPAYOUTS_TOKEN>",
        "SERPAPI_KEY": "<SERPAPI_KEY>",
        "RIHLA_PROFILE": "<RIHLA_PROFILE>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

rihla in other clients