$git clone https://github.com/forloopcodes/contextplusSemantic Intelligence for Large-Scale Engineering.
| 1 | # Context+ |
| 2 | |
| 3 | Semantic Intelligence for Large-Scale Engineering. |
| 4 | |
| 5 | 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. |
| 6 | |
| 7 | https://github.com/user-attachments/assets/a97a451f-c9b4-468d-b036-15b65fc13e79 |
| 8 | |
| 9 | ## Tools |
| 10 | |
| 11 | ### Discovery |
| 12 | |
| 13 | | Tool | Description | |
| 14 | | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 15 | | `get_context_tree` | Structural AST tree of a project with file headers and symbol ranges (line numbers for functions/classes/methods). Dynamic pruning shrinks output automatically. | |
| 16 | | `get_file_skeleton` | Function signatures, class methods, and type definitions with line ranges, without reading full bodies. Shows the API surface. | |
| 17 | | `semantic_code_search` | Search by meaning, not exact text. Uses embeddings over file headers/symbols and returns matched symbol definition lines. | |
| 18 | | `semantic_identifier_search` | Identifier-level semantic retrieval for functions/classes/variables with ranked call sites and line numbers. | |
| 19 | | `semantic_navigate` | Browse codebase by meaning using spectral clustering. Groups semantically related files into labeled clusters. | |
| 20 | |
| 21 | ### Analysis |
| 22 | |
| 23 | | Tool | Description | |
| 24 | | --------------------- | ----------------------------------------------------------------------------------------------------------------------------- | |
| 25 | | `get_blast_radius` | Trace every file and line where a symbol is imported or used. Prevents orphaned references. | |
| 26 | | `run_static_analysis` | Run native linters and compilers to find unused variables, dead code, and type errors. Supports TypeScript, Python, Rust, Go. | |
| 27 | |
| 28 | ### Code Ops |
| 29 | |
| 30 | | Tool | Description | |
| 31 | | ----------------- | ------------------------------------------------------------------------------------------------------------------------ | |
| 32 | | `propose_commit` | The only way to write code. Validates against strict rules before saving. Creates a shadow restore point before writing. | |
| 33 | | `get_feature_hub` | Obsidian-style feature hub navigator. Hubs are `.md` files with `[[wikilinks]]` that map features to code files. | |
| 34 | |
| 35 | ### Version Control |
| 36 | |
| 37 | | Tool | Description | |
| 38 | | --------------------- | ---------------------------------------------------------------------------------------------------------- | |
| 39 | | `list_restore_points` | List all shadow restore points created by `propose_commit`. Each captures file state before AI changes. | |
| 40 | | `undo_change` | Restore files to their state before a specific AI change. Uses shadow restore points. Does not affect git. | |
| 41 | |
| 42 | ### Memory & RAG |
| 43 | |
| 44 | | Tool | Description | |
| 45 | | ------------------------- | -------------------------------------------------------------------------------------------------------- | |
| 46 | | `upsert_memory_node` | Create or update a memory node (concept, file, symbol, note) with auto-generated embeddings. | |