Skip to content
PluginStats

pi-claude-bridge weekly downloads statistics

By elidickinson (2 listings) · npm · Claude Code

Pi extension that uses Claude Code (via Agent SDK) as a model provider.

View on npm Fresh · Dec 6, 2026

pi-claude-bridge has 70,403 recorded weekly downloads on npm, an increase of 251% over the past 30 days, ranking #702 of 3,247 tracked listings.

Weekly downloads
70,403
Official API · Dec 5, 2026
7-day growth
+3.9%
+2.6K weekly downloads
30-day growth
+251%
+50.3K weekly downloads
90-day growth
+556%
+59.7K weekly downloads
Rank
#702
▼ 1 in 7 days

About pi-claude-bridge

pi-claude-bridge

npm version npm downloads

Use Claude models in pi with your Claude subscription.

Is this allowed? Yes, as far as I can tell. Anthropic at one point announced and then unannounced a billing change for Agent SDK tools like this one. Things could change again, but right now the bridge uses your regular subscription quota just like Claude Code.

[!NOTE] There's another good option: the pi maintainers have another Claude Code provider:pi-claude-code.

  • pi-claude-bridge (this extension) runs Claude Code through the official Agent SDK and spends a lot of effort keeping pi's message history in sync with CC's session on disk.
    • Tradeoff: More complex and doesn't always play nicely with extensions that change pi's system prompt mid-session or alter message history.
  • pi-claude-code runs claude -p for each turn and puts a local proxy in front of CC to rewrite requests before they get to Anthropic. Simpler and more compatible design.
    • Tradeoff: manipulating API requests on the wire is less clearly within Anthropic's TOS. CC updates may also introduce breaking changes without warning.
<p> <a href="assets/claude-bridge1.png"><img src="assets/claude-bridge1.png" width="49%" alt="Claude Opus running in pi with access to pi's tools"></a>&nbsp; <a href="assets/claude-bridge2.png"><img src="assets/claude-bridge2.png" width="49%" alt="Another pi model delegating a question to Claude with AskClaude"></a> </p>

Install

The bridge needs pi 1.5.1 or newer.

  1. Install the extension:
    pi install npm:pi-claude-bridge
    
  2. Log in to Claude Code with your Claude subscription: run claude auth login. The bridge uses Claude Code's login, not pi's /login.
  3. In pi, pick a claude-bridge/... model with /model, e.g. claude-bridge/claude-opus-5-5. Don't pick the anthropic/... models: those are pi's own Anthropic provider and don't go through Claude Code or your subscription.
Optional: AskClaude

To let other providers delegate tasks or questions to Claude Code, install the AskClaude tool: pi install npm:pi-claude-bridge-askclaude (askclaude/).

Usage

The model list comes from pi-ai's Anthropic catalog automatically. When pi-ai adds a new Claude model, it appears in /model after you update the package; no bridge update is needed. Dated snapshot ids (e.g. claude-opus-4-5-20251101) are not shown.

Claude Mythos 5.2 and 5.1 are listed too (at the bottom), though pi-ai leaves them out. Anthropic serves Mythos only to approved programs, so on accounts without access requests fail with a 404 "There's an issue with the selected model".

All current models run with 1M context. Opus 4.6 and Sonnet 4.6 need extra settings for 1M (see Configuration).

pi's tools are bridged to Claude Code, but you continue to use pi as usual:

  • Bash commands get Claude Code's 120-second default timeout since Claude expects it but pi's bash has no default limit.
  • Skills are forwarded to Claude Code's system prompt.
  • Steering mid-turn works and reaches Claude at the next tool boundary.

Configuration

Create ~/.pi/agent/claude-bridge.json

