MCP Server Studio
Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.
Registry name: ai.spiderbrain/spiderbrain
Add to claude_desktop_config.json:
{
"mcpServers": {
"spiderbrain": {
"command": "npx",
"args": [
"-y",
"spiderbrain@0.2.3",
"mcp"
],
"env": {
"SPIDERBRAIN_ROOT": "<SPIDERBRAIN_ROOT>",
"SPIDERBRAIN_API_KEY": "<SPIDERBRAIN_API_KEY>",
"SPIDERBRAIN_REGISTRY": "<SPIDERBRAIN_REGISTRY>"
}
}
}
}Run in your terminal:
claude mcp add spiderbrain -e SPIDERBRAIN_ROOT='<SPIDERBRAIN_ROOT>' -e SPIDERBRAIN_API_KEY='<SPIDERBRAIN_API_KEY>' -e SPIDERBRAIN_REGISTRY='<SPIDERBRAIN_REGISTRY>' -- npx -y spiderbrain@0.2.3 mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"spiderbrain": {
"command": "npx",
"args": [
"-y",
"spiderbrain@0.2.3",
"mcp"
],
"env": {
"SPIDERBRAIN_ROOT": "<SPIDERBRAIN_ROOT>",
"SPIDERBRAIN_API_KEY": "<SPIDERBRAIN_API_KEY>",
"SPIDERBRAIN_REGISTRY": "<SPIDERBRAIN_REGISTRY>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"spiderbrain": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"spiderbrain@0.2.3",
"mcp"
],
"env": {
"SPIDERBRAIN_ROOT": "<SPIDERBRAIN_ROOT>",
"SPIDERBRAIN_API_KEY": "<SPIDERBRAIN_API_KEY>",
"SPIDERBRAIN_REGISTRY": "<SPIDERBRAIN_REGISTRY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"spiderbrain": {
"command": "npx",
"args": [
"-y",
"spiderbrain@0.2.3",
"mcp"
],
"env": {
"SPIDERBRAIN_ROOT": "<SPIDERBRAIN_ROOT>",
"SPIDERBRAIN_API_KEY": "<SPIDERBRAIN_API_KEY>",
"SPIDERBRAIN_REGISTRY": "<SPIDERBRAIN_REGISTRY>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"spiderbrain": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.spiderbrain.ai/mcp",
"--header",
"Authorization: <Authorization>"
]
}
}
}Run in your terminal:
claude mcp add --transport http spiderbrain https://mcp.spiderbrain.ai/mcp --header 'Authorization: <Authorization>'Add to .cursor/mcp.json:
{
"mcpServers": {
"spiderbrain": {
"url": "https://mcp.spiderbrain.ai/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"spiderbrain": {
"type": "http",
"url": "https://mcp.spiderbrain.ai/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"spiderbrain": {
"serverUrl": "https://mcp.spiderbrain.ai/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
SPIDERBRAIN_ROOT | Yes | 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… |
SPIDERBRAIN_API_KEY | No | Optional. Enables the cloud why-layer used by the sb_ask tool. The structural tools work offline without it. |
SPIDERBRAIN_REGISTRY | No | 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. |