{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "ai.spiderbrain/spiderbrain",
  "slug": "ai.spiderbrain.spiderbrain",
  "title": "Spiderbrain",
  "summary": "Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.",
  "version": "0.2.3",
  "serverKey": "spiderbrain",
  "pageUrl": "https://mcpkglabs.com/tool/ai.spiderbrain.spiderbrain",
  "installMdUrl": "https://mcpkglabs.com/tool/ai.spiderbrain.spiderbrain/install.md",
  "trust": {
    "score": 84,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T16:03:39.687308089Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "spiderbrain@0.2.3",
        "mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add spiderbrain -e 'SPIDERBRAIN_ROOT=<SPIDERBRAIN_ROOT>' -- npx -y spiderbrain@0.2.3 mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"spiderbrain\": {\n      \"args\": [\n        \"-y\",\n        \"spiderbrain@0.2.3\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SPIDERBRAIN_ROOT\": \"<SPIDERBRAIN_ROOT>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"spiderbrain\": {\n      \"args\": [\n        \"-y\",\n        \"spiderbrain@0.2.3\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SPIDERBRAIN_ROOT\": \"<SPIDERBRAIN_ROOT>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"SPIDERBRAIN_ROOT\",\n      \"id\": \"spiderbrain-root\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"spiderbrain\": {\n      \"args\": [\n        \"-y\",\n        \"spiderbrain@0.2.3\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SPIDERBRAIN_ROOT\": \"${input:spiderbrain-root}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.spiderbrain]\ncommand = \"npx\"\nargs = [\"-y\", \"spiderbrain@0.2.3\", \"mcp\"]\nenv = { \"SPIDERBRAIN_ROOT\" = \"<SPIDERBRAIN_ROOT>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://mcp.spiderbrain.ai/mcp",
      "headers": [
        {
          "name": "Authorization",
          "description": "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.",
          "isSecret": true
        }
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http spiderbrain https://mcp.spiderbrain.ai/mcp --header 'Authorization: <Authorization>'"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"spiderbrain\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://mcp.spiderbrain.ai/mcp\",\n        \"--header\",\n        \"Authorization: <Authorization>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"spiderbrain\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"url\": \"https://mcp.spiderbrain.ai/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"spiderbrain\": {\n      \"headers\": {\n        \"Authorization\": \"<Authorization>\"\n      },\n      \"type\": \"http\",\n      \"url\": \"https://mcp.spiderbrain.ai/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.spiderbrain]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://mcp.spiderbrain.ai/mcp\", \"--header\", \"Authorization: <Authorization>\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "SPIDERBRAIN_ROOT",
      "required": true,
      "secret": false,
      "description": "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.",
      "help": "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 p",
      "placeholder": "<SPIDERBRAIN_ROOT>"
    },
    {
      "name": "SPIDERBRAIN_API_KEY",
      "required": false,
      "secret": true,
      "description": "Optional. Enables the cloud why-layer used by the sb_ask tool. The structural tools work offline without it.",
      "help": "Optional. Enables the cloud why-layer used by the sb_ask tool. The structural tools work offline without it.",
      "placeholder": "<SPIDERBRAIN_API_KEY>"
    },
    {
      "name": "SPIDERBRAIN_REGISTRY",
      "required": false,
      "secret": false,
      "description": "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.",
      "help": "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.",
      "placeholder": "<SPIDERBRAIN_REGISTRY>"
    }
  ],
  "expectedTools": [
    "sb_blast",
    "sb_impact",
    "sb_path",
    "sb_keystones",
    "sb_map",
    "sb_ask"
  ],
  "agentSteps": [
    "Ask the user for: SPIDERBRAIN_ROOT. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: sb_blast, sb_impact, sb_path, sb_keystones, sb_map, sb_ask.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T16:03:39.687308089Z"
}
