mcp-server

LeanCTX: Control AI Visibility

Get token-optimized AI control with LeanCTX, for founders using AI agents in their startup.
3,570 stars323 forksRustGuide quality 8/10Updated 8/13/2026100% free · open source
What it does

LeanCTX is a context intelligence layer that controls what AI agents can see, remember, and save, optimizing token usage by 60-90%.

When to use it
  • When integrating multiple AI agents into a startup's workflow
  • When sensitive data needs to be protected from unauthorized AI access
  • When optimizing token usage is crucial for cost reduction
Ready-to-paste prompt
Run `./target/release/lean-ctx --config lean-ctx.conf --agent my_agent` to start the LeanCTX server with a custom configuration for a specific AI agent
Heads up: Ensure the `RUST_LOG` environment variable is set to the desired log level (e.g., `RUST_LOG=info`) to avoid silent failures or unexpected behavior
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/lean-ctx && curl -fsSL https://workflowstacks.com/api/skills/lean-ctx/claude-skill -o ~/.claude/skills/lean-ctx/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

What's inside — free to inspect

No purchase needed

Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.

30
top-level files
23
folders
186.5M
source size
Apache-2.0
license
Key files
.pre-commit-config.yaml
AGENTS.md
README.md
File tree
_archive/
.claude-plugin/
.codex/
.cursor/
.githooks/
.github/
.kiro/
.vscode/
assets/
aur/
bin/
clients/
cookbook/
docs/
examples/
integrations/
kits/
packages/
rust/
scripts/
security/
skills/
tests/
.clinerules
Quick Actions
Details
Creator
yvgude
Language
Rust
Category
mcp-server
Published
3/23/2026

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.