Skip to content
PluginStats

pi-mcp-adapter weekly downloads statistics

By nicobailon · npm · MCP servers

MCP (Model Context Protocol) adapter extension for Pi coding agent

View on npm Fresh · Dec 6, 2026

pi-mcp-adapter has 361,117 recorded weekly downloads on npm, a decrease of 17.9% over the past 30 days, ranking #440 of 3,247 tracked listings.

Weekly downloads
361,117
Official API · Dec 5, 2026
7-day growth
+0.0%
+73 weekly downloads
30-day growth
-17.9%
-78.8K weekly downloads
90-day growth
+40.5%
+104.1K weekly downloads
Rank
#440
▼ 11 in 7 days

About pi-mcp-adapter

<p> <img src="banner.png" alt="pi-mcp-adapter" width="1100"> </p>

Pi MCP Adapter

Use MCP servers with Pi without burning your context window.

https://github.com/user-attachments/assets/4b7c66ff-e27e-4639-b195-22c3db406a5a

What's new in 7.0

https://github.com/user-attachments/assets/a3fc7834-2540-45b6-a80e-d9c17125a66c

On servers that support MCP Tasks, add "protocolVersion": "auto" and slow tools run in the background while the agent keeps working. Tool search can rank tools by meaning and send full schemas only for the ones that fit. And extract hands the agent just the values it asked for from a long result. Everything else is in the changelog.

Why This Exists

Mario wrote about why you might not need MCP. The problem: tool definitions are verbose. A single MCP server can burn 10k+ tokens, and you're paying that cost whether you use those tools or not. Connect a few servers and you've burned half your context window before the conversation starts.

His take: skip MCP entirely, write simple CLI tools instead.

But the MCP ecosystem has useful stuff - databases, browsers, APIs. This adapter gives you access without the bloat. One proxy tool (~200 tokens) instead of hundreds. The agent discovers what it needs on-demand. Servers only start when you actually use them.

pi-mcp-adapter vs Pi's built-in MCP

Since then, Pi 0.99 added MCP support of its own, which also keeps tool definitions out of context. Installing the adapter replaces it in Pi sessions. What you get by switching:

  • Install many servers without paying for idle ones. The built-in starts every enabled server in every Pi session and keeps it running until the session ends. By default, the adapter starts a server when the model first calls it and stops it after 10 idle minutes.
  • More servers work fully. Servers can ask you questions through forms, show interactive UIs, offer prompt templates as slash commands, and run long jobs in the background while the agent keeps working. The built-in doesn't handle these.
  • Find tools by what you mean. The built-in's tool search only matches words. The adapter can also rank tools by meaning with a classifier model you can already use in Pi, such as Jev or Cloudflare's Clef: in a test of 12 everyday requests across 95 tools, Jev put the right tool first in 10 of 11, where word search did in 5.
  • Sign-in tokens go in your OS keychain by default (an encrypted file is opt-in), not in a plain JSON file under ~/.pi/agent.
  • Adding servers is easier. Give the agent a server's URL and it installs it and checks its tools in the same session, opening sign-in first if the server needs it, with no shell command or /reload. Servers already configured in Cursor, Claude Code, Codex, or VS Code can be imported with /mcp-adapter setup, which also adds presets such as Figma and GitHub.

The built-in turns codemode on by itself; with the adapter, add "+codemode" to defaultTools in Pi's settings. Pi's codemode works with both.

Pi's built-in MCPpi-mcp-adapter
Servers runningEvery enabled server, for the whole sessionOnly servers in use; each stops after 10 idle minutes
Server memory (100 installed, 3 in use)7.0 GB at start, 5.9 GB after 15 minutesOnly the 3 in use, then none once they're idle
How the model reaches toolsDefault: codemode scripts. Per server: direct, or loaded by tool_searchDefault: one mcp proxy tool. Per server: direct, or loaded by tool_search. Scripts: Pi's codemode, opt-in (add "+codemode" to defaultTools) (MCP scripting)
Token costBy default, every call is a codemode scriptSingle lookups cost about the same as the built-in's default. Bulk tasks cost up to 5.5× more without scripts, and up to 2.9× more with Pi's codemode turned on (measured)
Tool searchtool_search, ranked by wordsmcp({ search }) ranked by words or regex. With a classifier model in Pi, such as Jev through /login to OpenRouter, semantic search ranks tools by meaning (setup)
Long tool resultsA codemode script can filter a result before the model sees itOpt-in per server: mcp({ tool, args, extract: { total: "number" } }) returns only the values you name, as numbers and dates read by Cloudflare's Clairic model with your Cloudflare credentials in Pi; the full result is saved to a file (Typed values)
Saved workflows as toolsNoA workflow you repeat becomes one tool with fixed inputs: a saved script that calls MCP and Pi tools, found by search and called like any other tool (scriptTools, Script tools)
Executor app toolsOnly Executor's own six tools; the model reaches app tools through Executor's search and callEach tool of your Executor apps is a Pi tool, found by search and called by name with Pi's approvals (Executor app tools)
OAuth tokensJSON file in ~/.pi/agentOS keychain
MCP prompts, elicitation, sampling, TasksNoYes; Tasks run in the background and need "protocolVersion": "auto"
MCP UI appsLeft outNative window or browser
Add a serverpi mcp add in a shell, then /reloadGive the agent the URL: mcp({ action: "install", url }) connects it and…

Description from the npm listing.

  • pi-package
  • pi
  • mcp
  • model-context-protocol
  • ai
  • coding-agent
  • extension
  • claude
  • llm

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-mcp-adapter weekly downloads on npm, last 90 days: 361,117 weekly downloads as of Dec 5, 2026, +40.5% over 90 days.pi-mcp-adapterWeekly downloads on npm · Last 90 days361,117downloads / week+40.5% over 90 days0200K400K600K800KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
pi-mcp-adapter weekly downloads on npm, last 90 days: 361,117 weekly downloads as of Dec 5, 2026, +40.5% over 90 days.

7/30/90-day growth

pi-mcp-adapter weekly downloads growth on npm: +0.0% over 7 days, -17.9% over 30 days, +40.5% over 90 days.pi-mcp-adapterWeekly downloads growth on npm361,117downloads / week now7-day growth+73 weekly downloads+0.0%30-day growth-78,774 weekly downloads-17.9%90-day growth+104,081 weekly downloads+40.5%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
pi-mcp-adapter weekly downloads growth on npm: +0.0% over 7 days, -17.9% over 30 days, +40.5% over 90 days.

Ranking history

pi-mcp-adapter npm ranking history: currently #440 (by weekly downloads).pi-mcp-adapternpm ranking · by weekly downloads · Last 90 days#440current rank#100#150#200#250#300#350#400#450Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
pi-mcp-adapter npm ranking history: currently #440 (by weekly downloads).

Listing placement

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

Listing placement

MCP servers468 listings · 24 pages · page 2, #13 (overall #33)
MCP servers: 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 (592)
Recent weekly downloads observations for pi-mcp-adapter
Date (UTC)Weekly downloadsChange vs. previous
361,117-29.3K
390,383+32.5K
357,923+43K
314,923-4.4K
319,325+10.1K
309,244-25.5K
334,789-26.3K
361,044-73.7K
434,782-81.3K
516,102-60K
576,053-51.3K
627,346+1.5K
625,855+19.2K
606,623—

Similar npm MCP servers plugins

All 20 pi-mcp-adapter 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-mcp-adapter. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.