protogrid

Search / io.github.jdhart81/agent-metering

agent-metering

R0· no sign-in

Usage metering + SLA accounting for agent services (the meter behind x402 micropayments).

v0.2.0 · active · repository · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality79good
Trust79of 100
Uptime, 30 days100%
Latency p5093 ms

Connect

8 clients · secrets stay placeholders
{
  "mcpServers": {
    "agent-metering": {
      "type": "http",
      "url": "https://mcp.viridisconservation.com/metering/mcp"
    }
  }
}
claude mcp add --transport http agent-metering https://mcp.viridisconservation.com/metering/mcp
[mcp_servers.agent-metering]
url = "https://mcp.viridisconservation.com/metering/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "agent-metering": {
      "type": "remote",
      "url": "https://mcp.viridisconservation.com/metering/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "agent-metering": {
      "type": "http",
      "url": "https://mcp.viridisconservation.com/metering/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=agent-metering&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vbWNwLnZpcmlkaXNjb25zZXJ2YXRpb24uY29tL21ldGVyaW5nL21jcCJ9"
}
{
  "servers": {
    "agent-metering": {
      "type": "http",
      "url": "https://mcp.viridisconservation.com/metering/mcp"
    }
  }
}
{
  "mcpServers": {
    "agent-metering": {
      "httpUrl": "https://mcp.viridisconservation.com/metering/mcp"
    }
  }
}
extensions:
  "agent-metering":
    enabled: true
    name: "agent-metering"
    type: streamable_http
    uri: "https://mcp.viridisconservation.com/metering/mcp"
    timeout: 300

Quality 79 / 100good

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene71 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • fail
    tools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
  • fail
    tools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: sla_report (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); describe_agent (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); create_meter (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
  • pass
    tools.token_costabout 1,334 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
stability100 · weight 15
  • pass
    stability.changesno tool changes in 30 days
  • pass
    stability.rug_pullno tool changed its meaning under the same name
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

11 tools, about 1,334 tokens to load them all · tool set 254ce18a9767 · checked 2026-10-20 12:13 UTC

Tool changes

No tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 79 / 100

duplicate-repo
provenance80
liveness100
freshness65
hygiene60

+repository +namespace-matches-repo +reachable +uptime-100% ~updated-97d-ago -duplicate-repo(32 names)

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Endpoints

remoteauthreachableuptime 30dp50protocollast ok
https://mcp.viridisconservation.com/metering/mcp streamable-httpnoneyes100%93 ms2025-11-252026-10-20

Tools (11)

close_periodFreeze all open events into an immutable invoice (exactly-once). The invoice amount is what agent-escrow-agent should settle.
create_meterCreate 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.
describe_agentFleet-standard self-description.
flag_meterAdmin: 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_eventsRead 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_metersList all meters with event/invoice counts.
record_usageRecord a usage event. Idempotent on event_id (safe to retry — never double-billed). outcome is 'ok' or 'error' and feeds the SLA report.
sla_reportPure SLA report: success_rate vs sla_target, breach flag. No mutation.
usage_summaryTotals for a meter: event count, total quantity, accrued minor units.
usage_timeseriesUsage 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.
verify_chainVerify the tamper-evident event hash chain for a meter.

Schemas: list_tools.

Also listed as

31 other active names share this repository (showing 10): io.github.jdhart81/agent-arbitration, io.github.jdhart81/agent-compute-ledger, io.github.jdhart81/agent-covenant, io.github.jdhart81/agent-erc8004-bridge, io.github.jdhart81/agent-escrow, io.github.jdhart81/agent-hive-orchestrator, io.github.jdhart81/agent-identity-registry, io.github.jdhart81/agent-market-network, io.github.jdhart81/agent-notary, io.github.jdhart81/agent-offset-clearinghouse

Similar MCP servers

More from io.github.jdhart81

And 26 more from this publisher.

Official server.json
{
  "name": "io.github.jdhart81/agent-metering",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://mcp.viridisconservation.com/metering/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "0.2.0",
  "repository": {
    "url": "https://github.com/jdhart81/viridis-agent-fleet",
    "source": "github"
  },
  "description": "Usage metering + SLA accounting for agent services (the meter behind x402 micropayments)."
}