Code Index MCP server
io.github.achreftlili/code-index·v1.0.6·1 starsSQLite-backed hybrid (vector + FTS) code search index for Claude Code over MCP.
1 stars90 downloads/wk
Reviews
Write oneNobody has reviewed Code Index yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Code Index tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan27 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 136 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Code Index compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 55% of 802 Databases servers
- GitHub stars
- 1
- more than 45% of 602 Databases servers
- Downloads a week
- 90
- more than 55% of 328 Databases servers with a package
Install Code Index in Claude Code, Cursor or VS Code
claude mcp add code-index -- uvx mcp-code-index
What the publisher says
From the Code Index repository's README, as published. We do not edit it. Read it on GitHub
code-index
<!-- mcp-name: io.github.achreftlili/code-index -->
A local, SQLite-backed code index for Claude Code, exposed over MCP. It replaces blind Read / Grep / Glob exploration with targeted retrieval — "where is parseAuthToken defined", "what calls Indexer.reindex_all", "find the rate-limiting code" — answered in milliseconds against an offline index.
No API keys. No external services. The embedder runs locally on your machine.
How it works (30-second tour)
- Parse your repo with tree-sitter (Python, TypeScript/JavaScript, Go, Rust).
- Chunk code per symbol and expand identifiers (getUserAuthToken → get user auth token) so search matches both styles.
- Embed each chunk locally with jina-embeddings-v2-base-code (768-dim) via sentence-transformers.
- Store symbols, chunks, vectors, and call/import edges in .claude/index.db (SQLite + sqlite-vec + FTS5).
- Serve 14 retrieval tools + 1 admin tool over MCP (see Tools).
- Stay fresh via an optional PostToolUse hook that incrementally re-indexes touched files.
Tools
Retrieval
Admin
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Code Index: common questions
- Is Code Index MCP server safe?
- Mostly: it is graded B (82/100). Read the Code Index safety report
- How do I install Code Index?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Code Index need an API key?
- No secret keys are declared. It reads 6 settings from the environment.
- Is Code Index maintained?
- The last commit was 174 days ago (2026-05-14). The latest release is v1.0.6.
- What can I use instead of Code Index?
- Servers from other publishers that do the same job: sqlite-graph-memory MCP server, RTFM MCP server and Clude MCP server.
- How does Code Index compare with other Databases MCP servers?
- safety score 82/100 (higher than 55% of 802 Databases servers); github stars 1 (more than 45% of 602 Databases servers); downloads a week 90 (more than 55% of 328 Databases servers with a package). Full comparison.
Alternatives to Code Index
Same job from other publishers: the closest match first, then the best rated.
- sqlite-graph-memoryRecall over your markdown notes: vector search plus your [[wikilinks]] as a graph, in SQLite.not reviewedGrowingA
- RTFMLocal retrieval for AI agents: index code, docs, PDFs, data in SQLite; 24 parsers, served via MCP.not reviewedGrowingA
- CludePortable agent memory anchored on Solana. Local SQLite + vector recall, open export.not reviewedGrowingB
- SAME - Stateless Agent Memory EnginePersistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools.not reviewedGrowingB
- hmem — Humanlike Memory for AI AgentsPersistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded.not reviewedGrowingA