AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Compare/
Alternatives to lean-ctx
lean-ctx logo

Best Alternatives to lean-ctx

Memory & Context·★ 4.0k·MIT

Reduce AI coding costs by 99% — MCP Server + Shell Hook for Cursor, Claude Code, Copilot, Windsurf, Gemini CLI & 24 tools. Single Rust binary, zero telemetry.

#agentic-coding#ai#ai-coding#claude-code#context-engineering#copilot#cursor#developer-tools
↗ Visit siteGitHub
01

Best Alternatives to lean-ctx

ToolDescriptionStarsLicenseUpdated
01claude-mem logoclaude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
★ 119.6k
Apache-2.0
1d ago
Details →
02Headroom logoHeadroom
Local context compression for tool outputs, logs and structured data, with Python, proxy and MCP integration paths.
★ 80.8k
Apache-2.0
1d ago
Details →
03letta logoletta
Letta is the platform for building stateful agents: open AI with advanced memory that can learn and self-improve over time.
★ 25.5k
Apache-2.0
1mo ago
Details →
04cognee logocognee
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free
★ 33.6k
Apache-2.0
2d ago
Details →
05planning-with-files logoplanning-with-files
Persistent file-based planning for AI coding agents and long-running tasks. Crash-proof markdown plans, session recovery after /clear and compaction, per-turn re-injection against context rot, deterministic completion gate. Manus-style. Install from npm, the Claude Code plugin marketplace, or npx skills. Codex, Cursor, OpenCode, 60+ agents.
★ 28.2k
MIT
3d ago
Details →
06mcp-memory-service logomcp-memory-service
Stop re-explaining your project to AI every session. Automatic context memory for Claude, VS Code, Cursor, and 13+ AI tools.
★ 2.2k
Apache-2.0
2d ago
Details →
07context-mode logocontext-mode
Context window optimization for AI coding agents. Sandboxes tool output, 98% reduction. 12 platforms
★ 34.5k
Elastic License 2.0
2d ago
Details →
08Acontext logoAcontext
Data platform for context engineering. Context data platform that stores, observes and learns. Join the community❤️: https://discord.acontext.io
★ 3.7k
Apache-2.0
1mo ago
Details →
02

Side-by-Side Comparison

Field
lean-ctx logolean-ctx
claude-mem logoclaude-mem
Headroom logoHeadroom
letta logoletta
CategoryMemory & ContextMemory & ContextMemory & ContextMemory & Context
Stars★ 4.0k★ 119.6k★ 80.8k★ 25.5k
LicenseMITApache-2.0Apache-2.0Apache-2.0
Updated2d ago1d ago1d ago1mo ago
Open SourceYesYesYesYes
03

Compare lean-ctx With Others

lean-ctx vs claude-mem →lean-ctx vs Headroom →lean-ctx vs letta →lean-ctx vs cognee →lean-ctx vs planning-with-files →lean-ctx vs mcp-memory-service →
04

FAQ

What is lean-ctx?
lean-ctx is an open-source MCP server designed to drastically reduce LLM token costs for AI coding tools like Claude Code, Cursor, and Copilot. It achieves this by transparently compressing CLI output and file context, offering up to 99% savings and making AI coding faster, cheaper, and more effective without changing workflows.
What is the best alternative to lean-ctx?
claude-mem is the top-rated alternative to lean-ctx in the Memory & Context category.
Is there a free alternative to lean-ctx?
claude-mem is a free, open-source alternative.
Is lean-ctx open source?
Yes, lean-ctx is open source on GitHub, licensed under MIT.
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.