{"id":"io.github.jdhart81/agent-metering","slug":"io-github-jdhart81-agent-metering","title":"Agent Metering","description":"Usage metering + SLA accounting for agent services (the meter behind x402 micropayments).","version":"0.2.1","publisher":{"kind":"github","id":"jdhart81","label":"@jdhart81 on GitHub","url":"https://github.com/jdhart81"},"website":"https://github.com/jdhart81/viridis-agent-fleet/blob/main/docs/servers/agent-metering.md","repository":"https://github.com/jdhart81/viridis-agent-fleet","remotes":[{"type":"streamable-http","url":"https://mcp.viridisconservation.com/metering/mcp"}],"packages":[],"published":"2026-11-16","updated":"2026-11-16","status":"online","auth":"","latency_ms":923,"checked":"2026-11-19","uptime":100,"checks":3,"tools":[{"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.","read_only":false},{"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.","read_only":false},{"name":"usage_summary","title":"Usage summary","description":"Totals for a meter: event count, total quantity, accrued minor units.","read_only":true},{"name":"sla_report","title":"Sla report","description":"Pure SLA report: success_rate vs sla_target, breach flag. No mutation.","read_only":true},{"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.","read_only":false},{"name":"verify_chain","title":"Verify chain","description":"Verify the tamper-evident event hash chain for a meter.","read_only":true},{"name":"list_meters","title":"List meters","description":"List all meters with event/invoice counts.","read_only":true},{"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.","read_only":true},{"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.","read_only":false},{"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.","read_only":false},{"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.","read_only":true}],"server_info":{"name":"agent-metering-agent","version":"0.2.1"},"category":"agents","tags":["crypto","finance","analytics"],"kind":"remote","source":"registry","submitted":{},"first_party":false,"domain_rank":null,"score":100,"indexable":true,"first_seen":"2026-07-10","stars":0,"badges":[],"sponsor":null,"page":"https://agentsindex.org/agents/io-github-jdhart81-agent-metering/"}