MCP-Server

ghg-ledger

io.github.jdhart81/ghg-ledger
Business & Betrieb Wissenschaft & Engineering Öffentlich und erreichbar MCP 2025-11-25

Was dieses MCP kann

Calculates auditable Scope 1, 2, and 3 greenhouse-gas inventories using bundled emission factors and verifies result hashes.

calculate_inventory
Calculate an auditable GHG inventory from explicit activity records. Returns per-line gas/CO2e results, Scope 1/2/3 and category rollups, dual Scope 2 reporting, indeterminate lines, factor lineage, notary payload, and an offset-clearinghouse dry-run weave. This is calculation, not advice. Price: $1.00 per call after 10 free calls/day. Pay at /x402/ghg-ledger/calculate_inventory with Base USDC, cash-fund payment_ref through escrow_checkout + confirm_escrow_funding, or use /seats.
Eingabeschema
{'type': 'object', 'title': 'calculate_inventoryArguments', 'required': ['activities'], 'properties': {'options': {'anyOf': [{'type': 'object', 'additionalProperties': True}, {'type': 'null'}], 'title': 'Options', 'default': None}, 'activities': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}, 'title': 'Activities'}, 'request_id': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Request Id', 'default': None}, 'payment_ref': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Payment Ref', 'default': None}}}
Ausgabeschema
{'type': 'object', 'title': 'calculate_inventoryOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
classify_activity
Suggest scope and Scope 3 category from the bundled deterministic map. No inference is used; unknown activity types return no suggestion.
Eingabeschema
{'type': 'object', 'title': 'classify_activityArguments', 'required': ['activity'], 'properties': {'activity': {'type': 'object', 'title': 'Activity', 'additionalProperties': True}}}
Ausgabeschema
{'type': 'object', 'title': 'classify_activityOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
describe_agent
Return fleet-standard capabilities, version, pack digest, and pricing.
Eingabeschema
{'type': 'object', 'title': 'describe_agentArguments', 'properties': {}}
Ausgabeschema
{'type': 'object', 'title': 'describe_agentOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
get_factor_pack
Return factors, GWP values, conversions, sources, and pack SHA for one exact bundled region/year. No nearest-region or nearest-year substitution.
Eingabeschema
{'type': 'object', 'title': 'get_factor_packArguments', 'required': ['region', 'year'], 'properties': {'year': {'type': 'integer', 'title': 'Year'}, 'region': {'type': 'string', 'title': 'Region'}}}
Ausgabeschema
{'type': 'object', 'title': 'get_factor_packOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
list_factor_packs
List the bundled pack version/digest, supported regions and years, activity types, GWP set, and explicit MVP coverage.
Eingabeschema
{'type': 'object', 'title': 'list_factor_packsArguments', 'properties': {}}
Ausgabeschema
{'type': 'object', 'title': 'list_factor_packsOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
verify_result
Recompute a prior inventory's audit hash and conservation checks. Pass the prior result object as JSON; tampering or stale factor lineage is flagged.
Eingabeschema
{'type': 'object', 'title': 'verify_resultArguments', 'required': ['result_json'], 'properties': {'result_json': {'type': 'string', 'title': 'Result Json'}}}
Ausgabeschema
{'type': 'object', 'title': 'verify_resultOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
Hinzugefügt
describe_agent
17. September 2026 12:42
Hinzugefügt
verify_result
17. September 2026 12:42
Hinzugefügt
get_factor_pack
17. September 2026 12:42
Hinzugefügt
list_factor_packs
17. September 2026 12:42
Hinzugefügt
classify_activity
17. September 2026 12:42
Hinzugefügt
calculate_inventory
17. September 2026 12:42