# Pi Claude Bridge

> Use Claude subscription models in Pi through Claude Code.

- **URL**: https://followmcp.com/en/servers/pi-claude-bridge
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 880
- **FMRS Score**: 56/100 (Grade C)
- **Source**: https://github.com/elidickinson/pi-claude-bridge

- **Runtimes**: Node.js
- **Auth**: API key / credential required

## Overview
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.

## 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.

## Not for
- People looking for an MCP server or MCP client connection.
- People who need Claude Code permission rules or PreToolUse hooks to restrict tool execution.
- People relying on extensions that change Pi's system prompt or message history each turn and need seamless compatibility with Claude Code sessions.

## Required permissions
- Requires access to a Claude Code login and subscription quota.
- Bridge session pointers, content digests, and record IDs are stored in Pi's agent directory; the Claude Code child process inherits Pi's environment.
- Hooks in Claude Code user settings run during bridge turns; tool permissions should be managed on the Pi side.

## Risks
- The author says the bridge currently uses regular subscription quota, but billing policies may change.
- Rewritten history can prevent cache reuse, and file snapshots in rewritten portions may be lost.
- Changes to instructions or extension prompts trigger a new session and resend uncached history; some extensions that inject a message on every request can prevent cache reuse.
- Running the same Pi session simultaneously in multiple bridge processes is unsupported.
- Anthropic environment variables can override the Claude Code child configuration; Claude Code permission rules and PreToolUse hooks should not be relied on to restrict tools.
