Development · Website

Context+

MCP server providing structural AST indexing and semantic navigation for coding agents

Visit contextplus.vercel.app ↗

Context+ is an MCP server that converts codebases into token-efficient, hierarchical graphs to help AI coding agents navigate large repositories. It combines Tree-sitter AST parsing, Ollama vector embeddings, and spectral clustering to deliver semantic search, blast-radius analysis, and file skeletons without flooding LLM context windows. It integrates into IDE agents like Cursor, Windsurf, VS Code, and Claude Code.

What it's for

  • Provide structural codebase context to AI agents without reading entire files
  • Calculate symbol blast radius to see all call sites before refactoring or deleting functions
  • Navigate code repositories semantically using clustered topic groups instead of directory trees
  • Preserve agent learnings across sessions using an interlinked RAG memory graph

Features

  • Context tree generation with token-aware AST pruning and line-numbered symbols
  • File skeleton viewer exposing signatures and types without full function bodies
  • Semantic search across files and identifiers backed by local Ollama embeddings
  • Symbol blast-radius analysis across all imported files and call chains
  • Spectral clustering for topic-based semantic navigation
  • Shadow restore point system allowing non-destructive undo of AI edits
  • Obsidian-style feature hubs using markdown wikilinks to map code to features
  • Built-in static analysis integration supporting TypeScript, Python, Rust, and Go

Pricing

Open source. Free and open source (requires Ollama locally or Ollama Cloud)

Details

Type
Website
Category
Development
Topic
Code Intelligence
Open source
Yes
Platforms
Command line, macOS, Linux, Windows
For
Software engineers and AI agent users working with large codebases in Cursor, Claude Code, or VS Code
Alternative to
Aider, Cursor Indexing
Tags
mcp, ast, treesitter, codebase, rag, ollama, coding agent

Why it was saved

  • @forloopcodes, 28 February 2026: Add it to an IDE agent by pasting its JSON into the MCP config; runs with bunx ('bunx contextplus init claude'), tabs for Claude Code, Cursor, VS Code, Windsurf. Requires Ollama with models nomic-embed-text and gemma2:27b.

Related

  • Firecrawl

    Turn websites and documents into clean, LLM-ready markdown or structured data.

  • "Easy Mode" Open Source AI Stack

    An opinionated reference architecture for building full-stack open-source AI applications

  • RAGLite

    Lightweight Python toolkit for RAG using DuckDB or PostgreSQL

  • awesome-llm-apps

    Open-source collection of runnable AI agent, skill, and RAG templates

  • Parse

    Turn any website into a structured REST API using natural language

  • Apify

    Cloud platform and marketplace for web scraping, automation, and AI data extraction.

Updated