HomeDevelopment › code-context

code-context

Local code search for AI coding agents: hybrid keyword + semantic + SQL over an index in your repo.

Official TypeScript Local
★ 31 stars Last pushed 2026-09-24 License: Apache-2.0

Topics: Developer Tools

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 0.5.1)

npx -y @infino-ai/[email protected]

Or add to your MCP client config:

{
  "mcpServers": {
    "code-context": {
      "command": "npx",
      "args": [
        "-y",
        "@infino-ai/[email protected]"
      ],
      "env": {
        "CX_ROOT": "<YOUR_VALUE>",
        "CX_INDEX_DIR": "<YOUR_VALUE>",
        "CX_AUTO_SYNC": "<YOUR_VALUE>",
        "CX_NO_EMBED": "<YOUR_VALUE>",
        "CX_NO_RECEIPT": "<YOUR_VALUE>"
      }
    }
  }
}
  • 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.

This server takes extra arguments — see its repository.

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry