Blastcode logo

Blastcode

Incremental code-graph MCP server for workspace mapping, symbol tracing, impact analysis, and pre-edit validation.

Install Blastcode

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "blastcode": {
      "command": "npx",
      "args": [
        "-y",
        "blastcode"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.

npx -y blastcode

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

blastcode builds an incremental code graph for a local workspace and exposes it to AI coding agents through MCP. Its tools provide file skeletons, symbol source, dependency traces, workspace search, change impact analysis, affected tests, and patch checks without requiring full-file reads. A background caretaker records workspace changes, while Git history supports co-change analysis. Reach for blastcode when an agent needs structural code context or a pre-edit view of likely breakage.

Use cases

  • Map an unfamiliar workspace before editing
  • Trace callers and callees before refactoring
  • Check proposed signature changes for impact
  • Find tests affected by modified files
  • Detect dead symbols and coupled files

Key features

  • Incremental local code graph
  • Workspace maps and file skeletons
  • Symbol search and relationship tracing
  • Pre-edit impact and patch validation
  • Affected-test and dead-code analysis
  • Git co-change and caretaker change tracking

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

5/5 checks healthy over the last 19d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · blastcode (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit1mo agoMost recent push to the default branch.
Install checkRunsOur sandbox started it; it then asked for an API key or config.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Blastcode works

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:

Terminal
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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Blastcode

blastcode is an MCP server that connects AI coding agents to a local workspace code graph. Its main tools map files, retrieve skeletons and symbol source, trace dependencies, estimate edit impact, verify patches, find affected tests, search code, and detect dead or co-changed files.

Install blastcode with npm, pip, Cargo, or Homebrew, or run it without installation using `npx blastcode serve` or `uvx blastcode serve`. For Claude Code, use `claude mcp add blastcode -- npx blastcode serve --root .`.

Yes, blastcode works with Cursor through an stdio MCP configuration. Add a server entry that runs `npx -y blastcode serve --root /absolute/path/to/project`; the BlastCode extension can also be installed in Cursor.

blastcode supports Python, TypeScript, JavaScript, TSX, JSX, Rust, Go, Svelte, Vue, Astro, HTML, CSS, SCSS, and LESS. The listed web formats include framework components, frontmatter, templates, and stylesheet selectors.

Use `get_impact_radius` before an edit with proposed source or after an edit against `git HEAD`. The tool analyzes the code graph for affected relationships, while `verify_patch` checks syntax and call-site argument counts before writing changes.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBlastcode AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/blastcode?style=directory)](https://allmcps.com/mcp/blastcode)
HTML Embed
<a href="https://allmcps.com/mcp/blastcode"><img src="https://allmcps.com/api/badge/blastcode?style=directory" alt="Blastcode on AllMCPs" /></a>