Agent Metering is an MCP server published by io.github.jdhart81, hosted at mcp.viridisconservation.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 11 tools, including create_meter, record_usage, usage_summary, sla_report, close_period.
Usage metering + SLA accounting for agent services (the meter behind x402 micropayments).
135 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Create a usage meter between a provider and a consumer agent. unit: what is being counted (call, token, kwh, ...). Price is in minor currency units (cents) per unit. Returns the meter_id.
| Parameter | Type | Description |
|---|---|---|
| unit * | string | What is counted, for example call, token or kwh. |
| consumer * | string | Agent id of the party consuming it. |
| currency | string | ISO 4217 currency code, for example USD. |
| provider * | string | Agent id of the party providing the service. |
| sla_target | number | Target success rate between 0 and 1. Default 0.99. |
| price_minor_per_unit * | number | Price per unit in minor units (cents). |
{
"name": "create_meter",
"title": "Create meter",
"description": "Create a usage meter between a provider and a consumer agent.\n\n unit: what is being counted (call, token, kwh, ...). Price is in minor\n currency units (cents) per unit. Returns the meter_id.",
"inputSchema": {
"type": "object",
"title": "create_meterArguments",
"required": [
"provider",
"consumer",
"unit",
"price_minor_per_unit"
],
"properties": {
"unit": {
"type": "string",
"title": "Unit",
"description": "What is counted, for example call, token or kwh."
},
"consumer": {
"type": "string",
"title": "Consumer",
"description": "Agent id of the party consuming it."
},
"currency": {
"type": "string",
"title": "Currency",
"default": "USD",
"description": "ISO 4217 currency code, for example USD."
},
"provider": {
"type": "string",
"title": "Provider",
"description": "Agent id of the party providing the service."
},
"sla_target": {
"type": "number",
"title": "Sla Target",
"default": 0.99,
"description": "Target success rate between 0 and 1. Default 0.99."
},
"price_minor_per_unit": {
"type": "number",
"title": "Price Minor Per Unit",
"description": "Price per unit in minor units (cents)."
}
}
},
"outputSchema": {
"type": "object",
"title": "create_meterOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Create meter",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Record a usage event. Idempotent on event_id (safe to retry — never double-billed). outcome is 'ok' or 'error' and feeds the SLA report.
| Parameter | Type | Description |
|---|---|---|
| outcome | string | ok or error. Feeds the SLA report. |
| event_id * | string | Your id for this usage event; recording it again never double-bills. |
| metadata | any | Optional. Extra key-value data stored with the record. |
| meter_id * | string | The meter id returned by create_meter. |
| quantity * | number | Units used in this event. |
{
"name": "record_usage",
"title": "Record usage",
"description": "Record a usage event. Idempotent on event_id (safe to retry — never\n double-billed). outcome is 'ok' or 'error' and feeds the SLA report.",
"inputSchema": {
"type": "object",
"title": "record_usageArguments",
"required": [
"meter_id",
"event_id",
"quantity"
],
"properties": {
"outcome": {
"type": "string",
"title": "Outcome",
"default": "ok",
"description": "ok or error. Feeds the SLA report."
},
"event_id": {
"type": "string",
"title": "Event Id",
"description": "Your id for this usage event; recording it again never double-bills."
},
"metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Metadata",
"default": null,
"description": "Optional. Extra key-value data stored with the record."
},
"meter_id": {
"type": "string",
"title": "Meter Id",
"description": "The meter id returned by create_meter."
},
"quantity": {
"type": "number",
"title": "Quantity",
"description": "Units used in this event."
}
}
},
"outputSchema": {
"type": "object",
"title": "record_usageOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Record usage",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Totals for a meter: event count, total quantity, accrued minor units.
| Parameter | Type | Description |
|---|---|---|
| meter_id * | string | The meter id returned by create_meter. |
{
"name": "usage_summary",
"title": "Usage summary",
"description": "Totals for a meter: event count, total quantity, accrued minor units.",
"inputSchema": {
"type": "object",
"title": "usage_summaryArguments",
"required": [
"meter_id"
],
"properties": {
"meter_id": {
"type": "string",
"title": "Meter Id",
"description": "The meter id returned by create_meter."
}
}
},
"outputSchema": {
"type": "object",
"title": "usage_summaryOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Usage summary",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Pure SLA report: success_rate vs sla_target, breach flag. No mutation.
| Parameter | Type | Description |
|---|---|---|
| meter_id * | string | The meter id returned by create_meter. |
{
"name": "sla_report",
"title": "Sla report",
"description": "Pure SLA report: success_rate vs sla_target, breach flag. No mutation.",
"inputSchema": {
"type": "object",
"title": "sla_reportArguments",
"required": [
"meter_id"
],
"properties": {
"meter_id": {
"type": "string",
"title": "Meter Id",
"description": "The meter id returned by create_meter."
}
}
},
"outputSchema": {
"type": "object",
"title": "sla_reportOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Sla report",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Freeze all open events into an immutable invoice (exactly-once). The invoice amount is what agent-escrow-agent should settle.
| Parameter | Type | Description |
|---|---|---|
| meter_id * | string | The meter id returned by create_meter. |
{
"name": "close_period",
"title": "Close period",
"description": "Freeze all open events into an immutable invoice (exactly-once).\n The invoice amount is what agent-escrow-agent should settle.",
"inputSchema": {
"type": "object",
"title": "close_periodArguments",
"required": [
"meter_id"
],
"properties": {
"meter_id": {
"type": "string",
"title": "Meter Id",
"description": "The meter id returned by create_meter."
}
}
},
"outputSchema": {
"type": "object",
"title": "close_periodOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Close period",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Verify the tamper-evident event hash chain for a meter.
| Parameter | Type | Description |
|---|---|---|
| meter_id * | string | The meter id returned by create_meter. |
{
"name": "verify_chain",
"title": "Verify chain",
"description": "Verify the tamper-evident event hash chain for a meter.",
"inputSchema": {
"type": "object",
"title": "verify_chainArguments",
"required": [
"meter_id"
],
"properties": {
"meter_id": {
"type": "string",
"title": "Meter Id",
"description": "The meter id returned by create_meter."
}
}
},
"outputSchema": {
"type": "object",
"title": "verify_chainOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Verify chain",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List all meters with event/invoice counts.
No parameters.
{
"name": "list_meters",
"title": "List meters",
"description": "List all meters with event/invoice counts.",
"inputSchema": {
"type": "object",
"title": "list_metersArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "list_metersOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "List meters",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Read usage events (paginated, read-only). Filter by meter, provider, consumer_class (internal|external|unknown), channel, outcome (ok|error), and ISO date range [since, until). Test-flagged events are excluded unless include_test=true. Returns events + next_cursor.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Optional. The most items to return. |
| since | any | Optional. ISO-8601 timestamp: only items at or after this time. |
| until | any | Optional. ISO-8601 timestamp: only items before this time. |
| cursor | any | Optional. The cursor from your previous answer, to fetch the next page. |
| channel | any | Optional filter: the channel the events came through. |
| outcome | any | ok or error. Feeds the SLA report. |
| meter_id | any | The meter id returned by create_meter. |
| provider | any | Agent id of the party providing the service. |
| include_test | boolean | Optional. Include events from meters flagged as test. Default false. |
| consumer_class | any |
Usage time series bucketed on each event's recorded_at (UTC; bucket=day|hour), grouped across meters by provider — a real time-series primitive, independent of meter creation times. Includes per-bucket breakdowns by consumer_class / channel / provider. est_accrued_minor is an estimate; authoritative billing stays with usage_summary.
| Parameter | Type | Description |
|---|---|---|
| since | any | Optional. ISO-8601 timestamp: only items at or after this time. |
| until | any | Optional. ISO-8601 timestamp: only items before this time. |
| bucket | string | day or hour. |
| channel | any | Optional filter: the channel the events came through. |
| meter_id | any | The meter id returned by create_meter. |
| provider | any | Agent id of the party providing the service. |
| include_test | boolean | Optional. Include events from meters flagged as test. Default false. |
| consumer_class | any | Optional filter: internal, external or unknown. |
{
"name": "usage_timeseries",
"title": "Usage timeseries",
"description": "Usage time series bucketed on each event's recorded_at (UTC;\n bucket=day|hour), grouped across meters by provider — a real time-series\n primitive, independent of meter creation times. Includes per-bucket\n breakdowns by consumer_class / channel / provider. est_accrued_minor is\n an estimate; authoritative billing stays with usage_summary.",
"inputSchema": {
"type": "object",
"title": "usage_timeseriesArguments",
"properties": {
"since": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Since",
"default": null,
"description": "Optional. ISO-8601 timestamp: only items at or after this time."
},
"until": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Until",
"default": null,
"description": "Optional. ISO-8601 timestamp: only items before this time."
},
"bucket": {
"type": "string",
"title": "Bucket",
"default": "day",
"description": "day or hour."
},
"channel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Channel",
"default": null,
"description": "Optional filter: the channel the events came through."
},
"meter_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Meter Id",
"default": null,
"description": "The meter id returned by create_meter."
},
"provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Provider",
"default": null,
"description": "Agent id of the party providing the service."
},
"include_test": {
"type": "boolean",
"title": "Include Test",
"default": false,
"description": "Optional. Include events from meters flagged as test. Default false."
},
"consumer_class": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Consumer Class",
"default": null,
"description": "Optional filter: internal, external or unknown."
}
}
},
"outputSchema": {
"type": "object",
"title": "usage_timeseriesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Usage timeseries",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Admin: flag/unflag a meter as test/synthetic so its events are excluded from usage statistics by default. Touches meter metadata only — never events, never the hash chain, never billing accruals. Requires the server's VIRIDIS_ADMIN_TOKEN.
| Parameter | Type | Description |
|---|---|---|
| note | string | Optional. Why the flag changed. |
| is_test * | boolean | True to flag the meter as test traffic, false to clear it. |
| meter_id * | string | The meter id returned by create_meter. |
| admin_token * | string | The server's admin token. Required for this admin action. |
{
"name": "flag_meter",
"title": "Flag meter",
"description": "Admin: flag/unflag a meter as test/synthetic so its events are\n excluded from usage statistics by default. Touches meter metadata only —\n never events, never the hash chain, never billing accruals. Requires the\n server's VIRIDIS_ADMIN_TOKEN.",
"inputSchema": {
"type": "object",
"title": "flag_meterArguments",
"required": [
"meter_id",
"is_test",
"admin_token"
],
"properties": {
"note": {
"type": "string",
"title": "Note",
"default": "",
"description": "Optional. Why the flag changed."
},
"is_test": {
"type": "boolean",
"title": "Is Test",
"description": "True to flag the meter as test traffic, false to clear it."
},
"meter_id": {
"type": "string",
"title": "Meter Id",
"description": "The meter id returned by create_meter."
},
"admin_token": {
"type": "string",
"title": "Admin Token",
"description": "The server's admin token. Required for this admin action."
}
}
},
"outputSchema": {
"type": "object",
"title": "flag_meterOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Flag meter",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Describe this agent: name, version, purpose, every action it supports and the inputs each one takes. Read-only and free; call it first to learn how to use this server.
No parameters.
{
"name": "describe_agent",
"title": "Describe this service",
"description": "Describe this agent: name, version, purpose, every action it supports\n and the inputs each one takes. Read-only and free; call it first to learn\n how to use this server.",
"inputSchema": {
"type": "object",
"title": "describe_agentArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "describe_agentOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "Describe this service",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Usage metering + SLA accounting for agent services (the meter behind x402 micropayments).
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| Optional filter: internal, external or unknown. |
{
"name": "list_events",
"title": "List events",
"description": "Read usage events (paginated, read-only). Filter by meter, provider,\n consumer_class (internal|external|unknown), channel, outcome (ok|error),\n and ISO date range [since, until). Test-flagged events are excluded\n unless include_test=true. Returns events + next_cursor.",
"inputSchema": {
"type": "object",
"title": "list_eventsArguments",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 100,
"description": "Optional. The most items to return."
},
"since": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Since",
"default": null,
"description": "Optional. ISO-8601 timestamp: only items at or after this time."
},
"until": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Until",
"default": null,
"description": "Optional. ISO-8601 timestamp: only items before this time."
},
"cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cursor",
"default": null,
"description": "Optional. The cursor from your previous answer, to fetch the next page."
},
"channel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Channel",
"default": null,
"description": "Optional filter: the channel the events came through."
},
"outcome": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Outcome",
"default": null,
"description": "ok or error. Feeds the SLA report."
},
"meter_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Meter Id",
"default": null,
"description": "The meter id returned by create_meter."
},
"provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Provider",
"default": null,
"description": "Agent id of the party providing the service."
},
"include_test": {
"type": "boolean",
"title": "Include Test",
"default": false,
"description": "Optional. Include events from meters flagged as test. Default false."
},
"consumer_class": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Consumer Class",
"default": null,
"description": "Optional filter: internal, external or unknown."
}
}
},
"outputSchema": {
"type": "object",
"title": "list_eventsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"title": "List events",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}