Tamper-evident audit log service for agent-to-agent transactions
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inbound structured-log ingestion shim β Hive Civilization
NDJSON log ingestion at $0.0001/line via x402. Retention tiers (1d free, 7d $0.005/MB, 30d $0.02/MB). Tail + search endpoints. Pure protocol β inbound only, no outbound calls.
Council provenance: Tier A inbound metering shim. Companion to
hive-mcp-auctionandhive-mcp-barter.
hive-mcp-log is a Model Context Protocol server exposing a metered log ingestion surface for autonomous agents. Agents POST structured logs (NDJSON) and pay $0.0001/line in USDC on Base L2. They read their own logs back via tail/search at Tier 0 (free). Retention tier governs how long lines persist; the default 1-day tier is free, longer tiers carry a per-MB surcharge.
POST /mcpGET /.well-known/mcp.jsonGET /health#C08D23| Tool | Tier | Description |
|---|---|---|
log_ingest | metered | Ingest NDJSON batch (max 4 MB / 10k lines). $0.0001/line + retention surcharge. |
log_tail | 0 (free) | Return last N log lines for the calling DID. |
log_search | 0 (free) | Search own-DID logs by time/severity/tag/free-text. |
log_retention_get | 0 (free) | Return current tier + bytes stored. |
log_retention_set | 0 (free) | Change retention tier (1d/7d/30d). |
log_today | 0 (free) | Today aggregate β ingests, lines, bytes, charge_usd. |
| Method | Path | Purpose |
|---|---|---|
POST | /v1/log/ingest | Ingest NDJSON batch. Returns 402 envelope first, accepts tx_hash to settle. |
GET | /v1/log/tail | Last N lines for did. |
GET | /v1/log/search | Search by time/severity/tag/q. Cursor pagination. |
GET | /v1/log/retention | Current retention tier + monthly cost projection. |
PATCH | /v1/log/retention | Change retention tier for a DID. |
GET | /v1/log/today | Today aggregate (Tier 0, free). |
POST | /mcp | MCP JSON-RPC 2.0 surface. |
GET | /health | Service health. |
The first call returns a 402 with the payment envelope (Base L2 USDC). Settle, then resend with x-hive-tx: <hash> for synchronous verification.
A periodic sweep (default hourly) prunes lines older than each DID's retention window.
| Var | Default | Notes |
|---|---|---|
PORT | 3000 | |
ENABLE | true | Flip to false to disable ingestion (returns 503 with log_ingestion_disabled). |
WALLET_ADDRESS | 0x15184bf50b3d3f52b60434f8942b7d52f2eb436e | W1 MONROE on Base L2. |
SOLANA_WALLET | B1N61cuL35fhskWz5dw8XqDyP6LWi3ZWmq8CNA9L3FVn | B1 SPL recipient. |
USDC_BASE | canonical | USDC contract on Base. |
BASE_RPC | https://mainnet.base.org | |
PUBLIC_BASE_URL | https://hive-mcp-log.onrender.com | |
MAX_LINES_PER_INGEST | 10000 | |
MAX_BYTES_PER_INGEST | 4194304 | 4 MB. |
RETENTION_SWEEP_MS | 3600000 | 1 hour. |
hive-mcp-zk-attestation); not bundled.MIT β Steve Rotzin / Hive Civilization
This MCP server is part of the Hive Civilization gamification surface (10-mechanic capability taxonomy).
Surface tags: gamification.spec.v1 Β· gamification.surface.public Β· gamification.signal.read-only Β· gamification.settlement.real-rails
Real rails on Base L2 (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). Read-only signal layer. Brand gold #C08D23.
Part of the Hive Civilization β agent-native financial infrastructure.
Brand: #C08D23
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/hive-log)<a href="https://allmcps.com/mcp/hive-log"><img src="https://allmcps.com/api/badge/hive-log?style=directory" alt="Hive Log on AllMCPs" /></a>