infino-ai/code-context

View on GitHub ↗

Local code search for AI coding agents: a CLI and MCP server with hybrid keyword + semantic search and SQL relevance-ranked aggregation over an index in plain files. No accounts, no keys, no server.

19 ★1 forksTypeScriptUpdated 21d ago

What you need to know

Retrieval layer for coding agents: a local index over the whole repo (keyword, semantic, hybrid, and SQL search) served through an MCP server and CLI, cutting tokens and tool calls.

Install

/plugin marketplace add infino-ai/code-context
npm install -g @infino-ai/code-context

Usage

  • Ask questions about the codebase; the agent searches the index instead of reading files, or use cx search, cx sql, cx index from the CLI

Key features

  • Hybrid search (BM25 + semantic with reciprocal-rank fusion)
  • Read-only SQL over the index with search as table functions
  • Incremental indexing, background auto-sync
  • Everything local, no accounts or API keys
  • path:line citations and usage receipts
  • ~30-40% fewer tokens and ~50% fewer tool calls
  • Multi-repo support via path argument

Best for

Codebase Q&A for coding agents

Caveats

  • Node.js 20+
  • CI-tested on Linux x64 and macOS arm64
Platforms: Node.jsClients: Claude Code · Cursor · Codex CLI · Gemini CLI · Windsurf · Cline
Documentation ↗

Reviewed 2026-08-11

Topics

Stars
19★
Forks
1
Language
TypeScript
License
Apache-2.0
Created
2026-07-10
Last push
2026-08-14