Neuronscope MCP server
Traces which neurons and attention heads drive a language model's output via MCP tools.
1 stars20 downloads/wk
Reviews
Write oneNobody has reviewed Neuronscope yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Neuronscope tools (4, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
activationsDump summary statistics for raw activation tensors (shape, mean, max-activating position) for inspection.
circuitBest-effort automated circuit discovery for a single prompt: which heads/neurons chain together to produce the output.
patchwrite actionZero-ablate one component (layer + component name) and report how the output logits changed.
tracewrite actionRun a forward pass and report the layers/heads/neurons most responsible for the model's output.
Public scan report
scanner v0.1.9 · 2026-09-23 · same rubric, same numbers if you re-run it
- Code scan11 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 29 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (1)
- mediumeval / new Function used
exec.evalneuronscope_cli-0.1.5/neuronscope/backends/transformer_lens.py: …, device=resolved_device) model.eval() return model def get_acti…
What the publisher says
From the Neuronscope repository's README, as published. We do not edit it. Read it on GitHub
NeuronScope
<!-- mcp-name: io.github.RudrenduPaul/neuronscope --> <!-- Ownership-proof string for registry.modelcontextprotocol.io publishing. Do not remove. -->
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.
Install
pip install neuronscope-cliThat 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
(gpt2 is 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.
Quickstart
neuronscope trace gpt2 "The capital of France is Paris. The capital of Japan is" --top-k 5Real 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 --jsonShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add neuronscope -- uvx neuronscope-cli
Neuronscope: common questions
- Is Neuronscope MCP server safe?
- Yes, by our scan: it is graded A (85/100). Read the Neuronscope safety report
- How do I install Neuronscope?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Neuronscope need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Neuronscope maintained?
- The last commit was 30 days ago (2026-08-25). The latest release is v0.1.5.
- What can I use instead of Neuronscope?
- Servers from other publishers that do the same job: Argent MCP server, Flutter MCP Toolkit MCP server and Hunch MCP server. Compare all Neuronscope alternatives.
Alternatives to Neuronscope
Same job from other publishers: the closest match first, then the best rated.
- ArgentDrive iOS Simulators, Android emulators, TVs and Electron/web apps from your coding agentnot reviewedWidely usedA
Flutter MCP ToolkitInspect and drive Flutter debug apps/games: semantic snapshots, search, and custom client toolsnot reviewedGrowingA- HunchFocus-free macOS control for AI agents: drive your real Mac apps in the background, no stolen focus.not reviewedGrowingA
DOMShellDrive Chrome with filesystem commands (ls, cd, grep, click, type). One MCP tool, multi-agent.not reviewedGrowingA- gflow-cliDrive Google Flow from an agent: Veo video and Imagen image generationnot reviewedGrowingA