Code Context MCP server
io.github.infino-ai/code-context·v0.5.1·32 starsLocal code search for AI coding agents: hybrid keyword + semantic + SQL over an index in your repo.
32 stars114 downloads/wk
Reviews
Write oneNobody has reviewed Code Context yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Code Context tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
reindexBring the index up to date with the working tree. Incremental by default: only files that
searchSemantic + keyword code search over the indexed repository - a strong default for finding
sqlWhole-repo analytical questions that file tools cannot express at any budget: counts,
Public scan report
scanner v0.1.10 · 2026-10-31 · same rubric, same numbers if you re-run it
- Code scan19 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 1 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
How Code Context compares
Against every graded SEO MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 87% of 769 SEO servers
- Tools
- 3
- the typical SEO server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 32
- more than 95% of 405 SEO servers
- Downloads a week
- 114
- more than 66% of 170 SEO servers with a package
What its tools let an agent do: 3 read
Release history: 2 versions in the registry since 2026-08-24, latest 2026-09-21, typically one every 28 days.
Install Code Context in Claude Code, Cursor or VS Code
Runs npx -y @infino-ai/code-context on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add code-context -- npx -y @infino-ai/code-context
What the publisher says
From the Code Context repository's README, as published. We do not edit it. Read it on GitHub
code-context is the retrieval layer under your coding agent: one local index over the whole repo (keyword, semantic, hybrid, and SQL), reached through an MCP server and a CLI, with the index living in plain files inside your repo. Your agent answers questions about the codebase without reading it file by file.
The rule of thumb: the more a question spans the repo, the more this saves, because the answer comes from a ranked index instead of pulling source into context one file at a time.
On your own codebase, ~30-40% fewer tokens and ~50% fewer tool calls (so answers land faster too - aggregation questions run about 2× quicker). The harness is in the repo, so you can reproduce it on your own code.
Try it live (early preview): ask questions about any public GitHub repo at lantern.infino.ai, a demo agent that runs on code-context.
matching with semantic similarity, and every hit carries the code with path:line citations.
- 🔎 Find code by words or meaning. One ranked pass fuses exact keyword
function, so "which files have the most code about X" is one query: ranked by relevance, tallied by GROUP BY.
- 📊 Ask questions grep can't answer. Search works as a SQL table
before the embedding model even finishes downloading, vectors backfill in the background, and edits re-sync incrementally: only changed files re-chunk and re-embed.
- ⚡ Searching in seconds, fresh forever. The keyword index commits
server, no telemetry. Embedding is a small local model, downloaded once; after that everything works offline.
- 🔒 Nothing leaves your machine. No accounts, no API keys, no database
Built on infino, a fast retrieval engine that runs SQL, full-text search, and vector search over a single copy of your data. Text and numeric data is stored as spec-compliant Parquet, and the same engine handles logs, docs, and agent memory.
Claude Code answering questions about a repo through code-context: index it, then ask, and it reaches for search and SQL on its own.
Quick start
Install the Claude Code plugin - nothing to paste into a config:
/plugin marketplace add infino-ai/code-context
/plugin install code-context@infino-aiIt registers code-context's three tools with alwaysLoad already set, so the agent keeps them in view and reaches for the index directly instead of falling back to plain file search.
Not on Claude Code, or prefer a one-line command? Add it as an MCP server:
claude mcp add-json code-context -s user '{"command":"npx","args":["-y","@infino-ai/code-context","mcp"],"alwaysLoad":true}'The alwaysLoad flag pins this small tool set so that in a setup with many MCP servers - where clients defer tool definitions behind a tool-search step - the agent doesn't miss the index and fall back to plain file search. (Use either the plugin or this command, not both.)
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Code Context: common questions
- Is Code Context MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the Code Context safety report
- How do I install Code Context?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Code Context need an API key?
- No secret keys are declared. It reads 5 settings from the environment.
- Is Code Context maintained?
- The last commit was 5 days ago (2026-10-30). The latest release is v0.5.1.
- What can I use instead of Code Context?
- Servers from other publishers that do the same job: Miru MCP server, squirrelscan MCP server and DispatchSEO MCP server. Compare all Code Context alternatives.
- How does Code Context compare with other SEO MCP servers?
- safety score 91/100 (higher than 87% of 769 SEO servers); tools 3 (the typical SEO server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Code Context
Same job from other publishers: the closest match first, then the best rated.
- MiruHybrid semantic and keyword code search for coding agents.not reviewedGrowingB
squirrelscanWebsite QA for your coding agent: audit SEO, performance, security, accessibility over MCP.not reviewedEstablishedB
DispatchSEOOpen-source SEO manager for coding agents: keyword research, content PRs, rank + Search Console.not reviewedGrowingA
X (Twitter) Trends MCPTwitter (X) trends over time, with growth for any keyword. Free key at trendsmcp.ainot reviewedGrowingA- openchronicle-mcpMemory database for LLM agents — persistent semantic + keyword memory, project namespacing, served onot reviewedGrowingA