dVeracity Semantic MCP server
OfficialIt gives MCP agents metered access to dVeracity semantic emissions queries and standards/Open Footprint validation, plus free discovery, billing/identity, and model-inspection tools.
Query verified-emissions knowledge graphs in natural language with
semantic_query(costs credits).Discover supported query patterns and check remaining API credit balance for free.
List supported sustainability standards and validate payloads against them with
validate_data(costs credits).Inspect Open Footprint model domains, search 239 canonical entities, and fetch full entity definitions, relationships, and physical tables for free.
Explore industry sectors, their status, reference artifacts, and published Rego policy guardrails for free.
Validate payloads against the Open Footprint model and optional sector guardrails with
ofp_validate(costs credits).Map external system fields to O-DEF semantic codes, with reverse lookup by code for free.
Check which Open Footprint snapshot/provenance the deployment serves for free.
Show the agent’s verified vLEI/KERI identity when configured, for free.
Surface payment-required errors and idempotency guidance so agents can safely handle metered calls and ask a human to top up credits.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dVeracity Semantic MCP server What are the verified methane emissions for Permian Basin assets?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dVeracity Semantic MCP server
Gives any MCP-capable AI agent (Claude Code, Cursor, custom agents) metered access to the dVeracity Semantic API — natural-language queries over the verified-emissions knowledge graph (Open Footprint / PPDM / OGMP-methane) — and VaaS standards validation.
Prerequisites
A free Explorer account (OAuth) or a paid plan: https://dveracity.com/pricing — Explorer includes API-key management and a monthly metered-call allowance.
An API key (
dvrc_…):POST /api/v1/api-keys(or the dashboard)API credits for calls beyond the free allowance:
POST /api/v1/vaas/credits/purchase(or ask the agent to usebilling_purchase)
The machine-readable service contract lives at GET /api/v1/semantic/manifest
(public, no auth).
Related MCP server: climate-risk-mcp-server
Install
From this directory: npm install
Claude Code
claude mcp add dveracity \
-e DVERACITY_API_KEY=dvrc_yourkey \
-- node /path/to/dVE/mcp/semantic-mcp/index.jsGeneric MCP JSON config (Cursor, etc.)
{
"mcpServers": {
"dveracity": {
"command": "node",
"args": ["/path/to/dVE/mcp/semantic-mcp/index.js"],
"env": { "DVERACITY_API_KEY": "dvrc_yourkey" }
}
}
}Optional: DVERACITY_API_URL overrides the API base URL (defaults to prod).
KERI mode — verified agent identity (optional)
If the agent holds a dVeracity Agent Authorization credential (an ACDC issued
by its Legal Entity, chained to the Legal Entity's vLEI — see
elm/docs/VLEI_AGENT_TOKENS_DESIGN.md), set:
DVERACITY_KERI_AID=<the agent's AID (credential issuee)>
DVERACITY_KERI_PRESENTATION=/path/to/agent-credential.cesr # self-contained CESRThe server then authenticates the agent by verifiable presentation
(challenge → exchange → 1-hour session, refreshed transparently) and attaches
X-Keri-Session to every call: the API key keeps carrying billing, the KERI
session adds verified identity — every metered call is attributed to the
agent AID and Legal Entity LEI in dVeracity's audit trail. The keri_identity
tool (free) shows the active identity. Scope denials (a credential that doesn't
carry e.g. semantic:query) surface as actionable errors naming the carried
scopes. Signify-based nonce signing is a planned enhancement.
Tools
Tool | Cost | What it does |
| credits | Natural-language question over the verified-emissions knowledge graph |
| free | Catalog of supported query templates |
| free | Remaining credit balance |
| free | Standards VaaS can validate against |
| credits | Validate a payload against a supported standard |
| free | This agent's verified vLEI identity, when KERI mode is configured |
Every tool definition carries _meta.pricing:
{ "unit": "credit", "amount": <int>, "usd": <decimal> }, with amount 0 for a
free tool. A plan-gated tool also carries "plan_required": "<tier>" — 0
credits on compliance_policies or compliance_evaluate means "included in
the VaaS plan", not "free for any account".
Billing
Tool | Cost | What it does |
| free | Plans, credit packs, per-credit price and the free allowance (anonymous on the hosted endpoint) |
| free | This account's plan, balance and remaining free allowance |
| free | One-time credit checkout: returns a |
| free | Membership checkout: returns |
Open Footprint canonical model
Design-time tools for building an application on the Open Footprint standard. Reading the model is free; only the check at the end is metered.
Tool | Cost | What it does |
| free | The model domains (nine as of openfootprint b60a24e), and which database dialects have published DDL |
| free | Search the canonical entities (262 entries as of b60a24e) by name, description or field |
| free | One entity in full: fields, types, keys, relationships, physical table |
| free | Industry sectors, each with a status |
| free | One sector, with its reference artifacts |
| free | A sector's Rego guardrails, or an explicit "none published" |
| paid plan | Approved regulatory compliance policies (rules extracted from a regulation, admin-approved); never drafts |
| paid plan | One approved policy: Rego, extracted rules, inputs, provenance |
| paid plan | The published release register: every provision, its legal reference, review status and why it is or is not enforced |
| paid plan | Execute one named approved policy against a record: four-valued decision, per-check results, missing inputs, remediation, coverage. Stores an audit record |
| paid plan | Read back one stored evaluation — the caller's own only |
| credits | Check a payload against the model and, optionally, sector guardrails |
| free | O-DEF semantic codes, for aligning another system's fields onto the model |
| free | Which canonical fields carry one code — the reverse lookup a connector needs |
| free | Which snapshot of the standard this deployment serves |
Two behaviours are deliberate and worth knowing before you build against them.
Ambiguous entity names fail rather than resolve. dozens of entity names (the ofp_models summary reports the count as ambiguousNameCount)
are defined in more than one domain — Country is in four. ofp_entity without
a domain returns an error listing the candidates instead of picking one. Pass
domain whenever you know it.
Semantic codes vary in usefulness. Most canonical fields carry an O-DEF code,
but a code shared by many fields is a generic classification, and aligning to one
asserts almost nothing. The ofp_models summary reports the real shape under
precision — preciseFieldThreshold (the fieldCount at or below which a code
is precise rather than generic), fieldsOnPreciseCodes and
preciseShareOfAnnotated — and those follow the vendored snapshot rather than
this document. Every code is returned with its fieldCount: check it before
aligning to one, and pass maxFieldCount at that threshold to ofp_semantics to
see only the precise ones.
"Nothing published" is an answer, not an error. Most sectors are named in the
taxonomy but have no reference implementation, and only seven publish policy
guardrails. ofp_policies on such a sector returns published: false with a
reason, and ofp_validate reports policy.ran: false. Both mean no rules are
published, never there are no constraints — a payload checked for structure
alone is not a compliant one, and should not be described as one.
A fourth outcome, unevaluable, means the sector's rules ran but every rule that came back false reads an input the payload does not carry (policy.missingInputs, e.g. co2e_kg, direction, counterparty_industry). Those are e-ledger record fields, not canonical Open Footprint field names — ofp_policies lists them per policy under inputs. Unevaluable is neither a pass nor a breach, and valid is null.
What ofp_validate checks, and what it does not
The response is a contract, not a verdict. Every call reports the check
catalogue in two lists: checked (what ran) and checks_not_run (what did not,
each with a reason and usually a detail). Read both before describing a
payload as anything.
Check | Status | Reason reported when it does not run |
| runs |
|
| runs where the model declares a bound: a quantity outside the declared minimum or maximum is rejected. Which fields declare a bound moves with the vendored snapshot, so it fires on some entities and not others — read |
|
| not run |
|
| runs where the record carries all three of a quantity, an emission factor value and a stated CO2e result: |
|
| runs: a validity period whose end precedes its start is rejected |
|
| runs where the vocabulary publishes its members: a well-formed key for a referent that does not exist is rejected |
|
| not run: keys are pattern- and member-checked, never resolved against live records |
|
| not run |
|
| not run |
|
| runs when a sector with published guardrails covers the record type |
|
Any check can also report schema_not_run, which means the structural check it
builds on could not run at all.
calculation_reproducibility is self-referential and nothing more. It resolves
its three inputs from the model — the field carrying the emission-measure role, a
… Factor Value (never a … Factor ID, which is a reference to a factor rather
than a number to multiply by) and a … CO2e … result — or, for a record in the
vocabulary the guardrails read, from quantity_value / emission_factor_value /
co2e_kg. A slot the record fills more than once is ambiguous_calculation_inputs
and the check declines rather than picks. The 1% tolerance is the one
CalculationAccuracy in the verification engine and calc_tolerance in the
ISO 14064 quantification policy use, so the identity has one tolerance on every
surface. What it catches is a record whose own numbers do not multiply out. It
does not say the factor is the right one for this source and period
(factor_provenance, still not run) or that the quantity came from the meter it
claims (the data plane, still not run) — a reproduced calculation is a
self-consistent record, not a verified one.
schemaValidis the structural verdict (nullif the structural check could not run).assuranceLevelnames the depth earned:schema-only,schema-and-value,schema-value-and-policyorfull. Each level needs every check beneath it, so guardrails without a value check is stillschema-only. The ladder is gated onvalue_range— a bound the model itself declares — so a record that reproduced its own arithmetic without one still readsschema-only;checkedis where that shows up, and it is the more precise of the two.Every violation and warning carries
severity(error|warning). Rule ids are stable:required_field_missing,pattern_mismatch,format_mismatch,type_mismatch,primary_key_missing,enum_violation,value_range(withbound:minimum|maximum),temporal_consistency,enum_membership,calculation_reproducibility(withexpected,received,toleranceand the threeinputsit read), …unknown_fieldis a per-field warning and stays one.unknown_fieldwarnings carrydidYouMean: up to three canonical candidates, each with a confidence and the O-DEF code that field carries. The list is empty when nothing in the model is a plausible match — a key that belongs to another system stays a key that belongs to another system.schema.normalisationsseparately discloses keys that resolved through case and separator folding.advisoriescarries findings that are true of the payload but do not bear on its validity. Today that isdeprecated_field: a field the model has retired, severitywarning, carryingmodelDescriptionverbatim and asuccessorwhen the model names one. Where the model names no replacement the key is absent rather than guessed. An advisory never changesschemaValid, and the same entries also appear inschema.warnings.validis deprecated (seedeprecationsin the response). It keeps its 0.5.0 meaning through the 0.5.x line and is removed no earlier than 0.6.0. ReadschemaValidinstead.
Billing behavior (for agents)
Metered calls return an HTTP 402 when the account is out of credits. The server surfaces this as a tool error that tells the agent to ask its human operator to purchase credits or upgrade — agents should relay that message and stop, not retry.
Retrying metered calls safely
Metered tools advertise _meta.idempotency ({ header, parameter, maxLength }). Send the key either as the Idempotency-Key header on the /mcp
request or as params._meta.idempotencyKey on the tools/call itself. The
hosted endpoint forwards it to the metered REST call: the same key is charged
once and replays the original result, and a different body under the same key is
refused. If both the header and the parameter are present they must match; a
mismatch is refused with a JSON-RPC -32602 error before the tool runs. Tools
without _meta.idempotency are not metered, so a key has no effect on them.
Test
npm test (no network; the HTTP layer is stubbed).
Where it is listed
Smithery — one-click add for Smithery toolbox users
Official MCP Registry —
com.dveracity/semantic-mcpnpm —
@dveracity/semantic-mcp
Available Tools
16 toolscredits_balanceARead-onlyIdempotentInspect
Show the remaining dVeracity API credit balance for this account (free).
Inputs: no named parameters.
keri_identityARead-onlyInspect
Show this agent's verified vLEI identity (agent AID, Legal Entity LEI, authorized scopes) if KERI mode is configured — free. In KERI mode every metered call is attributed to this identity in dVeracity's audit trail.
Inputs: no named parameters.
list_standardsARead-onlyIdempotentInspect
List the sustainability data standards dVeracity can validate against (free).
Inputs: no named parameters.
ofp_entityARead-onlyIdempotentInspect
Get one canonical entity in full (free): fields with types and required flags, primary key, relationships, and the physical database table implementing it. Pass domain whenever you know it — 48 entity names are defined in more than one domain (Country is in four), and without it the call fails rather than guessing which one you meant.
Inputs: name (required), domain.
ofp_model_provenanceARead-onlyIdempotentInspect
Show which snapshot of the Open Footprint standard this deployment serves (free): source commit, date, and entity/sector counts. Use it when you need to know how current the model you are designing against is.
Inputs: no named parameters.
ofp_modelsARead-onlyIdempotentInspect
List the eight Open Footprint canonical model domains and which database dialects have published DDL (free). Start here when building an app on the Open Footprint standard: it tells you what the model covers before you look up individual entities.
Inputs: no named parameters.
ofp_policiesARead-onlyIdempotentInspect
Get a sector's policy guardrails as Rego source (free), with policies[].inputs listing the record types and input fields each policy reads — e-ledger fields such as co2e_kg and direction, not canonical Open Footprint field names; a payload without them is reported unevaluable by ofp_validate. When a sector has no published guardrails this returns published:false with a reason — that is a real answer, not an error. Treat it as "no rules are published", never as "there are no constraints", and do not invent guardrails to fill the gap.
Inputs: id (required).
ofp_search_entitiesARead-onlyIdempotentInspect
Search the 239 canonical Open Footprint entities by concept (free). Matches entity names, descriptions and field names. Use this to find the right entity before fetching its full definition with ofp_entity.
Inputs: q, limit, domain.
ofp_sectorARead-onlyIdempotentInspect
Get one sector in full (free): its classification, status, reference artifacts and nested industries. Use ofp_sectors first to find the sector id.
Inputs: id (required).
ofp_sectorsARead-onlyIdempotentInspect
List industry sectors and their reference implementations (free). Each carries a status: "implemented" means a reference implementation exists, while "planned" or "placeholder" mean the sector is named in the taxonomy but nothing is published for it. Check the status before assuming a sector has content.
Inputs: axis.
ofp_semantic_codeARead-onlyIdempotentInspect
Show which canonical fields carry one O-DEF semantic code (free). This is the reverse lookup a connector needs: given a field in a source system, find where in the Open Footprint model it belongs. Codes carried by more than ten fields are returned with an explicit caution — they are generic classifications, and aligning to one asserts far less than it appears to.
Inputs: code (required).
ofp_semanticsARead-onlyIdempotentInspect
List the O-DEF semantic codes carried by the canonical model (free). Use this when mapping fields from another system — SAP, an ERP, a supplier feed — onto Open Footprint: a code is the shared address two systems can align on. Every code comes with fieldCount, the number of canonical fields sharing it. A high count means a generic fallback that asserts almost nothing, so pass maxFieldCount (10 is a good start) to get only codes specific enough to be a real alignment target.
Inputs: maxFieldCount.
ofp_validateARead-onlyInspect
Check a data payload against the canonical Open Footprint model and, when a sector is named, that sector's published guardrails. Costs API credits per call. The response reports four distinct outcomes and never conflates them: guardrails passed, guardrails denied, guardrails do not cover this record type (not_applicable), or guardrails could not be evaluated because the payload lacks the inputs the rules read (unevaluable, with policy.missingInputs — canonical Open Footprint entities do not carry the e-ledger fields such as co2e_kg that the rules test). schema.coverage says which declared constraints were enforced and which the model does not declare (it declares no numeric ranges). If policy.ran is false or the outcome is unevaluable, do not report the payload as compliant — valid is null in that case.
Inputs: entity (required), payload (required), domain, sector, +1 more.
semantic_queryARead-onlyInspect
Ask a natural-language question about verified emissions data (Open Footprint / PPDM / OGMP-methane knowledge graphs). Costs API credits per call; a payment-required error means the human operator must top up credits. Prefer specific questions (a site, a company, a time range) over broad ones.
Inputs: query (required), sessionId.
semantic_templatesARead-onlyIdempotentInspect
List the query templates the semantic layer supports (free). Useful to learn what kinds of questions the knowledge graph can answer before spending credits on semantic_query.
Inputs: no named parameters.
validate_dataARead-onlyInspect
Validate a data payload against a supported sustainability standard (Validation-as-a-Service). Costs API credits per call. Use list_standards first to see supported standards and versions.
Inputs: data (required), standard (required), version, entityType, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Most tools are clearly separated by resource and action: list/get pairs (ofp_sectors/ofp_sector), search/fetch pairs (ofp_search_entities/ofp_entity), and query/template pairs (semantic_query/semantic_templates). The main confusion risk is validate_data vs ofp_validate, which both validate payloads for credits but target different rule sets, though the descriptions do clarify that boundary.
The ofp_ prefix on ten tools creates a strong family signal, and plural/singular pairs (ofp_sectors/ofp_sector, ofp_semantics/ofp_semantic_code) encode list-vs-get nicely. However, the convention isn't uniform: the entity list is ofp_search_entities rather than ofp_entities, and non-OFP tools mix verb_noun (validate_data, list_standards), adjective_noun (semantic_query), and noun_noun (credits_balance) patterns. Overall readable but stylistically mixed.
At 16 tools the server sits just above the ideal range, but the count is justified by the breadth of the Open Footprint domain it exposes: model exploration, sector/policy lookups, semantic codes, validation, and account utilities. The OFP family alone needs list/get pairs for entities, sectors, and codes, plus validation and provenance tools. No tool feels redundant, though a few are niche.
The surface covers the read-and-validate lifecycle for the Open Footprint domain: discover the model, find entities, list sectors and policies, validate payloads, and query the knowledge graph, with free list_standards and semantic_templates acting as pre-paid discovery steps. The main gaps are that entities can only be found via search (no full enumeration of the 239) and there is no validation-history or standard-detail tool. These are workaround-able rather than dead ends.
Maintenance
Related MCP Connectors
Environmental intelligence for AI agents — climate, carbon, methane. Quote-first, prepaid.
Verified CO2e for any transaction, activity, flight, shipment or CBAM import. 200+ countries.
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Carbon accounting platform. Query emission factors and create or edit draft emissions.
Related MCP Servers
FlicenseNot gradedqualityBmaintenanceEnables AI assistants to automatically call Carbonstop Cloud API for carbon footprint modeling, product query, and emission analysis through natural language.-- AlicenseNot gradedqualityDmaintenanceProvides AI agents with access to CO2 emissions data, climate projections, and risk assessments for heat, flooding, and drought, supporting ESG analysis and CSRD compliance.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query cryptographically verified facts with zero-knowledge proofs, selective disclosure, and tamper-evident provenance.1Business Source 1.1
- FlicenseAqualityBmaintenanceEnables natural-language querying of US utility emissions, generation mix, and climate alignment data through any MCP client.7-