
Code Context Engine
Indexes your codebase locally and exposes search operations to AI coding agents through MCP, cutting input tokens by 94% in benchmarked sessions. Instead of re-reading entire files on every Claude Code or Cursor session, your agent queries a local vector index built with tree-sitter parsing and embeddings (bundled local model or Ollama). Run `cce init` in a project directory and it writes the right config for Claude Code, VS Code, Cursor, Gemini CLI, or Codex CLI, then installs git hooks to keep the index fresh. The context_search tool returns relevant code chunks, and session stats track actual dollar savings based on Sonnet pricing. Everything stays on your machine, no cloud sync involved.
- GitHub stars
- 160
- tool
- 1
- transport
- STDIO
- last updated
- May 3, 2026
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
context_searchHybrid vector + BM25 search with graph expansion
Hybrid vector + BM25 search with graph expansion
No parameter schema in public metadata yet.
Sponsors
Readme
Details
- Repository
- github.com/elara-labs/code-context-engine
- Category
- Search & Web Crawling
- Package
code-context-engine- Transport
- STDIO
- Registry
- MCP registry, active