Codebase Context MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 57 installs a week from npm. Last commit 13 Feb 2026.
Codebase indexing and search via WASM tree-sitter. Works on ARM64 and x86_64.
We read the source, 4 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
const content = await readFileContent(path.join(index.rootDir, filePath));
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add codebase-context-mcp -- npx -y codebase-context-mcp
{
"mcpServers": {
"codebase-context-mcp": {
"command": "npx",
"args": [
"-y",
"codebase-context-mcp"
]
}
}
}
[mcp_servers.codebase-context-mcp]
command = "npx"
args = ["-y", "codebase-context-mcp"]
{
"mcpServers": {
"codebase-context-mcp": {
"command": "npx",
"args": [
"-y",
"codebase-context-mcp"
]
}
}
}
{
"servers": {
"codebase-context-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"codebase-context-mcp"
]
}
}
}
Advanced codebase indexing and semantic search MCP server
Local file search for AI agents — semantic + keyword indexing over your codebase.
MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.
Semantic code graph for AI-assisted code understanding via tree-sitter and MCP.
Free MCP server: index a repo's files into the x402-codesearch Worker's search index.
Semantic code search over a local repository, with AST-based chunks and incremental re-indexing.
Analyzes codebases with tree-sitter and generates AGENTS.md files for AI coding agents.
Fast per-repo documentation indexer and full-text search MCP server for codebases.
Answers built from our own checks of this server.