Install · Claude Code

Prism for Claude Code.

This agent gets the MCP server, five hooks and the prism skill. You get a file list before edits and a receipt after.

$npm install -g @prismapp/cli
$prism install claude
Your agent
YouAdd VAT to computeTotals in the billing totals
PrismPrism · files for this task:
- src/billing/totals.ts: matches compute, total
3: function computeTotals(lines: Line[])
Tests: test/invoice.test.ts, test/totals.test.ts
Run: npx vitest run test/invoice.test.ts test/totals.test.ts
AgentStarting in totals.ts and running those two tests after.
~/northwind
$ prism prepare "add VAT to invoice totals"Prepare: add VAT to invoice totalsFiles 4Tests 2Reuse 1Truncated noPATH WHYsrc/billing/invoice.ts seed filesrc/billing/totals.ts import distance 1src/checkout/summary.ts import distance 2src/lib/money.ts import distance 2Reuse invoiceTotal src/billing/invoice.ts
By hand

Or add the MCP server yourself.

Paste this into Claude Code’s MCP config. It starts the published Prism server with npx. By hand you get the MCP tools, not the hooks and skill.

Without hooks, turn on the receipt tool so the agent can ask for a receipt before it says it is done.

json~/.claude.json
{
  "mcpServers": {
    "prism": {
      "command": "npx",
      "args": [
        "-y",
        "@prismapp/mcp-server@2"
      ]
    }
  }
}
For one repo only, use .mcp.json in the repo root.
json~/.prism/config.json
{
  "extraTools": [
    "receipt"
  ]
}
Add to the file if it already has settings.

What install writes

WhereWhat
~/.claude.jsonThe Prism MCP server
~/.claude/settings.jsonFive hooks: session start, prompt, before and after an edit, stop
~/.claude/skillsThe prism skill

Then

  1. Restart Claude Code.
  2. Run prism doctor to check the setup.
  3. Ask for a change in plain words.
  4. When the agent stops, the verdict appears in the chat.