⚡ BlastCode (blast)
Know what breaks before your agent edits.
An ultra-fast incremental code-graph engine, Model Context Protocol (MCP) server, and blast-radius analyzer for AI coding agents.
Features • Installation • Agent Integration • CLI Commands • Languages • Roadmap
⚡ Real-World Benchmarks & Live Demos
| Operation | Brute Force (Standard Agent) | With BlastCode | Real Savings |
|---|---|---|---|
Inspect File Structure (src/tools.rs) |
5,578 tokens (Full file read) | 416 tokens (blast skeleton) |
🟢 92.5% Token Reduction |
Edit 1 Function (format_event) |
5,578 tokens (Full file read) | 560 tokens (blast source) |
🟢 90.0% Token Reduction |
| Workspace Orientation (14 files) | ~35,000 tokens (Reading files) | 640 tokens (blast map) |
🟢 98.2% Token Reduction |
| Detect Signature Breakage | Fail + 30,000 token debug loop | 0 tokens wasted (blast impact) |
🟢 Eliminates regressions |
| Query Latency | 3.5s – 12.0s (Cloud LLM reading) | < 15ms (Local Tree-sitter SQLite) | ⚡ Instant responses |
🖥️ Live Preview 1: Surgical Skeleton (Instead of reading whole files)
🖥️ Live Preview 2: The Caretaker Change Digest (Zero-Token Sync)
🖥️ Live Preview 3: Pre-Edit Blast Radius (Know what breaks before editing)
🚀 Installation & Zero-Install Running
Via npm / npx (Universal Zero-Install)
# Run stdio MCP server anywhere immediately:
# Or install globally:
Via Python / PyPI / uvx
# Run stdio MCP server via uv:
# Or install via pip:
Via Cargo (Rust)
Via Homebrew (macOS / Linux)
Via Smithery / PulseMCP Registry
Via VS Code / Cursor Extension
Install BlastCode from Open VSX or the VS Code Marketplace:
# Or in Cursor:
🤖 Agent Integration (MCP)
BlastCode works natively with any Model Context Protocol host (Claude Code, Cursor, Windsurf, Cline, Smithery).
Claude Code
Cursor / Windsurf / Claude Desktop (mcp.json)
Instruct Your Agent (AGENTS.md / CLAUDE.md)
Add this instruction block so your AI agent uses BlastCode instead of brute-force reading files:
🛠️ MCP Tools Overview (14 Intelligent Capabilities)
| Tool | Purpose |
|---|---|
get_workspace_map |
Directory tree annotated with exported symbols per file. Call first. |
get_file_context |
Skeleton + classified imports (internal vs external) + dependents + recent edits in one call. |
get_file_skeleton |
Outline of a file without function bodies, with line numbers. |
get_symbol_source |
Surgical extraction of one symbol's exact lines instead of whole-file reads. |
search_symbols |
Fuzzy symbol lookup across the entire workspace (multi-word, camelCase/snake_case). |
trace_symbol |
Definition + callers / callees / type usages tagged with confidence (exact, probable, heuristic). |
get_impact_radius |
Pre-edit: test proposed signature changes. Post-edit: inspect working tree vs git HEAD. |
query_graph |
Structural filter by kind, name, path, callers, callees, and export status. |
get_workspace_changes |
View the change journal recorded by the caretaker background watcher. |
get_affected_tests |
🧪 Discovers test files/symbols covering changed files & generates targeted CLI test commands (cargo test, pytest, npm test, go test). |
verify_patch |
🛡️ Pre-flight validation of proposed code edits in memory: checks AST syntax and call-site arities before saving to disk. |
get_co_changed_files |
🔗 Mines Git commit history to discover files that frequently change together (implicit dependencies). |
find_dead_code |
🧹 Code graph analysis detecting unreferenced, dead, or orphaned functions and classes across the codebase. |
grep_workspace |
🔍 High-speed multi-threaded regex and token search across workspace files. Respects .gitignore, skips binaries. |
💻 CLI Reference
You can also use blast directly from your terminal:
🌐 Supported Languages (10 Languages)
| Tier | Languages | Grammar Feature Flag |
|---|---|---|
| Core | Python, TypeScript, JavaScript (TSX/JSX), Rust, Go | Included by default |
| Extended | Java, C#, C, C++, PHP, Ruby | Cargo features (lang-java, lang-csharp, lang-c, lang-cpp, lang-php, lang-ruby) |
Swift and Kotlin support are scheduled next.
🗺️ Universal Ecosystem Roadmap
- v0.1.0: Core Rust engine, 10 languages, MCP server, CLI (
blast). - crates.io: Official publication under
blastcode. - PyPI / uv:
pip install blastcode/uvx blastcode serve. - npm / npx:
npx blastcode serve. - Homebrew Tap:
brew install isaim0011/tap/blastcode. - VS Code / Cursor Extension: Embedded companion status and auto-launch.
📄 License
Licensed under the MIT License.