Agent Metering
io.github.jdhart81/agent-metering
Usage metering + SLA accounting for agent services (the meter behind x402 micropayments).
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/jdhart81/viridis-agent-fleet
- Website
- github.com/jdhart81/viridis-agent-fleet/blob/main/docs/servers/agent-metering.md
- Server address
https://mcp.viridisconservation.com/metering/mcp(streamable-http)- Version
- 0.2.1
- Author
- jdhart81 (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 16, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Claude Code
In a terminal:
claude mcp add --transport http agent-metering https://mcp.viridisconservation.com/metering/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://mcp.viridisconservation.com/metering/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://mcp.viridisconservation.com/metering/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"agent-metering": {
"url": "https://mcp.viridisconservation.com/metering/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"agent-metering": {
"type": "http",
"url": "https://mcp.viridisconservation.com/metering/mcp"
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 11:37 (test run by L’Atlas)
- Response time
- 652 ms (whole test)
- Tools found
- 11
- Announced name
- agent-metering-agent 0.2.1
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (11)
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.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.usage_summary
Totals for a meter: event count, total quantity, accrued minor units.sla_report
Pure SLA report: success_rate vs sla_target, breach flag. No mutation.close_period
Freeze all open events into an immutable invoice (exactly-once). The invoice amount is what agent-escrow-agent should settle.verify_chain
Verify the tamper-evident event hash chain for a meter.list_meters
List all meters with event/invoice counts.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. Retuusage_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 / channelflag_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.describe_agent
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.
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
Agent Metering · L’Agora · Tested on
[Agent Metering — L’Agora](https://lagora.dev/en/entry/io.github.jdhart81/agent-metering)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.jdhart81/agent-metering)HTML
<a href="https://lagora.dev/en/entry/io.github.jdhart81/agent-metering"><img src="https://lagora.dev/badge/io.github.jdhart81/agent-metering.svg?lang=en" alt="io.github.jdhart81/agent-metering on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
Dendritic Forest Management Local
Agent Market Responds
Wu Wei Router Responds
Wavefunction Search Responds