Context Bunker MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Context Bunker MCPFind unused exports in the current project."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Context Bunker MCP 🏗️
Stop wasting tokens on orientation. Pre-computed codebase intelligence for AI coding tools. One command. Code never leaves your machine.
What is this?
AI coding agents spend ~80% of tokens just figuring out where things are — re-reading files, tracing imports, grepping for symbols. Every. Single. Session.
Context Bunker fixes this. It's an MCP server that indexes your codebase using tree-sitter AST parsing and gives your AI tools instant access to structural intelligence — dependency graphs, call trees, dead code, cross-session diffs — all from a local SQLite database.
One call replaces 8-16 grep/read calls. ~90% token savings. Zero cloud. Zero API keys.
Works with Claude Code, Cursor, Windsurf, Copilot, and any MCP-compatible client.
Why not just grep? Grep finds text. Context Bunker understands structure — dependency graphs, cross-session memory, dead code detection, and token-efficient summaries. Things grep structurally can't do. Full comparison.
Related MCP server: code-cache-mcp
Setup
Install
# Run directly — no install needed
bunx context-bunker-mcp /your/project
# Or install globally
bun install -g context-bunker-mcp
# No Bun? npx / npm work tooAdd to your AI tool
Claude Code:
# With a project (auto-indexes on startup)
claude mcp add context-bunker -- bunx context-bunker-mcp /your/project
# Without a project (AI calls set_project dynamically)
claude mcp add context-bunker -- bunx context-bunker-mcp
# No Bun? npx work tooCursor / Windsurf / VS Code — add to settings.json:
{
"mcpServers": {
"context-bunker": {
"command": "bunx",
"args": ["context-bunker-mcp", "/your/project"]
}
}
}Tools (16)
Tool | What it does |
🔥 | What changed since the AI last looked. No more re-orientation. |
🔥 | Dead code detection — exported but never imported anywhere. |
🔥 | Find dead internal code — functions, classes, variables, types never referenced. |
🔥 | File overview in ~50 tokens. Scan 10 files for the cost of 1. |
🔥 | Find structural patterns: HTTP calls, env access, error handlers, async, TODOs. |
🧠 | Full file context in 1 call — imports, exports, dependents, types, tests. |
🧠 | "If I change this, what breaks?" — transitive import graph with depth control. |
🧠 | AST-aware symbol search by name, kind, and scope. Not text matching. |
🧠 | Where a symbol is used, classified by kind (import, call, type annotation). |
🧠 | What a function calls, recursively, as a tree. |
🧠 | Extract one definition — not the whole file. 80% token savings. |
🧠 | Architecture overview: modules, public APIs, relationships. |
🔧 | Point the index at any project directory on the fly. |
🔧 | Semantic search via local TF-IDF. No API keys needed. |
🔧 | Force re-index of the codebase or a single file. |
🔧 | Index health, file counts, token savings estimate. |
🔥 Unique 🧠 Core Intelligence 🔧 Housekeeping
Language Support
TypeScript, JavaScript (TSX/JSX/MTS/CTS), Python, Go, Rust, Java, C#
Powered by tree-sitter WASM grammars. Adding a new language = one extractor file in src/languages/.
Tech Stack
Runtime | Bun (Node.js fallback) — |
MCP |
|
AST |
|
Storage | SQLite (WAL mode) — single file, survives restarts |
Search | TF-IDF (local) — zero API keys, no cloud |
Watch |
|
Storage
The index lives in your OS cache directory — not inside the project. No .gitignore needed.
Platform | Location |
macOS |
|
Linux |
|
Windows |
|
Want it inside the project instead? Use --local or set { "storage": "local" } in .context-bunker.json.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceAn MCP server that gives AI agents structured code understanding and precise code intelligence via local indexing of AST, call graphs, and semantic search.Last updated964Apache 2.0
- Alicense-qualityBmaintenanceA persistent, tree-sitter-backed code knowledge cache MCP server that reduces token usage by storing parsed structure and enabling fast symbol lookup, inheritance graph, call graph, and semantic search.Last updated1MIT
- Alicense-qualityCmaintenanceUniversal MCP server that analyzes any codebase and provides structured context to AI assistants. Dynamic, accurate, and token-efficient.Last updated12MIT
- Alicense-qualityAmaintenanceMCP server for local-first code intelligence, providing structural code graph, semantic search, and impact analysis to AI agents.Last updated1MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Local-first RAG engine with MCP server for AI agent integration.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tonghaoch/context-bunker-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server