Parameter Space Inspector

INSTRUMENT / GUIDE AND AGENTS

MCP server

Every instrument in the Inspector is also an MCP server, so an AI agent such as Claude Code can study a model on your machine the way you do, with a per-launch token and switches you control.

Updated 2026-10-16 · Markdown version

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.

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.