contextplus
by forloopcodes·★ 1,896·Score 56
Context+ is an MCP server that transforms codebases into searchable feature graphs using RAG, AST parsing, and semantic linking.
Overview
Context+ is a sophisticated MCP server designed for developers working with large-scale codebases. It combines multiple advanced techniques including RAG (Retrieval-Augmented Generation), Tree-sitter AST parsing, Spectral Clustering, and Obsidian-style linking to create a searchable, hierarchical feature graph. The server provides 17 tools across categories including discovery, analysis, code operations, version control, and memory/RAG functionality. It supports multiple embedding providers including Ollama (default) and OpenAI-compatible APIs, making it adaptable to different deployment environments and preferences.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose Context+ when working on large, complex codebases requiring deep semantic understanding, dependency analysis, and knowledge graph capabilities beyond simple code search.
When NOT to choose this
Avoid Context+ for small projects or when you need lightweight, simple code navigation without the overhead of embedding models and graph storage requirements.
Tools this server exposes
12 tools extracted from the READMEget_context_treeGet structural AST tree of a project with file headers and symbol ranges.
get_file_skeletonGet function signatures, class methods, and type definitions without full bodies.
semantic_code_searchSearch code by meaning using embeddings over file headers/symbols.
semantic_identifier_searchRetrieve functions/classes/variables with ranked call sites.
get_blast_radiusTrace files and lines where a symbol is imported or used.
run_static_analysisRun linters to find unused variables, dead code, and type errors.
propose_commitWrite code with validation and create restore points.
get_feature_hubNavigate Obsidian-style feature hubs with wikilinks.
search_memory_graphSemantic search with graph traversal for direct matches and neighbors.
upsert_memory_nodeCreate or update memory nodes with auto-generated embeddings.
create_relationCreate typed edges between memory nodes.
undo_changeRestore files to state before specific AI changes.
Comparable tools
Installation
Installation
Quick Start (npx / bunx)
No installation needed. Add Context+ to your IDE MCP config.
For Claude Code, Cursor, and Windsurf, use mcpServers:
{
"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 (.vscode/mcp.json), use servers and inputs:
{
"servers": {
"contextplus": {
"type": "stdio",
"command": "bunx",
"args": ["contextplus"],
"env": {
"OLLAMA_EMBED_MODEL": "nomic-embed-text",
"OLLAMA_CHAT_MODEL": "gemma2:27b",
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY"
}
}
},
"inputs": []
}FAQ
- Which programming languages does Context+ support?
- Context+ supports multiple languages through Tree-sitter with 43 extensions, including TypeScript, Python, Rust, Go, and others.
- Can I use Context+ with different embedding models?
- Yes, Context+ supports both Ollama (default) and OpenAI-compatible APIs, including Gemini, OpenAI, Groq, and vLLM.
Compare contextplus with
Last updated · Auto-generated from public README + GitHub signals.