Agent Output Verifier by SarnAI — Claude Code MCP server: what it does
Agent Output Verifier by SarnAI is an MCP server for Claude Code that checks an AI agent's JSON against a schema and business rules, including invoice totals.
MIT updated 2026-10-24
claude mcp add --transport http agent-output-verifier https://verify.sarnai.dev/mcpWhat Agent Output Verifier by SarnAI does
The server returns a pass/fail result, the share of checks passed, hints for fixing failures, and an Ed25519 signature attached to a receipt and attestation that anyone can verify with a public key, independently of the service itself. Checks are deterministic: structure, formats, ranges and rules that compare fields against each other, defined in standard JSON Schema plus optional custom rules.
The first thousand checks each day per caller are free; after that each call costs 0.02 USDC on Base or Solana through x402 v2. A separate lookup reports an AI agent's track record: 0.01 USDC when a score exists, and a free signed answer when there's no history yet. A failing result costs the same as a passing one, since the server runs the identical set of checks either way.
Setup points your client at a hosted MCP endpoint, https://verify.sarnai.dev/mcp; there's no local code to run.
What it helps with
- match an invoice's line items against its stated total before paying it
- validate a tool call's or API response's JSON against a schema before trusting it
- confirm a delivered output meets the agreed schema and rules before releasing payment
- check an AI agent's pass/fail history before relying on its work
Example prompts for the agent
- Validate this invoice JSON against
invoice.schema.jsonand the rule that line totals match the sum - Run this API response through a schema check before I pay for it
- Look up the trust score for agent agent-42 before I assign it this task
How to install Agent Output Verifier by SarnAI
Platform CLI: remote server
claude mcp add --transport http agent-output-verifier https://verify.sarnai.dev/mcpPlatform CLI: remote server
codex mcp add agent-output-verifier-by-sarnai --url https://verify.sarnai.dev/mcpConfig file
{
"mcpServers": {
"agent-output-verifier-by-sarnai": {
"url": "https://verify.sarnai.dev/mcp"
}
}
}Config file
{
"servers": {
"agent-output-verifier-by-sarnai": {
"type": "http",
"url": "https://verify.sarnai.dev/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http agent-output-verifier-by-sarnai https://verify.sarnai.dev/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Agent Output Verifier by SarnAI
How do I install Agent Output Verifier by SarnAI in Claude Code?
Run claude mcp add --transport http agent-output-verifier https://verify.sarnai.dev/mcp or claude mcp add --transport http agent-output-verifier-by-sarnai https://verify.sarnai.dev/mcp.
What does Agent Output Verifier by SarnAI do?
It checks an AI agent's JSON output against a JSON Schema and extra business rules, returning pass/fail with a signed receipt. It also offers a separate lookup for an AI agent's verification history and trust score.
What does it cost to use?
Each caller gets a thousand free checks a day, then pays 0.02 USDC per check on Base or Solana via x402. An agent score lookup costs 0.01 USDC when a score exists, otherwise it's free and signed.