Best for
- Developers working on large codebases
- Teams needing highly accurate code understanding
- Users leveraging Ollama or OpenAI-compatible embeddings
- Those who want AI-assisted code editing with rollback capability
Context+ is a feature-rich MCP server offering code structure analysis, semantic search, static analysis, code editing, and memory graph capabilities. Its strengths include combining AST and RAG for semantic understanding and the shadow restore point mechanism. Configuration is relatively complex, requiring Ollama or another embedding provider.
Strongest · Maintenance 12/20 Weakest · Reliability 8/20
Static review · not runListed 2026-08-07
Read the FMRS scoring method →Runtime:Node.js · Bun
OLLAMA_API_KEY
API key for Ollama Cloud; not needed for local Ollama, obtained from the Ollama website.
CONTEXTPLUS_OPENAI_API_KEY
API key for any OpenAI-compatible provider; get one from OpenAI, Google AI Studio, Groq, etc.
OPENAI_API_KEY
Alias of CONTEXTPLUS_OPENAI_API_KEY.
OLLAMA_EMBED_MODEL
Ollama embedding model name, default nomic-embed-text; pull locally with `ollama pull nomic-embed-text`.
OLLAMA_CHAT_MODEL
Ollama chat model for cluster labeling, default llama3.2 (gemma2:27b in the example config).
CONTEXTPLUS_EMBED_PROVIDER
Embedding backend selector: ollama (default) or openai.
CONTEXTPLUS_OPENAI_BASE_URL
OpenAI-compatible endpoint URL, default https://api.openai.com/v1.
CONTEXTPLUS_OPENAI_EMBED_MODEL
OpenAI-compatible embedding model, default text-embedding-3-small; Gemini uses text-embedding-004.
CONTEXTPLUS_OPENAI_CHAT_MODEL
OpenAI-compatible chat model for cluster labeling, default gpt-4o-mini.
OPENAI_BASE_URL
Alias of CONTEXTPLUS_OPENAI_BASE_URL.
OPENAI_EMBED_MODEL
Alias of CONTEXTPLUS_OPENAI_EMBED_MODEL.
OPENAI_CHAT_MODEL
Alias of CONTEXTPLUS_OPENAI_CHAT_MODEL.
CONTEXTPLUS_EMBED_BATCH_SIZE
Embedding batch size per GPU call, default 8, clamped to 5-10.
CONTEXTPLUS_EMBED_CHUNK_CHARS
Per-chunk chars before merge, default 2000, clamped to 256-8000.
CONTEXTPLUS_MAX_EMBED_FILE_SIZE
Byte limit above which large non-code text files are skipped, default 51200.
CONTEXTPLUS_EMBED_NUM_GPU
Optional Ollama embed runtime num_gpu override.
CONTEXTPLUS_EMBED_MAIN_GPU
Optional Ollama embed runtime main_gpu override.
CONTEXTPLUS_EMBED_NUM_THREAD
Optional Ollama embed runtime num_thread override.
CONTEXTPLUS_EMBED_NUM_BATCH
Optional Ollama embed runtime num_batch override.
CONTEXTPLUS_EMBED_NUM_CTX
Optional Ollama embed runtime num_ctx override.
CONTEXTPLUS_EMBED_LOW_VRAM
Optional Ollama embed runtime low_vram boolean override.
CONTEXTPLUS_EMBED_TRACKER
Enable realtime embedding refresh on file changes, default true.
CONTEXTPLUS_EMBED_TRACKER_MAX_FILES
Max changed files processed per tracker tick, default 8, clamped to 5-10.
CONTEXTPLUS_EMBED_TRACKER_DEBOUNCE_MS
Debounce window before tracker refresh, default 700 ms.
CONTEXTPLUS_EXTRA_ROOTS
Re-include directories excluded by the workspace .gitignore, joined with the system path separator (: on Unix).
No installation needed; run via npx or bunx. Add the following to your IDE's MCP config (example for Claude Code, Cursor, Windsurf):
{
"mcpServers": {
"contextplus": {
"command": "bunx",
"args": ["contextplus"],
"env": {
"OLLAMA_EMBED_MODEL": "nomic-embed-text",
"OLLAMA_CHAT_MODEL": "gemma2:27b",
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY"
}
}
}
}For VS Code, use .vscode/mcp.json with servers format. Alternatively, use npx -y contextplus init <client> to generate config files for claude, cursor, vscode, windsurf, opencode.
{
"mcpServers": {
"contextplus": {
"command": "bunx",
"args": [
"contextplus"
],
"env": {
"OLLAMA_EMBED_MODEL": "nomic-embed-text",
"OLLAMA_CHAT_MODEL": "gemma2:27b",
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY"
}
}
}
}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"contextplus": {
"command": "bunx",
"args": [
"contextplus"
],
"env": {
"OLLAMA_EMBED_MODEL": "nomic-embed-text",
"OLLAMA_CHAT_MODEL": "gemma2:27b",
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add contextplus -e OLLAMA_EMBED_MODEL=nomic-embed-text -e OLLAMA_CHAT_MODEL=gemma2:27b -e OLLAMA_API_KEY=YOUR_OLLAMA_API_KEY -- bunx contextplus
Run it in a terminal; replace any <…> placeholders with your own values first.
After adding the config to your MCP client and starting a session, check that tools like semantic_code_search and get_context_tree appear in the client's tool list; you can also run `bunx contextplus skeleton .` to view the project tree in the terminal and confirm the install.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Context+ is an MCP server designed for developers who demand 99% accuracy. By combining RAG, Tree-sitter AST, Spectral Clustering, and Obsidian-style linking, Context+ turns a massive codebase into a searchable, hierarchical feature graph.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision 1b59b37f3130 Data synced 2026-10-11 Read the FMRS scoring method