Pi Lean Ctx
Verified · npm:pi-lean-ctxMCP server by yvgude · updated · ★ 3.9k · 843 downloads a week
Pi Coding Agent integration for LeanCTX Engine, the Context Gateway for AI Systems. Routes supported tools through context selection, controls, and a persistent MCP session. Pi Lean Ctx is published by npm:pi-lean-ctx from its verified domain in the official MCP Registry.
Last commit in the past day
Apache-2.0: permissive, fine for commercial use
Clear description, published package or server URL, 3,893 stars, original repository
Not checked yet. What we check
Install Pi Lean Ctx
Built from the published package, never by AIclaude mcp add pi-lean-ctx -- npx -y pi-lean-ctxRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"pi-lean-ctx": {
"command": "npx",
"args": [
"-y",
"pi-lean-ctx"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"pi-lean-ctx": {
"command": "npx",
"args": [
"-y",
"pi-lean-ctx"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"pi-lean-ctx": {
"command": "npx",
"args": [
"-y",
"pi-lean-ctx"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add pi-lean-ctx -- npx -y pi-lean-ctx{
"mcpServers": {
"pi-lean-ctx": {
"command": "npx",
"args": [
"-y",
"pi-lean-ctx"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add pi-lean-ctx npx -y pi-lean-ctxGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the pi-lean-ctx block.
Alternatives to Pi Lean Ctx
All alternatives →Integration between n8n workflow automation and Model Context Protocol (MCP)
Bundled Model Context Protocol servers for Babylon.js authoring workflows
Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code
Memory compression system for Claude Code - persist context across sessions
MCP proxy that compresses prose fields (tool descriptions, etc.) using caveman rules. Same accuracy, fewer context tokens.
Standalone Model Context Protocol client for pi and other applications
Pi Lean Ctx: common questions
How do I install Pi Lean Ctx?
In Claude Code run claude mcp add pi-lean-ctx -- npx -y pi-lean-ctx. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Pi Lean Ctx the official server?
Pi Lean Ctx is published by npm:pi-lean-ctx from its verified domain in the official MCP Registry.
Is Pi Lean Ctx free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Pi Lean Ctx safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to Pi Lean Ctx?
Similar MCP servers: N8n MCP, MCP Servers, Claude Flow CLI, Claude Mem.
Does Pi Lean Ctx work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
