
Description
Code Context Engine, or CCE, indexes your codebase so AI coding agents search the index instead of re-reading whole files every session. It runs as a local MCP server that works with Claude Code, Codex, Copilot, Cursor and Gemini CLI. The project reports 94% fewer input tokens per session in its own benchmark. Everything stays on your machine, with no cloud indexing, and decisions and context carry over between sessions. If you already run Ollama, CCE uses it for embeddings, and otherwise it can set up its own local model. It tracks actual savings in dollar amounts rather than estimates. Setup is one command on macOS, Linux and Windows, and a C compiler is needed for the tree-sitter grammars. The Agent Plugin option generates a portable plugin directory for editors such as VS Code, Cursor, Copilot, Codex, ChatGPT and Kiro. It is free and open source, and it is aimed at developers who want cheaper, faster AI coding sessions on private code.…
Highlights
- Indexes your codebase so agents search instead of re-reading files
- Local MCP server with no cloud indexing
- Works with Claude Code, Codex, Copilot, Cursor and Gemini CLI
- Keeps decisions and context across sessions
- Reports savings in dollar amounts
Ratings & Reviews
No ratings yet
Be the first to rate Code Context Engine.
People also visit
Code Context Engine FAQ
What does Code Context Engine do?
It builds a local index of your code so an AI assistant can search for what it needs instead of reading every file, which the project says cuts input tokens by 94% in its benchmark.
Does my code leave my machine?
No. The project says everything runs locally with zero cloud indexing.
Which editors does it work with?
Claude Code, Codex, Copilot, Cursor and Gemini CLI. The Agent Plugin option also covers VS Code, ChatGPT and Kiro.
What do I need before installing?
Python 3.11 or newer and a C compiler for the tree-sitter grammars. On macOS that means the Xcode command line tools, and on Ubuntu or Debian it means the build tools package.
Is it free?
Yes. It is free and open source, and it uses Ollama if you already have it installed.
What are the best Code Context Engine alternatives?
Popular alternatives to Code Context Engine include Octocode MCP - AI Context Platform, TokenSave and Sense. See all Code Context Engine alternatives






















