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 · Oct 17, 2026

pi-mcp-adapter has 163,131 recorded weekly downloads on npm, a decrease of 35.6% over the past 30 days.

It ranks #391 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +267%.

PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.

Weekly downloads
163,131
Official API · Oct 17, 2026
7-day growth
-56.0%
-207.2K weekly downloads
30-day growth
-35.6%
-90.1K weekly downloads
90-day growth
+267%
+118.7K weekly downloads
Rank
#391
Among tracked npm listings

About pi-mcp-adapter

Pi MCP Adapter

Use MCP servers with Pi without burning your context window.

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

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. • Fewer tokens on everyday calls. By default, the built-in runs every MCP call as a codemode script, even a single lookup. The adapter's scripts are off by default, so a lookup is one small JSON call to the mcp tool, which cost 10–33% less in our tests. For bulk work across many records, turn scripts on with settings.scriptMode; then it costs about the same as codemode. • More servers work fully. Servers can ask you questions through forms, show interactive UIs, and offer prompt templates as slash commands. The built-in doesn't handle these. • Find tools by what you mean. The built-in's tool search only matches words. With a System One key, the adapter can also rank tools by meaning: in a test of 12 everyday requests across 95 tools, it 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 has two things the adapter doesn't: Pi's permission extensions see each MCP call as its own tool call without changes, and it sends roots (the session directory) to servers. Pi's codemode works with both.

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

| Servers running | Every enabled server, for the whole session | Only 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 minutes | Only the 3 in use, then none once they're idle | | How the model reaches tools | Default: codemode scripts. Per server: direct, or loaded by tool_search | Default: one mcp proxy tool. Per server: direct, or loaded by tool_search. Scripts: Pi's codemode (add "+codemode" to defaultTools) or the adapter's mcpScript, both opt-in | | Token cost | By default, every call is a codemode script | Compared with the built-in's default, single lookups cost 10–33% less. For bulk work, turn on scriptMode; without it, bulk tasks cost up to 7× more (measured) | | Tool search | tool_search, ranked by words | mcp({ search }) ranked by words or regex. With a System One key, semantic search ranks tools by meaning (setup) | | OAuth tokens | JSON file in ~/.pi/agent | OS keychain | | MCP prompts, elicitation, sampling, Tasks | No | Yes; Tasks need "protocolVersion": "auto" | | MCP UI apps | Left out | Native window or browser | | Add a server | pi mcp add in a shell, then /reload | Give the agent the URL: mcp({ action: "install", url }) connects it and checks its tools in the current session; for an OAuth server it opens sign-in first and checks the tools once you approve | | Configs from Cursor, Claude Code, Codex, VS Code | Convert by hand | Imported | | Guided setup in a session | No; /mcp manages servers that are already configured | /mcp-adapter setup overlay: imports configs found on your machine, adds presets (Figma desktop and RepoPrompt when installed, GitHub, Notion, Context7, DeepWiki, Parallel Search, Tavily Search, Chrome DevTools), and previews each file change before writing | | Ask before risky tools | Through a permission extension, which sees every MCP call | Built in (approveTools); permission extensions see proxy calls as the proxy tool | | Roots (session directory sent to servers) | Yes | No | | Shell commands | pi mcp add, remove, list | pi-mcp-adapter init, doctor | | Transports | stdio, streamable HTTP | stdio, streamable HTTP, legacy SSE, rmcp-mux socket |

Over a session, measured with 100 small local servers:

| 100 servers installed, 3 used | Pi's built-in MCP | pi-mcp-adapter |

| Servers running at session start | 100 | 0 | | While you use 3 | 100 | 3 | | After the idle timeout (10 min) | 100 | 0 |

Stopping a server doesn't take its tools away: the model can still search them, and a stopped server starts again on its next call (0.1–0.3 s for a small local server). For a server that must keep state between calls, set "lifecycle": "lazy-keep-alive". The first session briefly starts new servers, 10 at a time, to read their tool lists. Measurements and details.

The full comparison has every row with sources, as of Pi 0.99.2.

When you install or update the adapter, it turns Pi's built-in MCP off in Pi's settings for you (the same switch as pi config → Built-in), so the two don't both run. If you remove the adapter, turn the built-in back on there (details).

Install

Restart Pi after installation.…

Description from the npm listing.

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

Where pi-mcp-adapter sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 20, #11 (overall #391)
All npm: every listing in weekly downloads order
PNG SVG
MCP servers253 listings · 13 pages · page 2, #9 (overall #29)
MCP servers: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

pi-mcp-adapter weekly downloads on npm, last 90 days: 163,131 weekly downloads as of Oct 17, 2026, +267% over 90 days.pi-mcp-adapterWeekly downloads on npm · Last 90 days163,131downloads / week+267% over 90 days0100K200K300K400K500K600KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
pi-mcp-adapter weekly downloads on npm, last 90 days: 163,131 weekly downloads as of Oct 17, 2026, +267% over 90 days.
PNG SVG

7/30/90-day growth

pi-mcp-adapter weekly downloads growth on npm: -56.0% over 7 days, -35.6% over 30 days, +267% over 90 days.pi-mcp-adapterWeekly downloads growth on npm163,131downloads / week now7-day growth-207,230 weekly downloads-56.0%30-day growth-90,075 weekly downloads-35.6%90-day growth+118,682 weekly downloads+267%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
pi-mcp-adapter weekly downloads growth on npm: -56.0% over 7 days, -35.6% over 30 days, +267% over 90 days.
PNG SVG

Ranking history

pi-mcp-adapter npm ranking history: currently #391 (by weekly downloads).pi-mcp-adapternpm ranking · by weekly downloads · Last 90 days#391current rank#100#150#200#250#300#350#400Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
pi-mcp-adapter npm ranking history: currently #391 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (543)
Recent weekly downloads observations for pi-mcp-adapter
Date (UTC)Weekly downloadsChange vs. previous
163,131-61K
224,113-6.9K
231,005-56.1K
287,144-72.5K
359,6280
359,628-11.6K
371,196+835
370,361+14.7K
355,695-27.4K
383,132-32.4K
415,538-31.8K
447,325-85.2K
532,536-1.6K
534,097—

Similar npm MCP servers plugins

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 Oct 18, 2026. See the methodology.