Meaning-aware code search for Claude Code, Cursor, and any MCP client. Not grep.
MIT open source
One MCP config and your agent searches by meaning instead of grepping — watch it map a feature across the repo in seconds.
So your agent spends tokens on the right code, not on grepping.
Find code by what it does, not by keyword.
Everything stays in ~/.clean/. No keys, no telemetry.
Drops into any MCP client over stdio. One line of config.
Point it at a local folder or a public GitHub repo.
Real AST parsing for Python, JS, and TS — not regex.
Every result carries its callers and callees.
Same search either way — your laptop or our cloud.
Runs entirely on your laptop. Indexes stay in ~/.clean/ — no account, no keys.
git clone https://github.com/cleanmcp/clean-mcp.git python -m pip install -e ".[dev]" claude mcp add clean -- python -m clean.local.mcp_server
Managed indexing and shared context for your team. Zero setup, always warm.
{
"mcpServers": {
"clean": {
"command": "npx",
"args": ["-y", "mcp-remote",
"https://api.tryclean.ai/mcp/sse",
"--header", "Authorization:Bearer <key>"]
}
}
}Self-host in a minute, or skip setup with the cloud.