Packages npm pi-lean-ctx Package · npm
pi-lean-ctx npm · v3.10.5 · Apache-2.0
Pi Coding Agent extension — routes bash/read/grep/find/ls through lean-ctx for strong token savings. The embedded MCP bridge (on by default) adds a persistent session cache so unchanged re-reads cost ~13 tokens.
Tentative categories were assigned with moderate confidence (0.5 to 0.75): they are shown, but they do not count toward a category’s momentum. How categories work
Install npm install pi-lean-ctxCopy Adoption
Downloads (30 days) 4.7K Observed downloads / 30 days
Popularity Lower half on npm Derived 9th percentile within npm
Dependents Collecting history Collecting
Maintenance 0.97 Derived Release cadence and recency, 0 to 1
Releases per year 259 131 versions over its life Growth by period Derived by Crest of Tech from two observations of npm’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.
7 days +2.9% · 7d Derived +133 downloads / 30 days, SEP 30 → OCT 7
30 days +18.8% · 30d Derived +742 downloads / 30 days, SEP 7 → OCT 7
90 days −47.3% · 90d Derived −4.2K downloads / 30 days, JUL 6 → OCT 7
1 year +4.7K · 1y Derived +4.7K downloads / 30 days, NOV 10 → OCT 7 Adoption history Adoption historydownloads / 30 days · 31 observations
30d 90d 1y 2y 4.8K 3.7K SEP 7, 2026: 3,953 downloads / 30 days SEP 8, 2026: 3,783 downloads / 30 days SEP 9, 2026: 3,768 downloads / 30 days SEP 10, 2026: 3,708 downloads / 30 days SEP 11, 2026: 3,691 downloads / 30 days SEP 12, 2026: 3,754 downloads / 30 days SEP 13, 2026: 3,990 downloads / 30 days SEP 14, 2026: 4,042 downloads / 30 days SEP 15, 2026: 3,977 downloads / 30 days SEP 16, 2026: 4,144 downloads / 30 days SEP 17, 2026: 4,162 downloads / 30 days SEP 18, 2026: 3,990 downloads / 30 days SEP 19, 2026: 4,080 downloads / 30 days SEP 20, 2026: 4,182 downloads / 30 days SEP 21, 2026: 4,219 downloads / 30 days SEP 22, 2026: 4,257 downloads / 30 days SEP 23, 2026: 4,251 downloads / 30 days SEP 24, 2026: 4,270 downloads / 30 days SEP 25, 2026: 4,193 downloads / 30 days SEP 26, 2026: 4,214 downloads / 30 days SEP 27, 2026: 4,468 downloads / 30 days SEP 28, 2026: 4,429 downloads / 30 days SEP 29, 2026: 4,474 downloads / 30 days SEP 30, 2026: 4,562 downloads / 30 days OCT 1, 2026: 4,609 downloads / 30 days OCT 2, 2026: 4,641 downloads / 30 days OCT 3, 2026: 4,705 downloads / 30 days OCT 4, 2026: 4,695 downloads / 30 days OCT 5, 2026: 4,826 downloads / 30 days OCT 6, 2026: 4,510 downloads / 30 days OCT 7, 2026: 4,695 downloads / 30 days SEP 7 SEP 22 OCT 7
Table of observations (31) Day downloads / 30 days Dependents OCT 7, 2026 4,695 Not observed OCT 6, 2026 4,510 Not observed OCT 5, 2026 4,826 Not observed OCT 4, 2026 4,695 Not observed OCT 3, 2026 4,705 Not observed OCT 2, 2026 4,641 Not observed OCT 1, 2026 4,609 Not observed SEP 30, 2026 4,562 Not observed SEP 29, 2026 4,474 Not observed SEP 28, 2026 4,429 Not observed SEP 27, 2026 4,468 Not observed SEP 26, 2026 4,214 Not observed SEP 25, 2026 4,193 Not observed SEP 24, 2026 4,270 Not observed SEP 23, 2026 4,251 Not observed SEP 22, 2026 4,257 Not observed SEP 21, 2026 4,219 Not observed SEP 20, 2026 4,182 Not observed SEP 19, 2026 4,080 Not observed SEP 18, 2026 3,990 Not observed SEP 17, 2026 4,162 Not observed SEP 16, 2026 4,144 Not observed SEP 15, 2026 3,977 Not observed SEP 14, 2026 4,042 Not observed SEP 13, 2026 3,990 Not observed SEP 12, 2026 3,754 Not observed SEP 11, 2026 3,691 Not observed SEP 10, 2026 3,708 Not observed SEP 9, 2026 3,768 Not observed SEP 8, 2026 3,783 Not observed SEP 7, 2026 3,953 Not observed
Facts from the registry
Latest version v3.10.5 131 versions
First published MAR 26, 2026
Last release SEP 27, 2026 27d ago
Licence Apache-2.0 Repository In the Crest catalog
LeanCTX — Context Gateway for AI systems.
Language Rust
Last push 22d ago
Last release 27d ago Dependencies latest version · v3.10.5 Peer 3 @earendil-works/pi-coding-agent >=0.74.0@earendil-works/pi-tui *typebox ^1.0.0lean-ctx-bin LeanCTX — a local Context SDK for AI agents. Select, shape, reuse, recover, and measure context before inference. No Rust required. npmPublished from the same repository lean-ctx-client Thin, dependency-free Python client for the lean-ctx HTTP /v1 contract PyPIPublished from the same repository lean-ctx-python SDK for lean-ctx — context compression and execution evidence for AI agents PyPIPublished from the same repository lean_ctx Local context engine, CLI, MCP server, and proxy for AI agents. crates.ioPublished from the same repository lean_ctx_ocla Open Context & Token Lifecycle Architecture — the stable, provider-neutral contract boundary (14 traits, canonical types, token envelopes) shared between lean-ctx-core (OSS) and lean-ctx-enterprise (proprietary). crates.ioPublished from the same repository lean_ctx_protocol Open wire contracts for lean-ctx: events, observations, assignments, evidence gaps. crates.ioPublished from the same repository ha-mcp-dev Home Assistant MCP Server - Complete control of Home Assistant through MCP PyPISame primary category probe-research CLI + SDK + read-only MCP client for Probe Research (experiment tracking). PyPISame primary category simpleaible SimpleAIBLE is an AI-friendly BLE toolkit (MCP server & REST API) powered by SimplePyBLE. PyPISame primary category pyscn-mcp MCP (Model Context Protocol) server for pyscn Python code analyzer PyPISame primary category godot-ai Production-grade MCP server and AI tools for the Godot engine PyPISame primary category airbyte-internal-ops MCP and API interfaces that let the agents do the admin work PyPISame primary category Related news No published news event mentions this package or its repository yet.