Claude Connector Setup
Connect Proxiq to Claude Code, Claude Desktop, and Claude for Work as an MCP server. Gives Claude direct access to your gateway — stats, completions, cache, and routing — all from within the conversation.
Table of contents
- What this enables
- Step 1 — Start Proxiq
- Step 2 — MCP config block
- Step 3 — Where to place the config
- Step 4 — Validate
What this enables
Once connected, the Proxiq MCP server exposes these tools inside Claude:
| Tool | What it does |
|---|---|
proxiq_status |
Check if Proxiq is running — version, uptime, cache hit rate |
proxiq_metrics |
View token savings, request volume, cost breakdown |
proxiq_completion |
Make a cached, routed completion through any configured provider |
proxiq_classify |
See which model tier a prompt would be routed to (and why) |
proxiq_set_tier |
Lock the session to a specific model tier |
proxiq_clear_cache |
Clear the exact cache |
Step 1 — Start Proxiq
proxiq start
Proxiq must be running before Claude can connect to the MCP server.
Step 2 — MCP config block
Copy claude-mcp.json.example from the repo root, fill in your paths and token:
{
"mcpServers": {
"proxiq": {
"command": "/path/to/bun",
"args": ["/path/to/proxiq/packages/mcp/dist/index.js"],
"env": {
"PROXIQ_URL": "http://127.0.0.1:3099",
"PROXIQ_API_KEY": "your_proxiq_token_here"
}
}
}
}
PROXIQ_API_KEY is the Bearer token issued by your Proxiq instance. If auth.required is false in your config, you can leave it empty.
Step 3 — Where to place the config
Claude Code
Add to .claude/mcp.json in your project root:
mkdir -p .claude
# paste the mcpServers block into .claude/mcp.json
Claude Desktop
Add to claude_desktop_config.json:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
If the file does not exist, create it:
{
"mcpServers": {
"proxiq": {
"command": "/path/to/bun",
"args": ["/path/to/proxiq/packages/mcp/dist/index.js"],
"env": {
"PROXIQ_URL": "http://127.0.0.1:3099",
"PROXIQ_API_KEY": "your_proxiq_token_here"
}
}
}
}
Claude for Work (Cowork)
Add the same mcpServers block through your workspace connector settings. The connector definition is identical.
Step 4 — Validate
After reloading Claude, run:
proxiq_status— should return version, uptime, and cache hit rateproxiq_metrics— shows token savings so farproxiq_classifywith a test prompt — shows which tier it would route to
Troubleshooting
If proxiq_status returns an error:
- Confirm Proxiq is running:
proxiq statusin your terminal - Confirm Bun is installed:
bun --version - Check that
PROXIQ_URLmatches the host and port Proxiq is listening on - Use an absolute path for the
argsentry if relative paths aren’t resolving - If
auth.required: true, confirm yourPROXIQ_API_KEYis a valid token from the dashboard