The SDC MCP Servers
An MCP server is a tool surface that an AI assistant calls over stdio: the assistant sends one JSON-RPC 2.0 request per line on standard input and reads one response per line on standard output. Twelve open-source packages of the Semantic Data Charter ship such a server, so an assistant can build a model in SDCStudio, read a published model, validate a Governed Data Record against it, evaluate governance over it, settle it, map it to another format, and describe it in another standard's terms, all without importing a library. Ten are Python packages on PyPI; two, sdcreceipt-ts and sdcvalidator-ts, are TypeScript ports on npm that give the same results as the Python packages they port. None of them depends on an external MCP SDK; each implements the protocol directly.
SDCStudio itself hosts no MCP server. The reader and the projections read its public catalog and schema routes, described in public-catalog-api.md; sdcmodeler calls its authenticated API with your API key.
The twelve servers
| Package | PyPI or npm name | Registry name | What its tools do | Start it |
|---|---|---|---|---|
| sdcmodeler | sdcmodeler |
io.github.Axius-SDC/sdcmodeler |
search_components searches published components by label, type and project, with a key your own first (private included), then the public catalog; list_models and get_model list published models and give one model's artifact routes; estimate_model returns what a tree would reuse, mint and cost, with an estimate_id, and with deliver prices the whole run; build_model assembles, publishes and generates the package (publish: false leaves a draft and returns bench_url, the link that opens it on the Bench); build_and_deliver builds, publishes and delivers the package, application or kit in one run after one approval of its total; estimate_translation prices translating a published model or component into another language (any BCP 47 tag), free and never spending; translate_model translates it, with a shown estimate_id or an auto-spend key, publishing it or, with review: true, leaving drafts; job_status reports one job's status, step, cost so far and the model's links; download_package downloads a model's package with the key, a private model's included, building it first if it is not yet built; generate_app generates and downloads the application; add_supabase_kit writes a model's Supabase kit into a project directory, with confirm_charge, charged with the application once per model; wallet gives the balance and the key's policy |
uvx sdcmodeler mcp, or sdcmodeler mcp; the key comes from SDCSTUDIO_API_KEY, the SDCStudio address from SDCSTUDIO_URL or --url, and downloads land in SDCMODELER_OUTPUT_DIR or --output-dir |
| sdcreader | sdcreader |
io.github.SemanticDataCharter/sdcreader |
find_models searches the public catalog by text or lists one public project's models; describe_model summarizes one model with its root record, counts by type, Dublin Core and the schema URL pinned to its SHA-256; list_leaves walks the leaves in document order, paged; list_codes returns one component's enumerated values with IRI, definition and code system; check_package runs the integrity check on a package directory |
uvx sdcreader, or sdcreader-mcp, or python -m sdcreader.mcp_server; add --host https://your-sdcstudio.example for a sovereign SDCStudio's catalog |
| sdcvalidator | sdcvalidator |
io.github.SemanticDataCharter/sdcvalidator |
validate_instance validates an XML record against its SDC4 XSD and returns pass/fail with classified errors; validate_and_report adds a detailed report with the two-tier (structural vs semantic) classification; check_schema_compliance checks that a schema uses restriction only, with no xsd:extension |
uvx sdcvalidator mcp, or sdcvalidator-mcp |
| sdcgovernance | sdcgovernance |
io.github.SemanticDataCharter/sdcgovernance |
get_governance_status reports which governance dimensions a model defines; get_allowed_transitions lists valid next workflow states; evaluate_transition returns PERMIT, DENY or INDETERMINATE with a receipt; validate_governance runs full governance validation of a record against its model; record_provenance writes a W3C PROV-O record; evaluate_decision evaluates a DMN decision table and returns a hash-chained Receipt; register_decision_table registers a DMN table under a stable id and an immutable version, and list_decision_tables lists them with their hashes; verify_evidence_pack recomputes an Evidence Pack hash |
uvx sdcgovernance mcp, or sdcgovernance mcp; --tables-dir (or SDCGOVERNANCE_TABLES_DIR) keeps registered tables between runs |
| sdcreceipt | sdcreceipt |
io.github.SemanticDataCharter/sdcreceipt |
verify_receipt verifies a Settlement Receipt offline against the issuer's key document, checking each key's validity window and, given the earlier Receipts you hold as chain, the chain back to its head (since 4.4.0); sign_trigger signs a settlement trigger as the one identity the server was started with and returns it without submitting it; settle asks the configured issuer to issue a Settlement Receipt; condition_hash (since 4.5.0) projects a Settlement Condition record and returns the condition_hash a Receipt commits to, with no network and no key |
sdcreceipt mcp, or sdcreceipt-mcp; --key and --key-id enable signing, --endpoint and --token enable settle |
| sdcreceipt-ts | sdcreceipt-ts (npm) |
io.github.SemanticDataCharter/sdcreceipt-ts |
the same four tools as sdcreceipt, in TypeScript for Node, ported from sdcreceipt 4.5.0 and checked against the same conformance kit (1.3) |
npx sdcreceipt-ts mcp; --key and --key-id enable signing, --endpoint with --token or SDCRECEIPT_TOKEN enables settle |
| sdcvalidator-ts | sdcvalidator-ts (npm) |
io.github.SemanticDataCharter/sdcvalidator-ts |
validate_instance, validate_and_report and check_schema_compliance as in sdcvalidator, plus recover_instance, which returns the record with each semantic error covered by an ExceptionalValue (a structural error rejects it); the same results as sdcvalidator 4.6.3 on its conformance suite |
npx sdcvalidator-ts mcp |
| sdc-mapper | sdc-mapper, with a target mapper such as sdc-gdr2ubl |
io.github.SemanticDataCharter/sdc-mapper |
list_targets lists the installed target mappers; map_record maps one Governed Data Record to a target format and returns the output, the coverage report and one sentence of what the target could not say; check_mapping checks a mapping file against its model; fidelity reports what a target can hold for a model; log_summary reads back the hash-chained log of calls and verify_log walks its chain |
sdc-mapper, or sdc-mapper-mcp; --host for a sovereign SDCStudio's catalog, --log-dir for the log |
| sdc_cdif | sdccdif |
io.github.SemanticDataCharter/sdccdif |
write_cdif writes the CODATA CDIF description (JSON-LD) of one published model, citing the schema by URL and SHA-256 |
uvx sdccdif mcp, or sdccdif-mcp, or sdccdif mcp |
| sdc_dcat3_us | sdcdcatus |
io.github.SemanticDataCharter/sdcdcatus |
write_catalog writes a DCAT-US 3.0 catalog (data.json) describing one or more published models as datasets |
uvx sdcdcatus mcp, or sdcdcatus-mcp, or sdcdcatus mcp |
| sdc_dcat3_ap | sdcdcatap |
io.github.SemanticDataCharter/sdcdcatap |
write_catalog writes a DCAT-AP 3.0.1 catalog of one or more published models, as Turtle or JSON-LD |
uvx sdcdcatap mcp, or sdcdcatap-mcp, or sdcdcatap mcp |
| sdc_healthdcat_ap | sdchealthdcatap |
io.github.SemanticDataCharter/sdchealthdcatap |
write_catalog writes a HealthDCAT-AP catalog of one or more published models as health datasets at the declared access level, as Turtle or JSON-LD |
uvx sdchealthdcatap mcp, or sdchealthdcatap-mcp, or sdchealthdcatap mcp |
Every server is registered in the MCP registry under the name in the third column, as a PyPI or npm package with stdio transport: the eleven libraries of the Semantic Data Charter under io.github.SemanticDataCharter/, and sdcmodeler, the client for SDCStudio, under io.github.Axius-SDC/. Each repository carries a server.json with that registration.
The reader and the four projections
sdcreader reads a published model's package: the catalog record, the JSON-LD description of the model and its components, the schema bytes from /dmlib/, and the versions file. The four projection packages (sdc_cdif, sdc_dcat3_us, sdc_dcat3_ap, sdc_healthdcat_ap) depend on it and describe the same package in another standard's terms. The protocol scaffold they share, sdcreader.mcp, lives in the reader once: protocol version negotiation on initialize, tool failures returned as isError results rather than JSON-RPC errors, and a per-process package cache, since a published package is immutable.
Every reader-based tool takes either a ct_id, the model's identifier in the public catalog, which is fetched from the host the server was started with, or a directory, a package already on disk. The projection tools that describe several models take ct_ids or directories as arrays. A contact_name, contact_email and date can be given; otherwise the package's declared defaults apply.
The validator, the governance engine and the receipt client
sdcvalidator and sdcgovernance take file paths: schema_path for the model's XSD and instance_path for the Governed Data Record. The schema can be the xsd artifact of a public model from the catalog, or one you generated yourself (see generating-outputs.md).
sdcvalidator-ts takes the same paths, plus an optional reference_path: the model's xsd:include of the reference model is otherwise fetched from its URL once and cached.
sdcreceipt and sdcreceipt-ts take documents as JSON objects: the Receipt, the issuer's key document, optionally one party key document or one per party, the earlier Receipts you hold as chain, and a governance Receipt. A key given in both the issuer's and a party's document is refused. Each one's tools/list advertises only the tools the server can actually run with what it was started with, so a tool whose every call would fail is never offered. Started with no arguments it is verify-only. The settlement flow those tools belong to is described in verifiable-settlement.md.
The mapper: sdc-mapper
sdc-mapper maps a Governed Data Record to another format, outbound only, one record at a time. It validates the record, reads the model the record names, resolves every value against what the model says about it, hands the result to a target mapper, and reports every value: how it reached the target, or that the target cannot hold it. Each target is its own package: sdc-gdr2ubl (OASIS UBL 2.3), sdc-gdr2edifact (UN/EDIFACT D.24A), sdc-gdr2fhir (HL7 FHIR R4), sdc-gdr2hl7v2 (HL7 v2.5.1) and sdc-gdr2omop (OMOP CDM 5.4). Records, packages and mapping files are paths on disk; a model is fetched only by its identifier from the host the server was started with. Every call is appended to a hash-chained log that holds no values.
The modeler: sdcmodeler
sdcmodeler is the one server that writes to SDCStudio. It searches the catalog, estimates a model, assembles and publishes it, and fetches its package (download_package, since 4.3.0), an application or a Supabase kit, or does all of it in one run (build_and_deliver, since 4.5.0), and translates a published model or component into another language (estimate_translation and translate_model, since 4.6.0), and gives a draft build the link that opens the draft on the Bench (bench_url, since 4.7.0), calling SDCStudio's API with the key it was started with. No tool takes a key, an address or a payment method. Without SDCSTUDIO_API_KEY the catalog tools work and estimate_model prices the tree locally by the same rule SDCStudio uses; building, downloading a package, generating an application and wallet need the key.
Four rules hold in the server itself, before SDCStudio is asked:
- No spend without an estimate shown.
build_modeltakes theestimate_idthatestimate_modelreturned for the same title and tree in this server process, and refuses a missing or different one. SDCStudio checks it again and answers409 stale_estimateif the tree changed. - Stop at the key's limit. When the key has a spending limit and the estimate is more than the key may still spend,
build_modelrefuses and says how much is left. - One approval per run.
build_and_delivertakes theestimate_idthatestimate_modelreturned with the samedeliver; that total covers the build and the application or kit charge (1,500 credits once per model, one charge for both), so it needs noconfirm_charge. A key you created with auto-spend (see API Keys) runs it without a prior estimate, and the result carries the estimate. SDCStudio funds and holds the whole run before the first publish, reloading the wallet only when you have confirmed auto-reload and within its monthly maximum. - Translation.
estimate_translationsays what a translation would copy and what it would reuse (existing translations, your own drafts included), what it costs, and which values have no definition; it never spends.translate_modelfollows the same approval rule asbuild_and_deliver. A model's data tree, title and description are translated; its contextual components and Units stay in their original language. See Translating Models and Components. - Never pay. A
402is reported with the numbers in credits and the tool stops; the person acts under Settings > Wallet. A run that cannot be funded names its reason (auto_reload_off,no_card,auto_reload_unconfirmed,ceiling,declined,reload_failed,organization_wallet,insufficient_funds) and what to do; nothing was published or charged.generate_appandadd_supabase_kitrefuse until called withconfirm_charge: true, after the person has agreed to the 1,500 credits the first download of a model costs (later downloads of it are free).
The same client is a command line: sdcmodeler search (with --scope mine or public), models, model, artifact, estimate, build (with --estimate-id, --draft, --no-generate, --wait), ship (one run: --deliver package,app,kit, --plan for the total alone, --yes for scripts), translate <ct_id> --language <BCP 47 tag> (with --project, --review for drafts, --plan, --yes), estimate --draft (the total without publication), job, package, app, kit and wallet. The deliverables can come from the environment: SDCMODELER_DELIVER, with SDCMODELER_PROJECT_DIR for the kit. Its README is at github.com/Axius-SDC/sdcmodeler.
Configuring a desktop assistant
Assistants that support MCP take a list of servers, each with the command that starts it. A generic entry for the reader, using the launch command from its README, looks like this:
{
"mcpServers": {
"sdcreader": {
"command": "uvx",
"args": ["sdcreader"]
}
}
}
The same shape starts any of the others: "args": ["sdccdif", "mcp"] for the CDIF projection; "args": ["sdcvalidator", "mcp"] for the validator; or "command": "sdcreceipt-mcp" with "args": ["--key", "vsl-party.pem", "--key-id", "https://vendor.example/.well-known/vsl-key.json"] for a receipt server that can sign. The modeler takes its key from the environment, so the key stays out of the conversation:
{
"mcpServers": {
"sdcmodeler": {
"command": "uvx",
"args": ["sdcmodeler", "mcp"],
"env": {"SDCSTUDIO_API_KEY": "sdcs_..."}
}
}
}
Consult your assistant's documentation for where the file lives.
A key for an agent
An agent that writes to SDCStudio holds an API key. Create it with the scopes the agent needs and a spending limit (Settings, API Keys; see API Keys): Build without Spend for an agent that searches, proposes and estimates (an estimate is a POST, so it needs Build); Spend with a limit for one that mints and assembles. Spend without Build is refused on every call but an application download. Auto-spend, chosen when you create the key, lets the agent run build_and_deliver without asking you to approve each estimate. The server refuses a call the key may not make before anything is built, and the agent reports the refusal to you. A key cannot create, rotate or widen keys, or change the account or its auto-reload; those take you signed in (see API Keys).
An agent builds a model, end to end
- You create the key. In Settings > API Keys, with Build, Spend and a spending limit. Put it in the assistant's configuration as
SDCSTUDIO_API_KEY(above). - The agent looks for what exists.
search_componentsandlist_modelsfind published components and models to reuse; a reused component is free and keeps the model joinable with every other model that uses it. - The agent shows you the estimate.
estimate_modelreturns what would be reused, what minted, the total in credits (500 for the model, with its root cluster and its publication; 100 per new component and per new cluster below the root for the draft, and 100 more each when they are published), whether the wallet can pay (can_pay) and whether the key may (within_limit). - You agree; the agent builds.
build_modelwith thatestimate_id. A409,402or403stops it, and the agent tells you why. - Every component reused: the model comes back published, with its package. Something new: the result carries a
job_ct_id; the agent pollsjob_statusuntilcompleted, when the job has published the tree, built the package and carriesdm_ct_id,catalog_urlandpackage_url. Afailedjob carries the reason. - The package. The model is built in your default project, which is private, so the package is fetched with the key:
download_package(orsdcmodeler package <ct_id>at the command line, or the job'spackage_urlwith the key in the header).get_modeland the public catalog cover models in public projects only.generate_appbuilds and downloads an application only withconfirm_charge.
In one run. estimate_model with deliver (for example ["package", "kit"]), then build_and_deliver with its estimate_id, does steps 3 to 6 and writes the kit into the project. With an auto-spend key the agent skips the estimate. A run still building when the agent stops waiting comes back in_flight with the job's id: it is funded and finishes on the server, so the agent polls job_status and never builds it again.
For the same steps over HTTP, without sdcmodeler, see the assembly reference.
What the servers do not do
- No tool takes a URL. The catalog host of the reader and the projections is fixed at start with
--host; the issuer endpoint ofsdcreceiptandsdcreceipt-tsis fixed at start with--endpoint; the catalog host and log directory ofsdc-mapperare fixed at start with--hostand--log-dir; the SDCStudio thatsdcmodelerwrites to is fixed at start with--urlorSDCSTUDIO_URL. A caller cannot point a server at another host. - No account. The reader and the projections need no account anywhere; the validator and governance servers work on local files, and
sdc-mapperreads only the public catalog. Receipt verification needs no network and no account. Two kinds of call need an account:settleinsdcreceiptandsdcreceipt-ts, with an API token for the issuer given at start as--tokenorSDCRECEIPT_TOKEN, andsdcmodeler'sbuild_model,build_and_deliver,estimate_translation,translate_model,download_package,generate_app,add_supabase_kitandwallet, with the key given asSDCSTUDIO_API_KEY. - No key generation and no submission in sdcreceipt or sdcreceipt-ts.
initis not exposed because a private key generated inside an assistant session has no clear custody story; it stays a human act at a terminal.sign_triggerreturns a signed trigger for you to submit; submission is not exposed because it would take a destination from the caller. The signing key and the identity it signs as are bound at start, never passed per call, so neither travels through the conversation. - The projections' standards validators run in CI, not in the wheel. Each projection's output is checked in that package's CI with the standard's own framing, JSON Schema or SHACL artifacts from a pinned snapshot kept in the repository's
data/directory, with the validator libraries as a development extra. The wheel carries the package's declared input files only; the server writes the document and does not run those validators. - Defaults are never reported as facts. The reader returns Dublin Core as the modeler wrote it; a field that still holds SDCStudio's default comes back as null.
Relationship to SDCStudio
SDCStudio publishes models; it does not host an MCP server. sdcmodeler is the one server that builds there: it calls the estimate, assembly, translation, job, generation and wallet routes with your key (see the assembly reference). find_models calls GET /api/v1/catalog/dms/ on the host the reader was started with, which defaults to https://sdcstudio.axius-sdc.com, and lists only models from public projects. describe_model, list_leaves, list_codes and the projection tools fetch the model's package through the catalog record, its artifact pointers and the /dmlib/ schema routes. sdcreceipt's settle posts to the issuer's settle endpoint with an API key from Settings > API Keys (see api-keys.md); its verify_receipt reads the issuer's published key document, which SDCStudio serves at a fixed well-known path. A self-hosted SDCStudio is reached the same way by starting the reader or a projection with --host.