dVeracity Semantic API
Validate emissions data against Open Footprint, check EU CBAM records, query verified methane data
사용해야 할까요
품질 및 안전성
발견 사항 (4)
- HIGH
- MEDIUMofp_sectors에서
- LOWofp_sector에서
- INFOofp_sectors에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"semantic-mcp": {
"command": "npx",
"args": [
"@dveracity/semantic-mcp"
]
}
}
}실행 가능한 패키지
0.9.1stdio원격 엔드포인트
https://api.dveracity.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (25)
🟢semantic_query(query, sessionId)
Use this when a user asks a specific question about verified oil-and-gas emissions data, e.g. methane for a site or period (PPDM, OGMP 2.0). Call semantic_templates first. Not for general climate questions. On payment_required, tell your operator what the call needs; do not retry the same call.
입력 스키마
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"sessionId": {
"type": "string"
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢semantic_templates
Use this when you want to see what the verified emissions data can answer, before semantic_query.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢credits_balance
Deprecated: use billing_status (also shows plan and free allowance). Removal planned for 0.9.x.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢list_standards
Use this when you need the standards and versions validate_data can check.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢validate_data(standard, version, entityType, schemaCategory, data)
Use this when a payload needs checking against a non-Open-Footprint standard; call list_standards first. For Open Footprint use ofp_validate. Only masterData or referenceData.
입력 스키마
{
"type": "object",
"properties": {
"standard": {
"type": "string"
},
"version": {
"type": "string"
},
"entityType": {
"type": "string"
},
"schemaCategory": {
"type": "string",
"enum": [
"masterData",
"referenceData"
]
},
"data": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"standard",
"data"
],
"additionalProperties": false
}🟢keri_identity
Use this when an organisation needs to confirm which verified legal entity and agent identity calls are attributed to. Only with vLEI configured.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢ofp_models
Use this when building on Open Footprint and you need to know what the model covers. Start here before other ofp_ tools. The response summary carries the served counts.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢ofp_search_entities(q, domain, limit)
Use this when you need the Open Footprint entity for a concept ("Scope 3 emissions"). Not for emission factors or calculations. Matches names, descriptions and fields; ofp_entity gives the full definition.
입력 스키마
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"domain": {
"type": "string",
"maxLength": 100
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 500
}
},
"additionalProperties": false
}🟢ofp_entity(name, domain)
Use this when you need one entity's fields, types, keys and relationships. Pass domain when known: ambiguous names fail rather than resolve (ofp_models: ambiguousNameCount).
입력 스키마
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"domain": {
"type": "string",
"maxLength": 100
}
},
"required": [
"name"
],
"additionalProperties": false
}🟢ofp_sectors(axis)
Use this when a user asks which industries Open Footprint covers or a sector's implementation status. implemented means a reference implementation exists; planned/placeholder: nothing published.
입력 스키마
{
"type": "object",
"properties": {
"axis": {
"type": "string",
"enum": [
"esrs",
"sics",
"none"
]
}
},
"additionalProperties": false
}🟢ofp_sector(id)
Use this when you need one sector's classification, status and reference artifacts.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢ofp_policies(id)
Use this when a user asks which validation rules apply to a sector's records. For regulations use compliance_policies. inputs lists e-ledger fields policies read (e.g. co2e_kg), not canonical names. published:false means no rules; never invent guardrails.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢compliance_policies(framework, domain, include_retired)
Use this when data needs checking against a regulation (e.g. EU CBAM): find the approved policy. For sector rules use ofp_policies. Only APPROVED policies appear. Empty means none published, not no obligations; never invent rules. Requires compliance:read.
입력 스키마
{
"type": "object",
"properties": {
"framework": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"domain": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"include_retired": {
"type": "boolean"
}
},
"additionalProperties": false
}🟢compliance_policy(id)
Use this when you need one approved regulatory policy's rules, provenance and coverage. Rego only when the source was retained; else rego_unavailable: source_not_retained, the engine cannot load it, and enforcement says whether structured rules run. Never reconstruct Rego. Requires compliance:read.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢compliance_evaluate(policy_id, entity_type, entity, declaration, lines, ...)
Use this when an import record or annual EU CBAM declaration (Reg. (EU) 2023/956) needs an approved-policy check before filing. Not for footprint calculations or unlisted regulations. Runs regulation-derived Rego, not the generic OFP validator. Decision: passed, denied, unevaluable, not_applicable or error (a refusal, never compliance; error.code: policy_not_release_eligible, policy_no_rendered_checks, policy_no_faithful_checks, policy_coverage_inconsistent). A pass covers only the encoded checks: read coverage.note. Requires the compliance:evaluate scope; calls count against the plan limit. CBAM: entity_type cbam_declaration (default carbon_measure), declaration + lines.
입력 스키마
{
"type": "object",
"properties": {
"policy_id": {
"type": "string",
"format": "uuid"
},
"entity_type": {
"type": "string",
"minLength": 1,
"maxLength": 50
},
"entity": {
"type": "object",
"additionalProperties": {}
},
"declaration": {
"type": "object",
"additionalProperties": {}
},
"lines": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
},
"maxItems": 500
},
"context": {
"type": "object",
"additionalProperties": {}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
},
"maxItems": 50
}
},
"required": [
"policy_id"
],
"additionalProperties": false
}🟢compliance_evaluation(evaluation_id)
Use this when a user wants to retrieve or audit a previous evaluation by its id. Readable only by the caller who ran it. Requires compliance:read.
입력 스키마
{
"type": "object",
"properties": {
"evaluation_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"evaluation_id"
],
"additionalProperties": false
}🟢compliance_policy_register(id)
Use this when a user asks which provisions of a regulation an evaluation checks. Encoded vs excluded provisions: a pass says nothing about excluded ones. Requires compliance:read.
입력 스키마
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢ofp_validate(entity, domain, payload, sector, entityType)
Use this when an emissions or footprint record (JSON) needs checking against Open Footprint or sector guardrails before storing or reporting. Not for data-quality questions without a payload. Checks structure, constraints, enums and calculations; with a sector, its guardrails. Per call read `checked`, `checks_not_run` and `schema.coverage.constraintsDeclared`. Not checked: undeclared ranges, unit coherence, referential integrity, factor provenance. Compliant only if sector_policy is in `checked` and policy.outcome is passed. `schemaValid` is structural; `valid` is deprecated.
입력 스키마
{
"type": "object",
"properties": {
"entity": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"domain": {
"type": "string",
"maxLength": 100
},
"payload": {
"type": "object",
"additionalProperties": {}
},
"sector": {
"type": "string",
"maxLength": 100
},
"entityType": {
"type": "string",
"maxLength": 100
}
},
"required": [
"entity",
"payload"
],
"additionalProperties": false
}🟢ofp_semantics(maxFieldCount)
Use this when mapping fields from SAP, an ERP or a supplier feed onto Open Footprint. High fieldCount is generic; pass maxFieldCount (start at 10) to see only precise codes.
입력 스키마
{
"type": "object",
"properties": {
"maxFieldCount": {
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"additionalProperties": false
}🟢ofp_semantic_code(code)
Use this when you have a source-system field and need its place in the Open Footprint model. Codes on many fields are generic; aligning to one asserts less than it appears.
입력 스키마
{
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"code"
],
"additionalProperties": false
}🟢ofp_model_provenance
Use this when a user asks which Open Footprint version or extension packs this snapshot serves. Reports the source commit and per-pack id, kind, version, status, core range and regulations. Gate adoption on status: drafts are for review, not adoption.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢ofp_units(code, quantity, detail, limit, offset)
Use this when you need unit codes before converting or validating. No args lists quantity types; quantity lists its units; code resolves one symbol or alias. detail=full is large; prefer summary. Unresolved codes answer 422 with candidates; unambiguous case/notation variants resolve.
입력 스키마
{
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"quantity": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"detail": {
"type": "string",
"enum": [
"summary",
"full"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"offset": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
}🟢ofp_convert(value, fromUnit, toUnit, assumption, dictionary)
Use this when a measurement needs converting between units (kWh to MJ, bbl to m3). Resolve unsure codes with ofp_units first. Answers {value, unit, provenance}; keep provenance. A 422 refusal is data: error (unresolved_unit, incompatible_dimension, assumption_required, invalid_conversion_parameters) + detail; read it, do not blind-retry. Volume to energy/mass needs a declared assumption (calorificValue or density); the detail names required fields — never invent. dictionary ([name@]version) is a pin; mismatches refuse. Not CO2e.
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "number"
},
"fromUnit": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"toUnit": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"assumption": {
"type": "object",
"additionalProperties": {}
},
"dictionary": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"value",
"fromUnit",
"toUnit"
],
"additionalProperties": false
}🟢billing_plans
Use this when you need to know what each dVeracity plan includes or what the free allowance covers. Show dVeracity plans, what each plan includes and the free-tier allowance.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢billing_status
Use this when a call was refused for credits or plan, to tell the user what is missing. Use it after a 402 to tell your human what is missing.
입력 스키마
{
"type": "object",
"properties": {},
"additionalProperties": false
}커뮤니티
증거