# blastcode [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/isaim0011/blastcode  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/blastcode

## Description
Incremental code-graph MCP server and blast-radius engine for AI coding agents

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "blastcode": {
    "command": "npx",
    "args": ["-y","blastcode"]
  }
}
```

## Documentation

## What blastcode does

blastcode combines a local code-graph engine, an MCP server, and a blast-radius analyzer for coding agents. It indexes a workspace into `.blastradius/index.db`, records symbols and references, and lets an agent inspect structure without loading every file into context.

The server is suited to repository orientation, targeted code retrieval, refactoring analysis, and change verification. It supports Python, TypeScript, JavaScript including TSX and JSX, Rust, Go, Svelte, Vue, Astro, HTML, CSS, SCSS, and LESS. The CLI and MCP interfaces expose the same general analysis workflow.

## How it works

Run the server over stdio with a project root, then configure an MCP host to launch it. The index can be built or refreshed with `blast index`. Queries use a local Tree-sitter and SQLite-based index, and the watcher can stream AST-level workspace changes through `blast watch`.

A typical agent workflow starts with `get_workspace_map` to understand directories and exports. It can then request a file context or skeleton, retrieve one symbol’s source, trace callers and callees, inspect proposed impact, validate a patch, and locate affected tests. `get_workspace_changes` exposes changes recorded by the caretaker watcher. Git commit history is used by co-change analysis to identify files that often change together.

## Setup and configuration

Install with one of the supported package routes:

- Run directly with `npx blastcode serve`.
- Run through Python tooling with `uvx blastcode serve` or install with `pip install blastcode`.
- Install the Rust binary with `cargo install blastcode`.
- Install through Homebrew with `brew install isaim0011/tap/blastcode`.
- Install the BlastCode extension from the VS Code or Open VSX marketplace.

For Claude Code, register the server with:

```bash
claude mcp add blastcode -- npx blastcode serve --root .
```

Other stdio hosts can use `npx -y blastcode serve --root /absolute/path/to/project` as the command and arguments in their MCP configuration. The `--root` value identifies the workspace to analyze.

## Tools and capabilities

The MCP interface provides 14 tools:

- `get_workspace_map` lists the directory tree and exported symbols.
- `get_file_context` combines a skeleton, import classification, dependents, and recent edits.
- `get_file_skeleton` shows a file outline with line numbers.
- `get_symbol_source` extracts the lines for one symbol.
- `search_symbols` performs fuzzy symbol lookup across the workspace.
- `trace_symbol` reports definitions, callers, callees, and type usages with confidence labels.
- `get_impact_radius` examines proposed signature changes or working-tree changes.
- `query_graph` filters graph records by kind, name, path, relationships, and export status.
- `get_workspace_changes` reads the caretaker change journal.
- `get_affected_tests` identifies related tests and generates targeted commands for common ecosystems.
- `verify_patch` checks proposed syntax and call-site arity before changes are written.
- `get_co_changed_files` uses Git history to find frequently paired files.
- `find_dead_code` detects unreferenced or orphaned functions and classes.
- `grep_workspace` performs multi-threaded regex and token search while respecting `.gitignore` and skipping binaries.

## Limitations and notes

Analysis depends on the workspace index and its supported language parsers. Impact analysis can inspect a proposed `new_source` value or compare the working tree with `git HEAD`; it is intended as a pre-edit check rather than a replacement for running the project’s full test suite. The server is distributed under the MIT license.

_Full upstream README: https://allmcps.com/mcp/blastcode/readme_

