Code Context MCP Server
by infino-aiio.github.infino-ai/code-contextv0.5.1
Local code search for coding agents: hybrid keyword and semantic search with SQL relevance ranking over a plain-file index.
context tax
queued
security
queued
cold start
queued
freshness
Active11d ago
Install Code Context MCP server
Install in Claude Code
claude mcp add code-context -- npx -y @infino-ai/code-context mcpInstall in Cursor
{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context",
"mcp"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context",
"mcp"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"code-context": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context",
"mcp"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context",
"mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CX_ROOT | — | — | Repository root to serve. Optional - defaults to the working directory the server is launched in. |
| CX_INDEX_DIR | — | — | Where the index lives. Optional - defaults to .infino/ inside the repository root. |
| CX_AUTO_SYNC | — | — | Set to 0 to disable the background staleness sync that runs as queries arrive. |
| CX_NO_EMBED | — | — | Set (1/true/yes) for keyword-only mode - skip the vector stage entirely. |
| CX_NO_RECEIPT | — | — | Set (1/true/yes) to turn off local usage accounting: the per-call receipt on results and the cx usage ledger. Optional - on by default, computed locally, nothing leaves the machine. |
Freshness
Active — last maintenance signal 11d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-28 · 11d ago · GitHub
Latest release
2026-09-21 · 18d ago · GitHub · v0.5.1
Package published
no data · npm/PyPI
Registry entry updated
2026-09-21 · 18d ago · official registry · v0.5.1
FAQ
›How do I install the Code Context MCP server in Claude Code?
Run: claude mcp add code-context -- npx -y @infino-ai/code-context mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Code Context require an API key?
No required environment variables are declared in its published metadata.
›Can I use Code Context as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Code Context in the official MCP registry?
Yes, as io.github.infino-ai/code-context.
Alternatives to Code Context
Other database MCP servers.