explaingit

saroircommunity/spiderbrain-v3

Analysis updated 2026-05-18

29JavaScriptAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

A tool that builds a queryable map of your codebase's files and dependencies so AI coding assistants understand project context without rereading everything.

Mindmap

mindmap
  root((SpiderBrain v3))
    What it does
      Map files
      Track dependencies
      Score importance
    Tech stack
      Node.js
      MCP server
      JSON graph
    Use cases
      AI context
      Blast radius check
      Changelog
    Audience
      Developers
      AI tool users
    License
      BUSL core
      Apache adapters

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Give Claude Code or Cursor automatic project context via session hooks or an MCP server.

USE CASE 2

Simulate the blast radius of changing a specific file before making the change.

USE CASE 3

Identify structural anchor files that many others depend on.

USE CASE 4

Keep a curated changelog of why past decisions were made, separate from the auto-generated graph.

What is it built with?

Node.jsJavaScriptMCP

How does it compare?

saroircommunity/spiderbrain-v3able-rip/cc-visionrouteraisatan/poe2dire
Stars292929
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyeasyeasyeasy
Complexity2/52/51/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires only Node.js 18 or newer, no npm packages needed.

The core engine requires a commercial license for hosted or deployed products but is free for personal, educational, and open-source use, platform adapters are Apache 2.0.

In plain English

SpiderBrain v3 is a tool that analyzes your software project and builds a structured, queryable map of it, which AI coding assistants like Claude or Cursor can consult to understand the codebase without having to read through every file from scratch on each request. The README describes the problem it solves as "project Alzheimer's": the gradual loss of context about why files exist, what depends on what, and why past decisions were made. When you run SpiderBrain on a project, it builds a brain folder next to your code. That folder contains a single JSON graph of every file (called a node) and every dependency relationship (called a synapse). Each node gets two scores: a mass score representing how many other files depend on it and how badly things would break if it changed, and a rhythm score tracking how frequently the file is modified. Files with high mass and low rhythm are flagged as masters, meaning they are structural anchors the rest of the project depends on. The brain folder also includes readable markdown summaries ranked by importance and recency, a cluster view grouping related files, a curated changelog for recording why decisions were made, and a deploy log. A cascade engine lets you simulate what would break if a specific file had a fault, tracing the failure along the dependency graph and reporting the blast radius before you make a change. Curated entries like importance overrides, cluster rules, and the changelog survive rebuilds because they are kept separately from the auto-generated graph. The tool integrates with AI tools in two ways. For Claude Code, it wires into session and per-prompt hooks so the brain context is automatically included when the AI starts working. For other tools including Cursor, Zed, and Continue, it runs as an MCP server that exposes four on-demand functions: a brief for per-prompt context, a file lookup, the cascade blast-radius check, and a drift audit. No npm packages are required, only Node 18 or newer. The core engine is licensed under BUSL 1.1, which allows free personal, educational, and open-source use but requires a commercial license for hosted or deployed products. The platform adapters are Apache 2.0. The README includes measured token-reduction benchmarks from real projects, including a 77 percent reduction in tool calls on a 154-node Next.js project.

Copy-paste prompts

Prompt 1
Set up SpiderBrain on this project and show me the resulting brain folder structure.
Prompt 2
Run the cascade engine to check what would break if I changed this file.
Prompt 3
Show me which files in this project are flagged as masters and why.
Prompt 4
Wire SpiderBrain into Claude Code so context loads automatically each session.
Prompt 5
Explain the mass and rhythm scores SpiderBrain assigns to each file.

Frequently asked questions

What is spiderbrain-v3?

A tool that builds a queryable map of your codebase's files and dependencies so AI coding assistants understand project context without rereading everything.

What language is spiderbrain-v3 written in?

Mainly JavaScript. The stack also includes Node.js, JavaScript, MCP.

What license does spiderbrain-v3 use?

The core engine requires a commercial license for hosted or deployed products but is free for personal, educational, and open-source use, platform adapters are Apache 2.0.

How hard is spiderbrain-v3 to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is spiderbrain-v3 for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.