Codebase indexing and search via WASM tree-sitter. Works on ARM64 and x86_64.
MCPpedia last refreshed this data
io.github.Jhackman2019/codebase-context-mcp is an MCP server that codebase indexing and search via WASM tree-sitter. Works on ARM64 and x86_64. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 77/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"codebase-context": {
"args": [
"codebase-context-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Codebase indexing and search via WASM tree-sitter. Works on ARM64 and x86_64.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'codebase-context-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked codebase-context-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
System 1 decision models (Jev, Laya, Cua-S1) as brain for agents: Browser use, computer use, games and robotics
MCP Security Weekly
Get CVE alerts and security updates for io.github.Jhackman2019/codebase-context-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server for codebase indexing and search that works on every platform — including ARM64 devices like Raspberry Pi and Apple Silicon where most alternatives fail.
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.
This package replaces every native dependency with a WASM equivalent. The tree-sitter parser runs as WebAssembly, search uses a pure-JS BM25 implementation, and the index is stored as plain JSON. Zero native bindings means npm install succeeds on the first try on any architecture: ARM64, x86_64, macOS, Linux, Windows.
Drop-in compatible — provides the same core tools (index, search, outline, summary) via the standard MCP stdio transport.
| Tool | Description |
|---|---|
index_codebase | Parse a directory into symbols/chunks, cache as JSON |
search_symbols | Find functions, classes, types by name or pattern |
search_code | BM25 full-text search across indexed files |
get_file_outline | File structure: functions, classes, imports, exports with line numbers |
get_project_summary | Tech stack, file counts by language, directory structure |
TypeScript, TSX, JavaScript, Python, C#, VB.NET, XML, CSS, JSON
claude mcp add codebase-context -s user -- npx codebase-context-mcp
Or from a local clone:
git clone https://github.com/Jhackman2019/codebase-context-mcp.git
cd codebase-context-mcp
npm install && npm run build
claude mcp add codebase-context -s user -- node /path/to/codebase-context-mcp/dist/index.js
{
"mcpServers": {
"codebase-context": {
"command": "npx",
"args": ["codebase-context-mcp"]
}
}
}
web-tree-sitter (WASM) — same AST quality as native tree-sitter, runs on any architecture~/.codebase-context-mcp/<project-hash>.json@modelcontextprotocol/sdk| Limit | Value |
|---|---|
| Max files | 20,000 |
| Max file size | 512KB |
| Default ignores | node_modules, .git, dist, build, .venv, binaries, lock files |
| .gitignore | Respected (root level) |
npm install
npm run build # Build with tsup
npm run dev # Watch mode
npm start # Run the server
MIT