Skip to main content

Spiderbrain

ai.spiderbrain/spiderbrain

v0.2.3Updated Aug 22, 2026stdio · npmremote · http

Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add --transport http --header 'Authorization: <your-authorization>' spiderbrain https://mcp.spiderbrain.ai/mcp

Configuration

4 settings.

  • SPIDERBRAIN_ROOT
    Env var· required
    Absolute path to the repository to serve, which must already contain a committed .spiderbrain/ folder. Set this: an MCP client's working directory is usually not your repository, and without it the server serves the working directory and reports that no understanding layer was found. Equivalent to passing --root.
  • Authorization
    Header· optional· secret
    Optional. This server implements the MCP OAuth flow (dynamic client registration and PKCE), so a client that supports it can connect with no token: leave this blank. For headless or CLI use, set 'Bearer sb_live_...' with an API key from your Spiderbrain dashboard. Either way the hosted brain requires an existing Spiderbrain account with an uploaded brain.
  • SPIDERBRAIN_API_KEY
    Env var· optional· secret
    Optional. Enables the cloud why-layer used by the sb_ask tool. The structural tools work offline without it.
  • SPIDERBRAIN_REGISTRY
    Env var· optional
    Optional. Base URL of the public brain registry this server consults on the first tool call when the repository has no committed .spiderbrain/ folder. Defaults to https://spiderbrain.ai/registry.

Listed in the official MCP Registry since Aug 22, 2026. Mirrored daily; last checked Nov 26, 2026.