Skip to main content
Glama

Xzar MCP server

Crash-test your AI agent on real professional decisions. Xzar gives your agent real cases, cut at the moment of decision, and grades its answer against what the professional actually decided. Most cases were decided after current models were trained, so they can't have been memorized; fresh ones are added monthly.

Live today:

  • Tariff classification: real U.S. classification decisions, graded exactly at 2, 4, 6, 8 and 10 digits, with a consistency check (the same case asked twice). Testing a tariff classifier? See https://xzar.si/scorecard

  • Patent examination: first action, response and appeal.

More fields are on the way; ask for yours at https://xzar.si.

Setup

  1. Get an API key (with $5 of free credit) at https://xzar.si/signup.html

  2. Add the server to your MCP client:

{
  "mcpServers": {
    "xzar": {
      "command": "uvx",
      "args": ["xzar-mcp"],
      "env": { "XZAR_API_KEY": "your-key" }
    }
  }
}

Related MCP server: IncidentIQ

Hosted connector (no install)

In Claude or any MCP client that supports remote servers: add https://api.xzar.si/mcp and sign in with your Xzar API key.

Claude plugin

The plugin/ folder is the Xzar plugin for Claude. It bundles the hosted connector with two skills: crash-test, which runs a task end to end and explains the score, and xzar-request, for custom tests, pilots, quotes and training access. In Claude Code:

/plugin install xzar --marketplace xzar-si/xzar-mcp

Tools

Tool

What it does

start_task

Start a task: the case, the instructions and the tool budget

search_library

Search the case's reference library

read_publication

Read one library item

search_rules

Search the professional rulebook for the task

read_rule

Read one rulebook section

submit_answer

Submit the decision; returns the exact score and the grade receipt

request_service

Ask for a custom test for your field, a pilot, a quote, or training access; get a reference and next steps

get_scorecard

Your agent's scorecard across tasks

get_usage

Credit balance and usage

Answer keys never leave Xzar's servers. This package holds no tasks; it calls the Xzar API with your key.

Pricing

Prepaid credits, charged per task. See https://xzar.si/docs.html. Pilots and ongoing testing: https://xzar.si.

Available Tools

9 tools
get_scorecardGet your scorecardA
Read-onlyIdempotent
Inspect

Get your agent's scorecard across all finished episodes: scores by skill and the failure types it hits most often. Read-only; no credit used.

Inputs: no named parameters.

get_usageGet your credit balance and usageA
Read-onlyIdempotent
Inspect

Get your credit balance and your most recent charges and top-ups. Read-only; no credit used.

Inputs: no named parameters.

read_publicationRead a library publicationA
Read-onlyIdempotent
Inspect

Read the full text of one publication from the case's library, by the id search_library returned. Use it to check whether a reference really discloses what the claim requires. Counts against the tool budget.

Inputs: episode_id (required), publication (required).

read_ruleRead a rulebook sectionA
Read-onlyIdempotent
Inspect

Read one rulebook section by its number, as returned by search_rules. Returns the section text.

Inputs: section (required), episode_id (required).

request_serviceRequest a custom test, pilot, quote or training accessAInspect

Ask Xzar for something not available self-serve: a custom test for a field, a pilot, a quote, or training access. Returns a reference, next steps and pricing; Xzar replies by email within one business day. Does not use credit.

Inputs: type (required), email (required), name, field, +5 more.

search_librarySearch the case's reference libraryA
Read-onlyIdempotent
Inspect

Search the case's reference library (patent cases: prior-art publications dated before the filing date). Use it to find evidence before deciding. Returns matching publication ids with titles and snippets; read one with read_publication. Counts against the tool budget.

Inputs: query (required), episode_id (required).

search_rulesSearch the rulebookA
Read-onlyIdempotent
Inspect

Search the professional rulebook for the case (patent cases: the examination manual examiners follow). Use it to find the legal test that applies. Returns section numbers and titles; read one with read_rule.

Inputs: query (required), episode_id (required).

start_taskStart an evaluation taskAInspect

Start a new evaluation task (one episode) and get the case. Call this first. Returns the episode id (needed by every other episode tool), the case instructions, the answer format and the tool budget. Uses one task of credit; a start that fails on Xzar's side is refunded.

Inputs: task_id, taskset.

submit_answerSubmit the agent's answer for gradingAInspect

Submit the final decision for the episode, as a JSON object in the format start_task gave (tariff cases: {"code": "8471300100"}, 10 digits, 8 accepted). One answer per episode; it ends the episode. Returns the exact score against what the professional actually decided, plus a grade receipt. The answer key itself is never shown.

Inputs: answer (required), episode_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool has a clearly distinct role in the evaluation workflow: start/submit bookend an episode, search/read pairs target either the reference library or the rulebook, and the remaining tools handle support and account metrics. The two search/read pairs are parallel but explicitly separated by resource type, so an agent can reliably choose between prior-art evidence and legal rules.

    Naming Consistency5/5

    All tool names use a consistent snake_case verb_noun convention: start_task, search_library, read_publication, search_rules, read_rule, submit_answer, request_service, get_scorecard, get_usage. The verbs are predictable and accurately reflect each tool's action.

    Tool Count5/5

    Nine tools is well-scoped for an evaluation workflow: a compact lifecycle plus research, submission, support, and account tools. No tool appears redundant, and the set avoids overwhelming the agent while covering the needed operations.

    Completeness4/5

    The core evaluation lifecycle is covered: start, search/read both evidence sources, submit, and then inspect score and usage. Minor gaps exist around active-episode management, such as re-fetching an open episode's instructions or listing active episodes, but these are likely workarounds rather than dead ends.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Injects structured professional domain expertise into AI agents, providing access to decision frameworks, workflows, terminology, and regulatory context across 24 professional domains.
      81 npm
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to autonomously investigate simulated production incidents by checking live service health, logs, deployments, and database status while retrieving relevant historical postmortems and runbooks to propose evidence-backed root causes.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents to evaluate single records or batches with dynamically authored typed questions, returning structured decisions and probabilities.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables deterministic verification of AI agent decisions and actions, providing PASS/FAIL/ABSTAIN verdicts with replayable proofs and an optional signed receipt ledger.
      Apache 2.0