Distillation Labs
Local first / Single Rust binary

Contextro

Single Rust binary. Local MCP server for Claude, Cursor, Windsurf, and other clients - search code by meaning, trace call graphs, inspect change impact, query git history, and keep memory across sessions without sending code to the cloud.

Install

npm install -g contextro npx contextro@latest published on npm · stdio + http · docker ready
43×

fewer tokens to find a function

500×

fewer tokens to trace callers

<50ms

cold start

35

MCP tools

Why it exists

Find the exact slice

Search for behavior, not filenames. Contextro narrows the problem down to the right symbol or code chunk in milliseconds.

See the change before you make it

Inspect callers, callees, impact, and commit history before renaming, deleting, or moving core code.

Keep the context window small

Return compact snippets, confidence signals, and sandboxed large outputs instead of dumping whole files into the model.

Core capabilities

Hybrid retrieval

Semantic search, BM25, graph signals, reranking, and AST-aware snippet compression in one local MCP toolchain.

Code graph awareness

Trace callers, callees, architecture hubs, and impact radius before you touch shared code or start a refactor.

Memory and knowledge

Store decisions, recover prior sessions, and index docs or notes so agents stop restarting cold.

Local-first deployment

Install via npm, use pre-built binaries, or run in Docker. Work over stdio or HTTP without shipping code to the cloud.

What you can ask

search()

Hybrid semantic + keyword + graph retrieval

impact()

Inspect blast radius before edits or refactors

code()

AST-based search, patterns, and rewrites

commit_search()

Search git history by meaning

knowledge()

Index docs and notes beside code

restore()

Recover session context and project state

Works with

Claude Code

Claude Desktop

Cursor

Windsurf

Generic MCP clients

Docker / HTTP deployments

For large repositories

Search without brute-force reading

Hybrid retrieval and compact responses reduce how much irrelevant code an agent needs to scan before it can act.

For refactors

Check blast radius before edits

Call graph traversal, impact analysis, and git-aware search make shared changes safer before you touch production code.

For rollouts

Install it how your team works

Use the npm package, pre-built binaries, or the Docker image and keep the same local-first workflow across laptops and services.

Next step

Go from overview to implementation

Start with the docs for install options, MCP client setup, `CTX_` configuration, transport modes, and the command reference.