{
  "provider": {
    "strictMcpConfig": true,
    "pathToClaudeCodeExecutable": "/home/you/.nix-profile/bin/claude"
  }
}
Provider options
  • strictMcpConfig - block MCP servers from ~/.claude.json / .mcp.json (default true). Cloud MCP (Gmail/Drive via claude.ai OAuth) is always blocked.
  • autoMemoryEnabled - enable Claude Code's auto-memory system (default false).
  • systemPromptPreset - Claude Code's own system prompt goes in front, with pi's whole prompt appended (default "claude_code"). Set to false to make pi's prompt the whole system prompt.
  • pathToClaudeCodeExecutable - path to the claude binary. Useful if your OS/filesystem has the SDK's bundled musl/glibc binaries in a place where they can't run. For example, with Nix you can set the binary to "/home/you/.nix-profile/bin/claude".
  • forceTwoHundredK - array of model ids to pin to 200K context (bare id, no [1m] suffix). Use if pi-ai declares a model at 1M but Claude Code won't serve it on your plan.
  • plan - set to "max" on a Max (or Team Premium/Enterprise) plan to run Opus 4.6 with 1M context (default "pro").
  • longContextExtraUsage - set to true to run Opus 4.6 (on Pro) and Sonnet 4.6 with 1M context, billed through Extra Usage.
Model overrides

pi's modelOverrides in ~/.pi/agent/models.json do not work correctly with pi-claude-bridge; they only apply to pi-side settings like compaction threshold. Overriding contextWindow or other fields requires editing src/models.ts directly. To pin a model to 200K, use provider.forceTwoHundredK instead.

Environment variables

Claude Code inherits pi's environment. To set variables only for bridge requests (a proxy, a gateway, Bedrock settings), add an env object to a claude-bridge credential in ~/.pi/agent/auth.json:

  • Values override pi's environment.
  • An empty value removes the variable.
  • Extensions calling a bridge model can pass env per request the same way.

CLAUDE_CONFIG_DIR, HOME and USERPROFILE can't be set there (the turn fails), since the bridge reads Claude Code's session files through pi's own values.

This example sends bridge requests through a proxy and keeps an exported gateway (issue #107) away from Claude Code, so it uses your Claude login:…

Description from the npm listing.

  • pi-package
  • pi
  • extension
  • claude-code
  • claude-agent-sdk

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

pi-claude-bridge weekly downloads on npm, last 90 days: 70,403 weekly downloads as of Dec 5, 2026, +556% over 90 days.pi-claude-bridgeWeekly downloads on npm · Last 90 days70,403downloads / week+556% over 90 days020K40K60K80KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
pi-claude-bridge weekly downloads on npm, last 90 days: 70,403 weekly downloads as of Dec 5, 2026, +556% over 90 days.

7/30/90-day growth

pi-claude-bridge weekly downloads growth on npm: +3.9% over 7 days, +251% over 30 days, +556% over 90 days.pi-claude-bridgeWeekly downloads growth on npm70,403downloads / week now7-day growth+2,647 weekly downloads+3.9%30-day growth+50,325 weekly downloads+251%90-day growth+59,673 weekly downloads+556%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
pi-claude-bridge weekly downloads growth on npm: +3.9% over 7 days, +251% over 30 days, +556% over 90 days.

Ranking history

pi-claude-bridge npm ranking history: currently #702 (by weekly downloads).pi-claude-bridgenpm ranking · by weekly downloads · Last 90 days#702current rank#650#700#750#800#850#900#950#1000#1050Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 43 observations · Updated Dec 5, 2026pluginstats.com
pi-claude-bridge npm ranking history: currently #702 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 36, #2 (overall #702)
All npm: every listing in weekly downloads order

Listing placement

Claude Code614 listings · 31 pages · page 1, #8 (overall #8)
Claude Code: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for pi-claude-bridge
Date (UTC)Weekly downloadsChange vs. previous
70,403-9.2K
79,614+3.1K
76,525+2K
74,547+1.3K
73,283+1.8K
71,442+3.3K
68,139+383
67,756+3.4K
64,347+4.6K
59,786+4.3K
55,534+3.6K
51,898+2.1K
49,812+1.7K
48,103—

Similar npm Claude Code plugins

All 20 pi-claude-bridge alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/pi-claude-bridge. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.