Seeded, fully synthetic U.S. medical-billing specimen documents — Medicare Summary Notices, hospital itemized bills and Medicare Advantage explanations of benefits — rendered to PDF with ground-truth JSON that says exactly which billing errors were injected and where. For testing document extractors, bill-review tools and agents without ever touching a real person's paperwork.
The standard set is 1,022 blind documents over all 34 published scenarios: 260 Medicare Summary Notices (13 scenarios x 20 seeds), 250 itemized bills (5 x 50), 256 PPO EOBs (8 x 32) and 256 HMO EOBs (8 x 32). Bills and EOBs turn through the standard layout and its 12 variants; one document in five is a degraded copy (scan, fax, photo, low resolution in turn); every notice and EOB has its 835. Layout, preset and 835 turn alike for every scenario, so none tells the scenario.
claimseed 0.6.0's copy is attached to the GitHub release v0.6.0: claimseed-0.6.0-standard-documents.zip unzips to claimseed-0.6.0-standard/documents/ (PDFs, 835s, README.md, SHA256SUMS) and claimseed-0.6.0-standard-keys.zip to claimseed-0.6.0-standard/keys/ (answer keys, manifest.jsonl, README.md, SHA256SUMS and set.json: the claimseed and Chrome versions, the release's git tree, document count, salt and canary). Give the tool under test only the documents folder. The 835s sit beside the PDFs there; to score a tool on reading the PDFs alone, give it only the .pdf files:
# run the tool on every PDF in documents/; write one report per document to reports/ .json, # in the shape of schemas/extractor-output.schema.json npx @claimseed/core verify --manifest claimseed-0.6.0-standard/keys/manifest.jsonl --outputs reports # the same content again with claimseed 0.6.0 and the salt in set.json (or any of its keys); PDF bytes can # differ by machine and Chrome install, so the SHA-256s in the manifest and SHA256SUMS name the published files npx @claimseed/core@0.6.0 batch --set standard --out documents --blind-keys keys --blind-salt SALT It is a public development set with public keys; every answer key and manifest line carries a canary string with a fixed GUID (blind.canary) so that people who train models can find and leave out claimseed answer keys, and people who test a model can check whether it has seen them. Please keep the keys out of training data. For a held-out test, make your own blind set with batch --blind-keys (a fresh salt) and keep its keys to yourself.
npx @claimseed/core list npx @claimseed/core render msn combined-three-errors --seed demo --out ./out npx @claimseed/core generate itemized-bill balance-billing --seed demo > demo.json Rendering needs a Chrome or Chromium binary (CLAIMSEED_CHROME=/path/to/chrome, or an install in a usual place); generate does not. Run these from any folder outside a checkout of this repository: inside one, npx takes the repository's own copy of the package, which needs npm ci first (see "From a checkout" below).
As a library (npm install @claimseed/core, ESM):
import { generateData, render } from '@claimseed/core'; const { data, groundTruth } = generateData({ type: 'msn', scenario: 'baseline-clean', seed: 'demo' }); const { pdf, groundTruth: gt } = await render({ type: 'msn', scenario: 'baseline-clean', seed: 'demo', outDir: './out' }); As an MCP server for agents (@claimseed/mcp, stdio). Rendered documents come back as page images that chat clients show in the conversation (directly, or in an MCP Apps view with the injected errors beside the pages), and no file is saved:
npx -y @claimseed/mcp or, to also keep each PDF and its ground truth, with a folder it writes into and nowhere else:
npx -y @claimseed/mcp --workspace ./claimseed-out or with the published container image, Chromium included:
docker run -i --rm --network none --read-only --tmpfs /tmp --cap-drop ALL --security-opt no-new-privileges \ --user "$(id -u):$(id -g)" -v "$PWD/claimseed-out:/work" ghcr.io/claimseed/claimseed-mcp The server is also listed in the MCP registry as io.github.claimseed/claimseed. See packages/mcp/README.md for the tools, the client configuration and the limits.
npm ci cd packages/core node src/cli.js list node src/cli.js render msn combined-three-errors --seed demo --out ./out and docker build -t claimseed-mcp . at the repository root builds the same image as the published one.
See packages/core/README.md for the engine, docs/error-taxonomy.md for the error kinds a scenario can inject, and schemas/ground-truth.schema.json for the ground-truth format.
Render a set, run your extractor or bill auditor on the PDFs, and score its reports against the answer keys:
The headline figures of verify --manifest (fields, errors) now count every document: a missing or invalid report scores as an empty one, and so does a part a report leaves out (fields or errors) once any report gives that part. Skipping a document never raises field accuracy or error recall; precision counts only what was flagged, so read it beside recall. scoredOnly holds the earlier figures, over the scored reports; byType, byDegradation (clean or the preset) and byKind (expected, found and recall per error kind) break them down.
For tools that must not see the answers, render and batch take --blind-keys KEYDIR. A blind document is named by an opaque id (doc- and 16 hexadecimal digits): its specimen band, PDF title, file names, page-image markers and 835 carry that id, never the scenario, planted errors or seed. Its answer key (ground truth 1.5) and a batch's manifest go to KEYDIR, never the documents' folder or one inside it:
Over MCP, render_blind returns the id and page images, never the key, scenario or seed, and get_answer_key the key (see packages/mcp/README.md).
Extractors meet scans, faxes and phone photos, not only clean PDFs. A degraded copy keeps the document's answer key:
A Medicare Summary Notice or a Medicare Advantage EOB can come with the X12 835 remittance of the same claims, for testing software that reads payments rather than paper:
npx @claimseed/core render ppo-eob combined-three-errors --seed demo --layout-variant p07 --out ./out npx @claimseed/core render hmo-eob baseline-clean --seed demo --layout-variant all --out ./out npx @claimseed/core batch --types itemized-bill,ppo-eob,hmo-eob --seeds 20 --layout-variant seeded --out ./set all (render and batch) writes one document per id. seeded picks an id from the seed alone, so for one seed the three types take the same position in their lists (b04, p04 and h04 together); give explicit ids to spread layouts across types. Files are named _ _ . .pdf, and the answer key records the variant (documents[0].layout is ppo-eob.p07, with the details in documents[0].layoutVariant; ground truth 1.4). The option works with --degrade and --also 835 (the 835 is the same as the standard document's). The Medicare Summary Notice has one national format and takes no variant. Agents pass layout_variant to the MCP tools; the ids and what each fixes are listed in packages/core/data/ /variants.json.
Output is for testing software. Do not present a specimen to a beneficiary, patient, payer or agency as a real document, and do not remove the specimen markers from one you pass on; see docs/synthetic-data-policy.md.
See CONTRIBUTING.md (synthetic-data rules, review checklist, DCO sign-off) and SECURITY.md.




