Best for
- People using Pi 1.5.1 or newer with a Claude subscription.
- People who want Claude Code to use Pi tools and skills.
This is not a typical connect-and-use MCP server; read the source repository before using it.
This is a Claude Code inference-provider extension for Pi, not an MCP server. It uses Claude Code login and subscription quota and forwards Pi tools and skills, with documented session-sync and extension-compatibility limitations.
Strongest · Documentation 14/20 Weakest · Reliability 10/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js
ANTHROPIC_API_KEY
Optional Anthropic API key variable; blank it in the credential env to prevent an exported value from affecting bridge calls.
ANTHROPIC_AUTH_TOKEN
Optional Anthropic auth token variable; blank it in the credential env to prevent an exported value from affecting bridge calls.
PI_CODING_AGENT_DIR
pi agent directory used for session data and debug logs; defaults to ~/.pi/agent.
PI_CODING_AGENT
Marker variable pi sets for child processes; Claude Code hooks can check it to skip themselves.
HTTPS_PROXY
Optional HTTPS proxy address; set in the env object of a claude-bridge credential.
ANTHROPIC_BASE_URL
Optional Anthropic API base URL; blank it in the credential env to prevent an exported value from affecting bridge calls.
CLAUDE_CONFIG_DIR
Claude Code config directory variable; the credential env cannot override it.
HOME
User home directory variable; the credential env cannot override it.
USERPROFILE
User profile directory variable; the credential env cannot override it.
CLAUDE_BRIDGE_DEBUG
Set to 1 to enable bridge debug output.
CLAUDE_BRIDGE_DEBUG_PATH
Optional variable to override the bridge log location.
CLAUDE_BRIDGE_TESTING_ALT_MODEL
Set in .env.test for integration smoke tests that require another model.
Requires Pi 1.5.1 or newer. Install the extension in Pi with pi install npm:pi-claude-bridge, then log in to Claude Code with claude auth login. Choose a claude-bridge/... model in Pi's /model menu. Optional: install the AskClaude tool with pi install npm:pi-claude-bridge-askclaude.
Select a claude-bridge/... model in pi and send a request; receiving a Claude response confirms the bridge is working.
Pi Claude Bridge is a Claude Code inference-provider extension for Pi. It connects Claude Code through the Anthropic Agent SDK and uses Claude subscription quota. It synchronizes session history between Pi and Claude Code and forwards Pi tools and skills to Claude Code. It is not an MCP server.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision bc46bc86459a Data synced 2026-12-05 Read the FMRS scoring method Markdown