Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Descripción del creador (original en inglés)
Traces which neurons and attention heads drive a language model's output via MCP tools.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"neuronscope": {
"command": "uvx",
"args": [
"neuronscope-cli",
"neuronscope-mcp"
]
}
}
}Ejecuta esto en tu terminal
claude mcp add neuronscope -- uvx neuronscope-cli neuronscope-mcpPégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"neuronscope": {
"command": "uvx",
"args": [
"neuronscope-cli",
"neuronscope-mcp"
]
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"neuronscope": {
"type": "stdio",
"command": "uvx",
"args": [
"neuronscope-cli",
"neuronscope-mcp"
]
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 8 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub RudrenduPaul, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (0.1.5) llegó al registro hace 3 meses.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.
En la misma categoría: Spec Driven Development, Remote Desktop Commander, SwarmMemo
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:↓ Descargas por semanai★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Talk with agent swarms: rooms, private messages and paid tasks for AI agents
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
Ask a language model "why did you say that" and get back the actual attention heads and neurons responsible, as JSON, from the command line or from an agent over MCP.
pip install neuronscope-cli
That gets you the neuronscope command. To install from source instead (for development or to track main):
git clone https://github.com/RudrenduPaul/NeuronScope
cd NeuronScope pip install -e .
[!NOTE]
The first run of any command downloads the requested model from the HuggingFace Hub
(
gpt2is about 500MB) and prints two lines to stderr that are expected, not errors: a
CPU-fallback notice if you don't have a CUDA GPU, and an unauthenticated-HF-Hub
rate-limit notice. Neither one means anything broke.
neuronscope trace gpt2 "The capital of France is Paris. The capital of Japan is" --top-k 5
Real output from this exact command (stderr trimmed to the two expected warnings mentioned above):
Prompt: The capital of France is Paris. The capital of Japan is
Predicted next token: ' Tokyo' Top attention heads (by direct logit attribution) ┏━━━━━━━┳━━━━━━┳━━━━━━━━━━━━━━━━━━━┓ ┃ Layer ┃ Head ┃ Logit attribution ┃ ┡━━━━━━━╇━━━━━━╇━━━━━━━━━━━━━━━━━━━┩ │ 9 │ 8 │ 4.0679 │ │ 8 │ 11 │ 2.9028 │ │ 10 │ 7 │ -1.4782 │ │ 8 │ 10 │ -1.3999 │ │ 10 │ 0 │ 1.1424 │ └───────┴──────┴───────────────────┘ Top MLP neurons (by activation magnitude) ┏━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┓ ┃ Layer ┃ Neuron ┃ Activation ┃ ┡━━━━━━━╇━━━━━━━━╇━━━━━━━━━━━━┩ │ 10 │ 97 │ 7.8394 │ │ 11 │ 611 │ 4.6954 │ │ 11 │ 2997 │ 4.6468 │ │ 10 │ 1793 │ 4.5443 │ │ 9 │ 1460 │ 4.4196 │ └───────┴────────┴────────────┘
gpt2 predicts Tokyo correctly, and head L9H8 is the single biggest contributor to that prediction. Add --json to get the machine-readable version of the same result:
neuronscope trace gpt2 "The capital of France is Paris. The capital of Japan is" --top-k 3 --json
{
"schema_version": 1, "operation": "trace", "model": { "requested_name": "gpt2", "resolved_name": "gpt2", "backend": "transformer_lens", "device": "cpu", "n_layers": 12, "n_heads": 12, "d_model": 768, "d_mlp": 3072 }, "prompt": "The capital of France is Paris. The capital of Japan is", "predicted_token": " Tokyo", "predicted_token_id": 11790, "top_neurons": [ { "layer": 10, "neuron_index": 97, "activation": 7.839381217956543 }, { "layer": 11, "neuron_index": 611, "activation": 4.695372581481934 }, { "layer": 11, "neuron_index": 2997, "activation": 4.646785736083984 } ], "top_heads": [ { "layer": 9, "head_index": 8, "logit_attribution": 4.067923545837402 }, { "layer": 8, "head_index": 11, "logit_attribution": 2.9028172492980957 }, { "layer": 10, "head_index": 7, "logit_attribution": -1.4781968593597412 } ] }
NeuronScope is a CLI and MCP server built on top of TransformerLens. TransformerLens does the actual model loading, hooking, and activation math; NeuronScope adds a stable CLI, a versioned JSON schema, and an MCP server around it, so a script or an agent can ask "which components drove this output" without writing TransformerLens code directly.
resid_pre, resid_mid, resid_post, attn_out, mlp_out, or mlp_post) at a given layer and reports how the predicted token and its logit changed.--json output says so explicitly in its method field.--json for a schema_version-stamped document instead of a table, and the same four operations are exposed as MCP tools returning the identical shape via .model_dump(), so a CLI call and an MCP tool call produce the same document for the same input.transformer_lens.HookedTransformer.from_pretrained supports. Installing neuronscope-cli today pulls TransformerLens 3.6.0, which supports 249 pretrained checkpoints and aliases (OFFICIAL_MODEL_NAMES), covering GPT-2, Pythia, Llama, Gemma, Qwen, and more. Small models like gpt2 run comfortably on CPU.NeuronScope does not replace TransformerLens, nnsight, SAELens, Anthropic's circuit-tracer, or Neuronpedia. It wraps TransformerLens for one narrower job: fast, scriptable, agent-callable component tracing on a single prompt. It leaves deeper mechanistic work (SAE training, transcoder-based circuit graphs, hosted feature browsing) to those tools.
Every command takes MODEL (any name HookedTransformer.from_pretrained accepts, for example gpt2 or EleutherAI/pythia-70m) and PROMPT as positional arguments.
| Command | Extra flags | What it does | |||||
|---|---|---|---|---|---|---|---|
neuronscope trace MODEL PROMPT | --top-k INTEGER (default 10), --json | Ranks top attention heads (logit attribution) and MLP neurons (activation magnitude) for the predicted next token | |||||
neuronscope activations MODEL PROMPT | --json | Dumps per-layer activation summary stats (residual stream, MLP, attention pattern) | |||||
neuronscope patch MODEL PROMPT | --layer INTEGER (required), `--component [resid_pre\ | resid_mid\ | resid_post\ | attn_out\ | mlp_out\ | mlp_post] (required), --json` | Zero-ablates one component and reports the logit/prediction delta |
neuronscope circuit MODEL PROMPT | --top-k INTEGER (default 10), --json | Best-effort circuit sketch via ranked single-component ablation | |||||
neuronscope mcp-server | none | Starts the MCP server over stdio |
Global: neuronscope --version, neuronscope --help. Exit codes: 0 success, 1 a runtime error (prompt too long for the model's context window, --layer out of range, etc.), 2 a Click usage error (bad flags), 3 an unsupported model name.
NeuronScope ships a Model Context Protocol server so an AI agent (Claude, Cursor, or any MCP-compatible client) can trace, inspect, ablate, and sketch circuits directly, without a human invoking the CLI by hand.
Install the extra:
pip install "neuronscope-cli[mcp]"
Add it to your MCP client's config (for Claude Desktop, claude_desktop_config.json):
{
"mcpServers": { "neuronscope": { "command": "uvx", "args": ["--from", "neuronscope-cli", "neuronscope-mcp"] } } }
The server exposes four tools, trace, activations, patch, and circuit, each returning the identical pydantic-model-shaped JSON the CLI's --json flag prints, via .model_dump(), so an agent calling this server and a script calling the CLI get the same document for the same input. A real trace call and its response:
trace(model="gpt2", prompt="The capital of France is Paris. The capital of Japan is", top_k=3)
{ "schema_version": 1, "operation": "trace", "predicted_token": " Tokyo", "predicted_token_id": 11790, "top_neurons": [ { "layer": 10, "neuron_index": 97, "activation": 7.839381217956543 } ], "top_heads": [ { "layer": 9, "head_index": 8, "logit_attribution": 4.067923545837402 } ] }
Errors never raise across the tool boundary: every handler catches its exceptions and returns a structured ErrorResponse dict instead, so a calling agent always gets a parseable result.
[!WARNING]
NeuronScope caps model size (2B parameters by default,
NEURONSCOPE_MAX_MODEL_PARAMS)
and how many models can load at once (1 by default,
NEURONSCOPE_MAX_CONCURRENT_LOADS),
but puts no timeout on model loading or forward passes. If you expose this MCP server
somewhere an untrusted agent can call it, still put a resource limit around the process
(a cgroup,
ulimit, or a container memory/CPU cap) as defense in depth rather than
relying on these in-process caps alone.
Transport is stdio, so there is nothing to host: the MCP client spawns the server as a local subprocess. Source: neuronscope/mcp_server.py.
.mcp.json in your repo root, or you can add it with claude mcp add neuronscope -- neuronscope-mcp.claude_desktop_config.json (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows), under the same "mcpServers" key.neuronscope mcp-server CLI subcommand still works as a local, non-uvx alternative that runs the same server over stdio from an existing install.All five of these are real, actively maintained projects doing different jobs. This table compares CLI/JSON-agent-output surface and model coverage, not depth of interpretability research, where TransformerLens, nnsight, SAELens, circuit-tracer, and Neuronpedia are all more mature than NeuronScope. Star counts, release info, and last-push dates below were pulled from each project's GitHub API on 2026-08-03 and will drift over time; check the repos directly for current numbers.
| Project | Stars | Last activity | CLI | Agent-callable structured output | Model coverage |
|---|
| TransformerLens | 3,750 | v3.6.0 released 2026-07-28, pushed 2026-08-03
Solo se muestra el principio; lee el resto en el repo