Deterministic D&D Beyond character derivation with provenance - the character accountant for agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Agents start here β SKILL.md β when to call this, worked examples, MUST/MUST NOTs. Family contract: FAMILY.md.
CharacterCheck is an experimental, read-only compiler for selected D&D Beyond character-sheet fields. It turns a public share, saved character-service JSON, or versioned snapshot into deterministic mechanical context with provenance and named findings.
Current release: 0.7.0. Pin
charactercheck==0.7.0when installation must be reproducible. Verify the installed package version and each field's trust state; a version string alone is not proof that a value is supported.
It is not a complete or rules-authoritative character validator. Its output is not encounter, world, or session state and does not prove that an action is legal. Unknown upstream fields and unsupported restrictions can affect results; read the trust and finding data before using a value.
Python 3.9 or newer is required. The runtime has no third-party dependencies.
The bundled example is project-authored synthetic data. The smoke test checks this checkout and selected derivations; it is not evidence of complete D&D rules correctness.
Install the published package into a virtual environment for the console entry points:
The direct python3 -m charactercheck path from a clone has no runtime
dependency install. An editable pip install may bootstrap the setuptools
build frontend if the environment does not already provide it. See
MIGRATING.md
before comparing 0.7.0 output or MCP surfaces with 0.6.x.
For an explicitly public character:
Public sharing permits retrieval at that moment; it does not establish consent for publication, recurring tests, persistence, model training, or reuse of persona and third-party narrative content.
CharacterCheck requests no credentials. For a private sheet, use an authorized saved character-service JSON file through the local CLI or library; do not pass cookies, tokens, or session data.
CharacterCheck currently supports mechanical, read-only preparation for a human or AI-controlled DM, PC, or NPC. It observes a character source and emits context or reconciliation candidates. It exposes no mutation tools and does not become the authority for HP, conditions, concentration, expended resources, equipment declarations, DM rulings, encounter state, or world state.
The human principal remains responsible for access and use. An AI actor must
not infer permission, role, or visibility from sheet contents or a tool
argument. Where a value is marked confirm, unsupported, unknown, or
invalid, the agent should ask the named human authority or decline to use the
value. Manual play without CharacterCheck remains the fallback.
CharacterCheck is being developed as a versioned D&D Beyond-to-agent compiler and conformance facade, not a new complete 5e rules engine. The strict source/snapshot/privacy/trust layer remains local. Adapter vocabulary is seeded from a pinned offline DDB config registry that was independently observed and cross-checked against the MIT-licensed DDB Importer fallback. The production runtime never fetches that config endpoint. The distributed registry is a purpose-limited allowlist for current evaluator branchesβnot a copy of DDB's full configuration or third-party catalog vocabulary.
Registry membership establishes only that an upstream ID/name was observed; it does not prove that CharacterCheck implements its mechanics. Bounded unknown IDs are retained as opaque adapter evidence, fixed semantic-gap codes prevent default calculations, and unsafe formula/property prose is omitted. Current weapon proficiency/hand state and unimplemented property semantics therefore remain explicitly unsupported even when a provisional attack line can be rendered.
The next mechanics work is a differential conformance spike using exact SRD revisions, narrow MIT-compatible DDB Importer evidence, and Foundry dnd5e as a versioned model/behavior oracle. DDB/displayed and third-party calculated values are attributed claims, not unquestionable truth; disagreement must become a non-trusted conflict. See ECOSYSTEM_CONFORMANCE.md SOURCE_FIELD_ROUTING.md, and THIRD_PARTY_NOTICES.md.
The observed DDB service/config surfaces remain undocumented and unsupported as public APIs. Their technical availability does not grant commercial access, content rights, stability, or consent. A commercial build needs a licensed or counsel-approved input/update path and should prefer an authorized user/host export until then.
The input parser accepts exactly:
dndbeyond.com or www.dndbeyond.com whose path is exactly
/characters/<id>;CharacterSnapshotV1 JSON file.Local symbolic links are rejected. Missing paths are not reinterpreted as IDs. Raw local character files and HTTP responses are bounded to 8 MiB; a local CharacterSnapshotV1 envelope may be up to 16 MiB so a maximum-size filtered source can round-trip with its metadata. JSON also has depth, node, string, collection, inventory, modifier, and container-traversal limits.
| Command | Current contract |
|---|---|
derive <ref> | Selected derived fields, provenance, findings, and trust routing |
derive <ref> --brief | Deterministic chat-sized summary; still subject to findings |
derive <ref> --table-evaluation | Value-free, deterministic, self-attested table.evaluation/1.0 assessment envelope |
stance <ref> | Envelope containing stance, canonical assessment, trust, fields, and observation metadata |
report <ref> | Canonical field/trust assessments plus findings and identified feature names |
qa <ref> [--full] | 100-question Coverage Inventory pairing each answer with a closed field state; not a validity score |
seatpack <ref> | Privacy-minimized read-only character context |
intake <ref> | Pre-session context plus questions and authority boundaries |
quiz <ref> | Settlement and sheet-specific finding questions; non-trusted values never become answer keys |
snapshot <ref> | Export a versioned, integrity-checked observation |
diff <ref> --baseline snapshot.json | Classify supported changes; mark omitted-source comparisons indeterminate |
doctor [ref] [--json] | Diagnose runtime/network/source access without echoing the ref |
selftest | Offline installation and selected-derivation smoke test |
--pipe reads refs from standard input. charactercheck --schema emits the
machine-readable CLI contract.
--table-evaluation is also accepted by report. It projects canonical field
states and source/policy digests, never character values. Trusted fields count
as evaluated; unsupported, unknown, invalid, and non-authority confirmation
states fail closed. Mutable player-authority fields are outside the evaluator's
scope and become advisories requiring player/session-host reconciliation. The
envelope is always self_attested; it is not proof of source identity,
freshness, table role, encounter state, or action legality.
The Coverage Inventory pairs each of its 100 answers with the corresponding
human-readable D&D 2024 character-sheet lookup question. Structured rows carry
number, field, question, state, value, and content_trust. The
question catalog is an organizational contract, not an assertion that the
supplied JSON Schema's value types or the complete 2024 rules are implemented.
An answer remains unusable when its row is unsupported, unknown, or
invalid; mutable confirm rows remain player/session-host authority.
The settlement quiz also includes each sheet-specific lint question exactly
once. Those prompts never receive an expected answer when their affected
family is not trusted. Account identity and roleplay/persona questions remain
privacy-omitted from default output.
Capture a baseline and compare a later observation:
CharacterSnapshotV1 records the adapter, source ID, source-schema fingerprint
(which commits to the pinned adapter registry and semantic-gap contract),
observation time, engine/rules profile, privacy classification, hashes,
coverage, and a snapshot ID. Canonical derived metadata also exposes the
adapter-registry fingerprint directly. Account identifiers and linked images
are always removed.
Persona is excluded by default. Snapshots do not migrate silently; unsupported
versions fail with snapshot_schema. Observation times use canonical UTC
RFC 3339 (...Z) syntax; they describe caller/source observation order, not a
trusted timestamp or proof of freshness.
The hash meanings are intentionally distinct:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/charactercheck)<a href="https://allmcps.com/mcp/charactercheck"><img src="https://allmcps.com/api/badge/charactercheck?style=directory" alt="Charactercheck on AllMCPs" /></a>