MCP server
Agent Metering
io.github.jdhart81/agent-metering
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Usage metering + SLA accounting for agent services (the meter behind x402 micropayments).
Working at last checkAbout 1,658 tokens per request once connected11 tools
https://mcp.viridisconservation.com/metering/mcp
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Working at last check
- Tools
- 11
- Token cost
- About 1,658 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http agent-metering https://mcp.viridisconservation.com/metering/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.agent-metering] url = "https://mcp.viridisconservation.com/metering/mcp"
Gemini CLI
{"mcpServers":{"agent-metering":{"httpUrl":"https://mcp.viridisconservation.com/metering/mcp"}}}
Cursor
{"mcpServers":{"agent-metering":{"url":"https://mcp.viridisconservation.com/metering/mcp"}}}
VS Code
{"servers":{"agent-metering":{"type":"http","url":"https://mcp.viridisconservation.com/metering/mcp"}}}
Antigravity
agy mcp add agent-metering https://mcp.viridisconservation.com/metering/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"agent-metering","server_url":"https://mcp.viridisconservation.com/metering/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"agent-metering","server_url":"https://mcp.viridisconservation.com/metering/mcp"}
Tools
close_period~92 tokens
Freeze all open events into an immutable invoice (exactly-once). The invoice amount is what agent-escrow-agent should settle.create_meter~207 tokens
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.flag_meter~177 tokens
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.list_events~357 tokens
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.list_meters~46 tokens
List all meters with event/invoice counts.record_usage~181 tokens
Record a usage event. Idempotent on event_id (safe to retry — never double-billed). outcome is 'ok' or 'error' and feeds the SLA report.sla_report~74 tokens
Pure SLA report: success_rate vs sla_target, breach flag. No mutation.usage_summary~76 tokens
Totals for a meter: event count, total quantity, accrued minor units.usage_timeseries~332 tokens
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 estimatverify_chain~71 tokens
Verify the tamper-evident event hash chain for a meter.
Browse
Related MCP servers
- Amberflo MCP by usefulapi
Query and manage Amberflo metering & billing: customers, meters, usage, plans, invoices, prepaid. - X402 Tools
61 x402 pay-per-call tools that chain: each answer names the next call. No API key, no account. - Novence
Hosted MCP for creating, checking, deploying, and hosting static sites for AI agents. - Firmenbuch
Austria's Firmenbuch & Germany's Handelsregister: official company data, financials & ratios. - Recao
Rank a competitor's EU App Store ads by longevity. From Apple's official Ad Repository. - API Meter
Per-customer API usage analytics: sign up, get ingest snippets, read usage by customer and endpoint. - compute.pangle.online — GPU rental market
Live GPU rental market: 2,500+ offers across a dozen provider feeds. History, watches, limit orders. - Wincher MCP by usefulapi
Read Wincher keyword rankings, SERPs, competitors and history; add keywords, groups and notes.
Badge for your README
[](https://aptlynx.net/servers/io.github.jdhart81/agent-metering)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents