MCP server
Code Context
Local code search for AI coding agents: hybrid keyword + semantic + SQL over an index in…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.5.1
- Listing updated
- 5 days ago
About Code Context
Code Context is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Local code search for AI coding agents: hybrid keyword + semantic + SQL over an index in your repo.
Install
Run in a terminal
claude mcp add code-context -- npx -y @infino-ai/code-contextAdd to claude_desktop_config.json
{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"code-context": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/code-context"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
CX_ROOTRepository root to serve. Optional - defaults to the working directory the server is launched in.CX_INDEX_DIRWhere the index lives. Optional - defaults to .infino/ inside the repository root.CX_AUTO_SYNCSet to 0 to disable the background staleness sync that runs as queries arrive.CX_NO_EMBEDSet (1/true/yes) for keyword-only mode - skip the vector stage entirely.CX_NO_RECEIPTSet (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.
Pricing
Open source
Code Context FAQ
Is Code Context free?
Yes. Code Context is open source, so you can use and self-host it for free.
How do I add Code Context to Claude Code?
Run this command in your terminal: claude mcp add code-context -- npx -y @infino-ai/code-context
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.