Code Index
Indexes local code in SQLite for semantic search, symbol lookup, call tracing, file outlines, and targeted code retrieval over MCP.
Install Code Index
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"code-index-2": {
"command": "uvx",
"args": [
"--with",
"sentence-transformers<5",
"--with",
"numpy<2",
"--from",
"mcp-code-index",
"code-index-hook"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
uvx --with sentence-transformers<5 --with numpy<2 --from mcp-code-index code-index-hookProcess exited before answering initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Search a repository for conceptual code paths
- Locate exact function, class, or type definitions
- Trace callers and callees across symbols
- Inspect file and module structure without reading whole files
- Reindex files changed by Claude Code edits
Key features
- Hybrid vector and full-text code search
- Exact symbol lookup and bounded symbol retrieval
- File, module, and source-location outlines
- Caller, callee, reference, and call-tree analysis
- SQLite-backed local index with optional incremental reindexing
- Same-file rename proposal generation
Tools14
What Code Index lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 7d ago via OSV.dev · mcp-code-index (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Code Index works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Code Index
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/code-index-2)<a href="https://allmcps.com/mcp/code-index-2"><img src="https://allmcps.com/api/badge/code-index-2?style=directory" alt="Code Index on AllMCPs" /></a>