claude mcp add command and reads the key from your shell. Claude Desktop and claude.ai reach the same server as a custom connector, with the key stored as a request header. Both use https://api.routeur.app/mcp and the same API key as REST.
Claude Code
Export the key, then add the server.--transport http is the Streamable HTTP transport; --header is sent on every request.
The project form, with the key expanded from the environment at load time:
.mcp.json
${VAR} and ${VAR:-default} in .mcp.json. Syntax and scopes are from code.claude.com/docs/en/mcp, checked on 2026-09-17.
Verify
/mcp lists the connected servers, their tools and lets you reconnect after rotating a key. Then ask for something only Routeur knows:
search_markets (query detroit buffalo total points, cross_venue: true), then compare_venues with the event it found. The observed result on 2026-09-17, trimmed:
observed_at of each price, and does not call a 1¢ gap money without checking find_opportunities.
Claude Desktop and claude.ai
Remote servers are added as custom connectors, not inclaude_desktop_config.json (that file only launches local stdio servers; see the alternative below). Custom connectors are available on Free, Pro, Max, Team and Enterprise plans, and the connection is made from Anthropic’s cloud, which reaches api.routeur.app without any change on your side.
- Open Customize > Connectors (Team and Enterprise owners: Organization settings > Connectors, then Add > Custom, type Web).
- Click Add custom connector. Name it
Routeur; MCP server URLhttps://api.routeur.app/mcp. - Under Authentication choose No sign-in: Routeur authenticates with an API key, not OAuth.
- Open Request headers, pick
authorizationfrom the list, and enter the value exactly asBearer rk_live_..., including the wordBearerand the space. Claude sends the value verbatim and stores it without showing it again. Mark the header Required. - Click Add, then enable Routeur for a conversation from the + menu under Connectors.
scan_for_mispricings, brief_me_on_event, backtest_price_band) and resources appear in the same + menu. Steps and field names are from claude.com/docs/connectors/custom/remote-mcp, checked on 2026-09-17.
Request-header authentication is marked as beta by Anthropic and rolling out by organisation. If the Request headers section is missing from your dialog, use the
mcp-remote configuration below, which runs on your machine and adds the header itself.If your client only launches local servers
claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%\Claude\claude_desktop_config.json) can launch mcp-remote, which bridges stdio to the remote server. The header is passed through an environment variable because some clients mangle spaces inside args:
claude_desktop_config.json
Getting good answers
- Start a pricing session by having Claude read
routeur://concepts/pricesandrouteur://concepts/relations; they cost nothing and stop the usual misreadings (spread as edge, “not proven” as “unrelated”). - Ask for ids: every tool returns
venueandid, andexplain_relation,market_snapshot,get_market_bookandget_market_rulestake them. Titles are not ids. - Composed tools cost several requests (
market_snapshotfive,find_opportunitiesup to four). On a free key (30 per minute, 2,000 per day) ask for one scan at a time. - Put the ten facts in
CLAUDE.mdor the project’s instructions if the project is about market data; the server’s owninstructionscover only the three most important.
Related
- Any MCP client: the protocol by hand, and
mcp-remotein detail. - Agent workflows: the tool sequences Claude runs for common questions.
- Tool reference: every tool Claude sees, with arguments and cost.
- Rate limits: what a key allows per minute and per day.