LLM Context Manager MCP Server & CLI wrapper using npx
LLM Context Manager MCP Server & CLI wrapper using npx. The context mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 9 defined tools rather than through you.
Modern AI coding assistants (Claude, Cursor, Windsurf) are powerful but suffer from blindness:
Everything the assistant can do here goes through one of these:
search_code — Hybrid semantic + graph searchget_context — Cursor-based retrievalfind_nodes — Find nodes by name or pathread_graph — Inspect a specific node by IDindex_project — Refresh the project indexfind_usages — Find all callers of a nodetrace_call_chain — BFS call chain between two nodesimpact_of_change — Blast radius of a file changediff_context — Recently changed code via gitInstallation goes through your MCP client rather than a global install: point it at @senoldogann/context-manager on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
You will need 4 environment variables: EMBEDDING_HOST, EMBEDDING_API_KEY, CCM_DB_PATH, OPENAI_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Context's toolset — search_code, get_context, find_nodes and 6 more — is a fair guide to whether it matches your workflow. It is maintained by senoldogann; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| search_code | Hybrid semantic + graph search |
| get_context | Cursor-based retrieval |
| find_nodes | Find nodes by name or path |
| read_graph | Inspect a specific node by ID |
| index_project | Refresh the project index |
| find_usages | Find all callers of a node |
| trace_call_chain | BFS call chain between two nodes |
| impact_of_change | Blast radius of a file change |
| diff_context | Recently changed code via git |
{
"mcpServers": {
"context-manager": {
"command": "npx",
"args": ["-y", "@senoldogann/context-manager"],
"env": {
"EMBEDDING_HOST": "your-value",
"EMBEDDING_API_KEY": "your-value",
"CCM_DB_PATH": "your-value",
"OPENAI_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| EMBEDDING_HOST | Endpoint or connection string the server talks to. | Optional |
| EMBEDDING_API_KEY | Credential the server authenticates with. | Yes |
| CCM_DB_PATH | Filesystem location the server is allowed to use. | Optional |
| OPENAI_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.