Local code search for AI coding agents: hybrid keyword + semantic + SQL over an index in your repo.
Connect Runs on your machine
claude mcp add code-context -e CX_ROOT=<CX_ROOT> -e CX_INDEX_DIR=<CX_INDEX_DIR> -e CX_AUTO_SYNC=<CX_AUTO_SYNC> -e CX_NO_EMBED=<CX_NO_EMBED> -e CX_NO_RECEIPT=<CX_NO_RECEIPT> -- npx -y @infino-ai/[email protected]
{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/[email protected]"
],
"env": {
"CX_ROOT": "<CX_ROOT>",
"CX_INDEX_DIR": "<CX_INDEX_DIR>",
"CX_AUTO_SYNC": "<CX_AUTO_SYNC>",
"CX_NO_EMBED": "<CX_NO_EMBED>",
"CX_NO_RECEIPT": "<CX_NO_RECEIPT>"
}
}
}
}
{
"mcpServers": {
"code-context": {
"command": "npx",
"args": [
"-y",
"@infino-ai/[email protected]"
],
"env": {
"CX_ROOT": "<CX_ROOT>",
"CX_INDEX_DIR": "<CX_INDEX_DIR>",
"CX_AUTO_SYNC": "<CX_AUTO_SYNC>",
"CX_NO_EMBED": "<CX_NO_EMBED>",
"CX_NO_RECEIPT": "<CX_NO_RECEIPT>"
}
}
}
}
{
"servers": {
"code-context": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@infino-ai/[email protected]"
],
"env": {
"CX_ROOT": "<CX_ROOT>",
"CX_INDEX_DIR": "<CX_INDEX_DIR>",
"CX_AUTO_SYNC": "<CX_AUTO_SYNC>",
"CX_NO_EMBED": "<CX_NO_EMBED>",
"CX_NO_RECEIPT": "<CX_NO_RECEIPT>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
CX_ROOTOptional | Repository root to serve. Optional - defaults to the working directory the server is launched in. |
CX_INDEX_DIROptional | Where the index lives. Optional - defaults to .infino/ inside the repository root. |
CX_AUTO_SYNCOptional | Set to 0 to disable the background staleness sync that runs as queries arrive. |
CX_NO_EMBEDOptional | Set (1/true/yes) for keyword-only mode - skip the vector stage entirely. |
CX_NO_RECEIPTOptional | 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. |
Details
| Package | @infino-ai/[email protected] (NPM, stdio) |
| First published | 21 Sep 2026 |
| Last updated | 21 Sep 2026 |
| Registry name | io.github.infino-ai/code-context |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
