Codebase Context MCP
Indexes local codebases with WASM tree-sitter and provides symbol, BM25 text, outline, and project-summary tools over MCP.
Install Codebase Context MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"codebase-context-mcp": {
"command": "npx",
"args": [
"-y",
"codebase-context-mcp"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Automated check passed— started and listed 5 tools correctly ().
Overview
Use cases
- Index a local repository for agent-assisted code navigation
- Search functions, classes, and types by name or pattern
- Find matching code with BM25 full-text queries
- Inspect file structure and project language composition
- Run codebase indexing on ARM64 development machines
Key features
- WASM tree-sitter parsing
- BM25 full-text search
- Symbol and pattern search
- JSON-based cached indexes
- File outlines with line numbers
- Project summaries by language and directory
Tools5
What Codebase Context MCP 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.
What it can do
From the 5 tools this server returned when we ran it.
Observed 2026-11-06 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 6d ago via OSV.dev · codebase-context-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Codebase Context MCP 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 Codebase Context MCP
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/codebase-context-mcp)<a href="https://allmcps.com/mcp/codebase-context-mcp"><img src="https://allmcps.com/api/badge/codebase-context-mcp?style=directory" alt="Codebase Context MCP on AllMCPs" /></a>