Codebase MCP Server

Codebase indexing and search via WASM tree-sitter. Works on ARM64 and x86_64.

Local serverstdioPython

What is the Codebase MCP Server?

Codebase indexing and search via WASM tree-sitter. Works on ARM64 and x86_64.

What the server does

Popular codebase-indexing MCP servers like @zilliz/claude-context-mcp depend on native C++ bindings (tree-sitter, faiss-node) that ship pre-built binaries only for x86_64. If you're on ARM64 — a Raspberry Pi, Apple Silicon Mac, AWS Graviton, or any other arm64 host — npm install fails with missing prebuilts and no fallback. There's no workaround short of cross-compiling the native modules yourself.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
index_codebaseParse a directory into symbols/chunks, cache as JSON
search_symbolsFind functions, classes, types by name or pattern
search_codeBM25 full-text search across indexed files
get_file_outlineFile structure: functions, classes, imports, exports with line numbers
get_project_summaryTech stack, file counts by language, directory structure

How to install the Codebase MCP Server

{
  "mcpServers": {
    "codebase-context": {
      "command": "npx",
      "args": ["codebase-context-mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • “Use Codebase to index codebase.”
  • “Use Codebase to search symbols.”
  • “Use Codebase to search code.”

Frequently asked questions

Codebase indexing and search via WASM tree-sitter. Works on ARM64 and x86_64. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.