# Code Context Engine

> Code Context Engine is an open-source MCP server. Index your codebase. AI searches instead of re-reading files. 94% token savings. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/elara-labs/code-context-engine
- **MCP Registry name:** io.github.ai-elara/code-context-engine
- **Listing updated:** 2026-11-13

## About

Index your codebase. AI searches instead of re-reading files. 94% token savings.

## Install

### Claude Code (Terminal)

```sh
claude mcp add code-context-engine -- uvx code-context-engine
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "code-context-engine": {
      "command": "uvx",
      "args": [
        "code-context-engine"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "code-context-engine": {
      "command": "uvx",
      "args": [
        "code-context-engine"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "code-context-engine": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "code-context-engine"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "code-context-engine": {
      "command": "uvx",
      "args": [
        "code-context-engine"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "code-context-engine": {
      "command": "uvx",
      "args": [
        "code-context-engine"
      ]
    }
  }
}
```

## FAQ

### Is Code Context Engine free?

Yes. Code Context Engine is open source, so you can use and self-host it for free.

### How do I add Code Context Engine to Claude Code?

Run this command in your terminal: claude mcp add code-context-engine -- uvx code-context-engine

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/code-context-engine
