Structural Lateration (SLS) metering MCP server — the primitive AFiR/MiR/RogueCompute/Stream/OCR are children of. Laterate off prior attested shapes, pay only the residual; the signed ML-DSA-65 receipt that proves the lateration is the invoice for the avoided cost. Verifiable offline. Patent Pending. Hive Civilization.

hive-mcp-lateration — Structural Lateration (SLS)

A remote MCP server for Structural Lateration — the metered primitive that AFiR, MiR, RogueCompute, Stream, and OCR are children of.

Instead of re-establishing structural work from scratch, an agent laterates off prior attested shapes — triangulating its position from several already-signed references (n-body) and paying only for the residual. The gap between what going solo would have cost and what the lateration actually cost is the avoided cost — the value created. The signed receipt that proves the lateration is the invoice for that value. Dispute the bill by tampering the avoided cost and the receipt no longer verifies: you lose the proof the lateration ever helped you.

Every receipt is signed with ML-DSA-65 (NIST FIPS 204) and returned as a self-contained envelope you can verify offline, with no secret and no callback.

Patent Pending. Hive Civilization.

  • Remote endpoint: https://hive-mcp-lateration.onrender.com/mcp
  • Transport: Streamable-HTTP, JSON-RPC 2.0, MCP 2024-11-05
  • Upstream signer: https://hive-typed-signer.onrender.com
  • Signature scheme: ML-DSA-65 (NIST FIPS 204)
  • Settlement: USDC on Base. Verify is always free.

How the metering works

Three streams, one signed object:

Stream What it charges Note
Nano receipt floor A fixed micro-fee per lateration receipt Always billed
Savings clip A share of avoided_cost x1.5 cross-tenant privacy premium
Scout settlement A 30 bps spread on cross-tenant reuse 50% to the scout who supplied the shape

The effective take rate is counter-cyclical: as the solo cost falls, the clip's share of the avoided value rises, so revenue is stable-to-rising even in a downturn. And the controlling invariant always holds — the customer's net lands below what going solo would have cost.

Tools

Tool What it does Required input
price_lateration Price a lateration before minting (free) — full stream breakdown, effective take rate, customer-net invariant event
mint_receipt Mint the signed receipt that is the invoice; binds avoided_cost into an ML-DSA-65 GCA envelope event
verify_receipt Verify offline (always free) — re-derives the root from the asserted event incl. avoided_cost event, claims_root
settle_scouts Compute the cross-tenant scout settlement (spread + scout share) settlement_notional_usd
get_pubkey Return the ML-DSA-65 (NIST FIPS 204) public key + issuer metadata —

A lateration event looks like:

{
  "event_id": "evt-1",
  "subject_call_id": "call-sub-1",
  "reference_call_ids": ["call-ref-1", "call-ref-2", "call-ref-3"],
  "sls_subject": "0x...",
  "similarity_to_field": 0.81,
  "solo_cost_estimate": "1.00",
  "residual_cost": "0.28",
  "tenant_id": "acme",
  "cross_tenant": false,
  "timestamp": "2026-06-25T05:00:00Z"
}

Connect

Claude Desktop / MCP client (remote)

{
  "mcpServers": {
    "hive-lateration": {
      "type": "streamable-http",
      "url": "https://hive-mcp-lateration.onrender.com/mcp"
    }
  }
}

List tools

curl -s -X POST https://hive-mcp-lateration.onrender.com/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Price a lateration (free)

curl -s -X POST https://hive-mcp-lateration.onrender.com/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"price_lateration","arguments":{"event":{"event_id":"evt-1","subject_call_id":"call-sub-1","reference_call_ids":["r1","r2","r3"],"sls_subject":"0xabc","similarity_to_field":0.81,"solo_cost_estimate":"1.00","residual_cost":"0.28","tenant_id":"acme","cross_tenant":false,"timestamp":"2026-06-25T05:00:00Z"}}}}}'

Mint the receipt (the invoice)

curl -s -X POST https://hive-mcp-lateration.onrender.com/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"mint_receipt","arguments":{"event":{ /* same event */ }}}}'

Verify it (free)

curl -s -X POST https://hive-mcp-lateration.onrender.com/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"verify_receipt","arguments":{"event":{ /* same event */ },"claims_root":"<from mint_receipt>"}}}'

Run it yourself

npm install
node server.js
# -> [hive-mcp-lateration] v1.0.0 listening on :3000 -> https://hive-typed-signer.onrender.com

Environment:

Var Default Notes
PORT 3000 HTTP port
ENABLE true Set false to run health-only
HIVE_SIGNER_URL https://hive-typed-signer.onrender.com Upstream signer base

Policy

Inbound only. Never takes custody of keys or funds. Metering and signing only — your event is priced, signed, and returned; we do not store it.

Settlement for paid tiers is USDC on Base. Verify is always free.

MIT © 2026 Steve Rotzin / Hive Civilization · thehiveryiq.com

MCP Server · Populars

MCP Server · New

    basementstudio

    xmcp

    The TypeScript MCP framework

    Community basementstudio
    MCP-Manager

    MCP Security Checklists

    MCP Server

    Community MCP-Manager
    mozarkai

    Optics Framework

    Open-source test automation for Android, iOS, web, smart TV (Android TV, Tizen, webOS) and Bluetooth (BLE) devices. Write tests as CSV/YAML, record them live, or let an AI agent build them over MCP. Self-healing locators: XPath, text, OCR, image.

    Community mozarkai
    baronunread

    rdyrct

    Open-source URL shortener for teams: branded short links, QR codes, and custom domains on Cloudflare Workers.

    Community baronunread
    ExpeditedProjects

    HutchDB

    A database for AI agents. No schema, SQL, or structure required. Claude Code, Codex, Cursor, Hermes, Claw, Grokbot, and other MCP clients store, query, and share the same records. Open source (AGPLv3) or cloud.

    Community ExpeditedProjects