Agent Metering
io.github.jdhart81/agent-metering
MCP server OK 11 tools
Usage metering + SLA accounting for agent services (the meter behind x402 micropayments).
Technical sheet
- Author
- jdhart81 (registry namespace)
- Repository
- github.com/jdhart81/viridis-agent-fleet
- Site
- github.com/jdhart81/viridis-agent-fleet/blob/main/docs/servers/agent-metering.md
- Version
- 0.2.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://mcp.viridisconservation.com/metering/mcp Streamable HTTP
- Tools
- 11
- Categories
- AI, agents and memory, Finance and payments
- Last updated
- 16 Nov 2026
- Published
- 16 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 1 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.jdhart81/agent-metering)<a href="https://latlas.dev/en/mcp/io.github.jdhart81/agent-metering"><img src="https://latlas.dev/badge/statut/mcp/io.github.jdhart81/agent-metering.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.jdhart81/agent-metering)<a href="https://latlas.dev/en/mcp/io.github.jdhart81/agent-metering"><img src="https://latlas.dev/badge/fiche/io.github.jdhart81/agent-metering.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.viridisconservation.com/metering/mcp
- Last result
- OK 28 Nov 2026, 11:37
- Response time
- 652 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- agent-metering-agent 0.2.1
- Tools
- 11
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:37 | OK | 652 ms | 11 |
Exposed tools (11, from tools/list, 28 Nov 2026)
create_meter
Create meter
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 | Required | Description |
|---|---|---|---|
| provider | string | yes | Agent id of the party providing the service. |
| consumer | string | yes | Agent id of the party consuming it. |
| unit | string | yes | What is counted, for example call, token or kwh. |
| price_minor_per_unit | number | yes | Price per unit in minor units (cents). |
| currency | string | no | ISO 4217 currency code, for example USD. |
| sla_target | number | no | Target success rate between 0 and 1. Default 0.99. |
record_usage
Record usage
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 | Required | Description |
|---|---|---|---|
| meter_id | string | yes | The meter id returned by create_meter. |
| event_id | string | yes | Your id for this usage event; recording it again never double-bills. |
| quantity | number | yes | Units used in this event. |
| outcome | string | no | ok or error. Feeds the SLA report. |
| metadata | object | null | no | Optional. Extra key-value data stored with the record. |
usage_summary
Usage summary
Totals for a meter: event count, total quantity, accrued minor units.
| Parameter | Type | Required | Description |
|---|---|---|---|
| meter_id | string | yes | The meter id returned by create_meter. |
sla_report
Sla report
Pure SLA report: success_rate vs sla_target, breach flag. No mutation.
| Parameter | Type | Required | Description |
|---|---|---|---|
| meter_id | string | yes | The meter id returned by create_meter. |
close_period
Close period
Freeze all open events into an immutable invoice (exactly-once). The invoice amount is what agent-escrow-agent should settle.
| Parameter | Type | Required | Description |
|---|---|---|---|
| meter_id | string | yes | The meter id returned by create_meter. |
verify_chain
Verify chain
Verify the tamper-evident event hash chain for a meter.
| Parameter | Type | Required | Description |
|---|---|---|---|
| meter_id | string | yes | The meter id returned by create_meter. |
list_meters
List meters
List all meters with event/invoice counts.
No parameters.
list_events
List events
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 | Required | Description |
|---|---|---|---|
| meter_id | string | null | no | The meter id returned by create_meter. |
| provider | string | null | no | Agent id of the party providing the service. |
| consumer_class | string | null | no | Optional filter: internal, external or unknown. |
| channel | string | null | no | Optional filter: the channel the events came through. |
| outcome | string | null | no | ok or error. Feeds the SLA report. |
| since | string | null | no | Optional. ISO-8601 timestamp: only items at or after this time. |
| until | string | null | no | Optional. ISO-8601 timestamp: only items before this time. |
| include_test | boolean | no | Optional. Include events from meters flagged as test. Default false. |
| limit | integer | no | Optional. The most items to return. |
| cursor | string | null | no | Optional. The cursor from your previous answer, to fetch the next page. |
usage_timeseries
Usage timeseries
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 | Required | Description |
|---|---|---|---|
| bucket | string | no | day or hour. |
| provider | string | null | no | Agent id of the party providing the service. |
| meter_id | string | null | no | The meter id returned by create_meter. |
| consumer_class | string | null | no | Optional filter: internal, external or unknown. |
| channel | string | null | no | Optional filter: the channel the events came through. |
| since | string | null | no | Optional. ISO-8601 timestamp: only items at or after this time. |
| until | string | null | no | Optional. ISO-8601 timestamp: only items before this time. |
| include_test | boolean | no | Optional. Include events from meters flagged as test. Default false. |
flag_meter
Flag meter
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 | Required | Description |
|---|---|---|---|
| meter_id | string | yes | The meter id returned by create_meter. |
| is_test | boolean | yes | True to flag the meter as test traffic, false to clear it. |
| admin_token | string | yes | The server's admin token. Required for this admin action. |
| note | string | no | Optional. Why the flag changed. |
describe_agent
Describe this service
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.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.viridisconservation.com/metering/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http agent-metering https://mcp.viridisconservation.com/metering/mcpCustomize > Connectors > + Add > Add custom connector ; Name : agent-metering ; URL : https://mcp.viridisconservation.com/metering/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : agent-metering ; Server URL : https://mcp.viridisconservation.com/metering/mcp ; Create as a plugin{
"mcpServers": {
"agent-metering": {
"url": "https://mcp.viridisconservation.com/metering/mcp"
}
}
}{
"mcpServers": {
"agent-metering": {
"type": "http",
"url": "https://mcp.viridisconservation.com/metering/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"agent-metering": {
"url": "https://mcp.viridisconservation.com/metering/mcp"
}
}
}{
"mcpServers": {
"agent-metering": {
"httpUrl": "https://mcp.viridisconservation.com/metering/mcp"
}
}
}[mcp_servers.agent-metering]
url = "https://mcp.viridisconservation.com/metering/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Agent Metering · L’Atlas · Tested on
[Agent Metering — L’Atlas](https://latlas.dev/en/mcp/io.github.jdhart81/agent-metering)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.