The question it answers: can an agent use these instruments?
Yes. The browser server that serves the Inspector's UI also serves a Model Context Protocol endpoint at http://127.0.0.1:4310/mcp. Every instrument is a tool there, so an agent can load a model, run Read on a text, score the understanding tests, place a model on the Timeline, or ask for the Self-portrait, and reason about the results.
claude mcp add --transport http psi http://127.0.0.1:4310/mcp --header "Authorization: Bearer <token>"
The token is printed when node src/devserver.js starts, new at each launch; set PSI_MCP_TOKEN to keep one.
What an agent cannot do
Agents cannot change keys, the spending cap or the engine. Two switches in Settings are off until you turn them on: changing a model (cuts, concept erase, grow) and spending OpenRouter credit. The server answers only on this computer and only for the host names 127.0.0.1 and localhost, so other pages in your browser cannot drive it.
What it needs
The same engines as the views the agent calls. The server itself is Node.js.
SEE IT USED
Case studies that use MCP server
Each one is a published study you can repeat in the Inspector, then change to your own question.
Walkthrough videoAn agent that measures before it answersconnects Claude Code to PSI's MCP server so it scores support tickets on two quantisations and answers with numbers tied to a named file
Walkthrough videoDoes one invented fact breed another?Claude Code sent the planted invention as history to attractor_lab; the model then invented 3 of 3 unknowable answers, 0 of 3 after a true fact
Walkthrough videoDoes it matter when the correction comes?an AI assistant passed the wrong history and the correction at turn 1, 2 or 3 to attractor_lab; the wrong share fell to 0.00 the turn the correction came
Walkthrough videoWhose words hold an AI in a rut: its own, or yours?an AI assistant ran the four placed histories through attractor_lab over MCP, since the window takes no history
Walkthrough videoHow many examples beat a system-prompt rule?an AI assistant ran the Attractor lab's path test over MCP with list answers in the history; one example dropped a no-list rule from 100% to 0% on Granite
Walkthrough videoDoes praise lock an AI in the way blame unlocks it?an AI assistant passed the praised and blamed histories to attractor_lab; blame cleared the rut to 0.00 at every later turn
Questions people ask
Which agents work?
Any MCP client over HTTP: Claude Code, Codex, Gemini CLI, Cursor and others. The repository's AGENTS.md tells an assistant how to install and use the Inspector.
Can an agent reach it from another machine?
Only through a proxy that authenticates you first, with that host added to PSI_ALLOWED_HOSTS; the server then requires Cloudflare Access's identity header. Never expose the port directly.
Does the site's Prometheus use this?
No. The site's chat has its own MCP server for the essays. The in-app guide and the local MCP server are how agents reach your model.