MCP ConfigsApr 6, 2026·2 min read

Context+ — Semantic Code Intelligence MCP Server

MCP server combining RAG, Tree-sitter AST parsing, and spectral clustering to turn large codebases into searchable feature graphs. 99% accuracy on monorepos. 1,700+ GitHub stars.

MC
MCP Hub · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

Add to your .mcp.json:

{
  "mcpServers": {
    "contextplus": {
      "command": "npx",
      "args": ["-y", "@contextplus/mcp-server"]
    }
  }
}

Restart Claude Code. Ask: "Explain the authentication architecture" or "Which modules depend on the database layer?"


Intro

Context+ is an MCP server that combines RAG, Tree-sitter AST parsing, spectral clustering, and Obsidian-style linking to turn massive codebases into searchable, hierarchical feature graphs with 1,700+ GitHub stars. Designed for developers working on large monorepos where dumping files into context is impractical, Context+ gives your AI agent deep semantic understanding of code architecture — functions, classes, modules, and their relationships. Best for teams on 100K+ LOC codebases who need precise code intelligence. Works with: Claude Code, Cursor, any MCP client. Setup time: under 2 minutes.


Core Capabilities

Feature Graph

Context+ builds a hierarchical graph of your codebase:

Project
├── Auth Module
│   ├── login() → calls validateToken(), createSession()
│   ├── logout() → calls destroySession()
│   └── middleware → imports from Auth Module
├── API Layer
│   ├── /users → depends on Auth, Database
│   ├── /products → depends on Database, Cache
│   └── /orders → depends on Auth, Database, Payment
└── Database Layer
    ├── connection pool
    ├── migrations
    └── models

Tree-sitter AST Parsing

Accurate code parsing across 50+ languages using Tree-sitter. Extracts function signatures, class hierarchies, import chains, and type definitions.

Spectral Clustering

Groups related code into logical features automatically. Discovers modules and boundaries that may not match the file system structure.

Obsidian-Style Linking

Navigate between code concepts using bidirectional links:

  • "Show everything connected to the User model"
  • "What calls the payment processing pipeline?"
  • "Trace data flow from API request to database write"

Semantic Search

Natural language queries against the code graph:

"Where is authentication handled?"
"Which functions modify the order state?"
"Find all database queries that join more than 3 tables"

Key Stats

  • 1,700+ GitHub stars
  • 50+ languages via Tree-sitter
  • Spectral clustering for feature discovery
  • Sub-second query response
  • Handles 500K+ LOC codebases

FAQ

Q: What is Context+? A: Context+ is an MCP server that builds a semantic knowledge graph of your codebase, giving AI agents deep understanding of code architecture, dependencies, and relationships.

Q: Is Context+ free? A: Yes, fully open-source under MIT license.

Q: How is Context+ different from Codebase Memory MCP? A: Codebase Memory focuses on token-efficient retrieval. Context+ focuses on semantic understanding — it clusters code into features and maps relationships using spectral analysis and AST parsing.


🙏

Source & Thanks

Created by ForLoopCodes. Licensed under MIT.

contextplus — ⭐ 1,700+

Thanks for bringing deep semantic code intelligence to MCP.

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.