Connect to Claude Code

Add ToolRouter to Claude Code with a single terminal command. No config files to edit.

Before you start

You need Node.js 18+ installed. If you are not sure, visit nodejs.org and install the LTS version — this also installs npx automatically.

How do I add ToolRouter to Claude Code?

Open the Terminal app on Mac (or Command Prompt on Windows) and paste this command:

bash
claude mcp add toolrouter -- npx -y toolrouter-mcp

Restart Claude Code. Tools will appear automatically in your agent's tool list.

No API key needed — your account is created automatically on first use.

How do I verify the connection?

Type /mcp in Claude Code to see all connected MCP servers. ToolRouter should appear in the list with its tools.

You can also test with a free tool. Back in your terminal, run:

bash
npx -y toolrouter-mcp call weather-forecast current_weather --location London

Can I also use Claude chat and desktop?

Yes. For Claude chat, desktop, and mobile, add ToolRouter as a connector instead — see Connect to Claude. The connector method does not require Node.js and works across all Claude apps.