Skip to main content
Glama

Zapproof

A read-only, non-custodial reputation index for autonomous AI agents, scored from evidence of settled payments on Base, plus a separate seven-day Solana x402 window.

Status: the hosted API and remote MCP endpoint are live, the package is on PyPI as zapproof-mcp, and the official MCP Registry entry is active (io.github.noareyenoar/x402-counterparty-reputation). A Glama connector is live; Cursor submission follows this public repository. The interpretation is rules-based and is not independently validated; every answer says so.

Zapproof MCP server

What this is

Zapproof answers one question for an agent that is about to pay a stranger: is there evidence that this counterparty actually does business?

Reputation is computed only from verifiable evidence of settled payments. There is no "give stars" feature, no user-submitted rating, and no way to buy standing.

Related MCP server: djd-agent-score-mcp

What this is not

  • Not a custodian. Zapproof never holds, escrows, or controls anyone else's money.

  • Not a required link in anyone's payment path. If this project goes offline, no third party's payment is blocked, delayed, or degraded.

  • Not a judge of character. It reports what the evidence shows and how confident it is. It does not label anyone good or bad, and an absence of evidence is never rendered as a low score.

  • Not a cross-rail oracle. Base x402 settlement is indexed. The Solana x402 rail is indexed from a seven-day observation window (2026-11-18 to 2026-11-25) classified by a public fee-payer allowlist — a sample, not a census. Lightning and MPP are not indexed; those queries return rail_not_indexed, which means missing coverage, not a negative finding. Evidence is never relabelled from one rail to another.

Use it

Hosted MCP

{
  "mcpServers": {
    "zapproof": {
      "type": "http",
      "url": "https://zapproof-hc75zyauja-uc.a.run.app/mcp"
    }
  }
}

One tool: check_counterparty. No key, no wallet, no write access.

Agent plugin (Cursor and Agent Plugins clients)

This repository is itself an installable plugin:

  • .mcp.json and .cursor-plugin/plugin.json register the hosted MCP endpoint for Cursor;

  • skills/zapproof/SKILL.md tells an agent when to check a counterparty and how to read the answer;

  • skills/x402-payer/SKILL.md is a free, vendor-neutral guide to paying an x402 resource safely from a dedicated Base wallet, with a reference implementation in scripts/preflight_payer.py;

  • rules/zapproof.mdc is an optional Cursor rule for pre-payment checks;

  • root plugin.json and mcp.json follow the Agent Plugins 1.0 package format.

Offline package

uvx zapproof-mcp

The PyPI wheel carries a seller snapshot (19,397 seller records, Base block 53,201,719, methodology v1), so it works without a key, wallet, or network. A lookup that is not in the snapshot returns found: false and status: "unknown" — not a zero.

From source

git clone https://github.com/noareyenoar/zapproof.git
cd zapproof
uv sync --group dev

The repository does not contain the ingest database or the 29 MB snapshot, because both are regenerable data rather than source. To run the MCP server from a checkout:

  • point it at the hosted index with ZAPPROOF_API_URL=https://zapproof-hc75zyauja-uc.a.run.app, or

  • build a snapshot from a local ingest database (see scripts/build_snapshot.py and docs/METHODOLOGY.md).

Read the limits with the number

The interpretation is rules-based and is not independently validated. In a blinded adjudication, language models agreed with it about 62% of the time, or 83% when their abstentions are excluded. They are not human reviewers, and the sample is small.

  • found: false and insufficient_evidence are not negative signals.

  • A null score is not a zero.

  • Lightning and MPP are not indexed. Solana coverage is one seven-day window, and the offline snapshot is Base-only.

  • A high signaling_likelihood is a statement about a payment pattern, not a finding about an entity.

Repository layout

Path

What it holds

src/repindex/

Ingestion, features, rules, scoring, API, MCP server, binding

tests/

Unit, integration, and packaging tests

gates/

Gate scripts, written before the phase they check

docs/

Methodology, ADRs, protocol notes, deployment, cross-rail evidence

reports/

Gate evidence: Gate A, Gate B, coverage, sensitivity, planted patterns, cross-check

examples/

Payer-agent examples and request fixtures

distribution/site/templates/

Public site and agent-skill templates

config/thresholds.yaml

Human-owned thresholds; changes require a recorded rationale

scripts/

Backfill, rebuild, snapshot, cross-check, and report tools

Development

uv run pytest -q
uv run ruff check .
uv run mypy
uv run python gates/gate_B.py

Tests and linters run without network access. Gate scripts that rebuild data need a local index or RPC access; see docs/METHODOLOGY.md.

Evidence

Every published number is produced by a script from the database, with the reproduce command beside it. The gate outputs are committed under reports/:

  • reports/gate_A.json — methodology and correctness checks, including the failures.

  • reports/gate_B.json — hosted-surface checks.

  • reports/crosscheck_A.json — count and amount agreement with logs fetched from an independent Base RPC provider on three days. This checks our decoding and counting against independently fetched data; it is not an independent indexer.

  • reports/planted_pattern_results.json — what the classifier catches, and the circularity of that test stated in the output.

License

MIT. The scoring data is not included in the license.

ภาษาไทย: README.th.md

Available Tools

1 tool
check_counterpartyCheck counterpartyA
Read-onlyIdempotent
Inspect

Check the payment-backed reputation of a counterparty before paying it.

WHAT THIS MEANS Returns facts about observed settled payments: how many settlements, how many distinct addresses paid, over how many days, and a rules-based interpretation of whether that record looks like independent commerce.

WHAT THIS DOES NOT MEAN It is not a judgement about whether anyone is honest, and the interpretation is not independently validated. Blinded adjudication agreed with it about 62% of the time (40/65, counting 17 "cannot tell" answers as disagreements; 83% excluding them). The adjudicators were language models, not humans, and their two verdict files were identical. Use it as one input among several, never as an approval to pay.

IDENTIFIER An EIP-55 address, did:ethr:, did:ethr:8453:, or did:pkh:eip155:8453:. A DID qualified with any other chain is rejected: the index holds Base evidence only and will not answer a foreign-chain DID with it. A base58 Solana address is routed to the Solana index, a separate and shorter observation window; if that index is not deployed the answer is status rail_not_indexed, not invalid_identifier. A Lightning node pubkey (66 hex), a Lightning address (user@domain) or an mpp: operator is well-formed but not indexed: it returns status rail_not_indexed, not invalid_identifier.

RAIL Every answer comes from its own rail's evidence. Base is indexed; the Solana x402 rail is indexed from a seven-day observation window, and each Solana answer states that window. rail="lightning" returns status rail_not_indexed — never Base data relabelled as Lightning. Asking for "base" about a Solana address (or "solana" about a Base address) returns rail_mismatch rather than a guess.

READING THE ANSWER found: false no seller-side score. This is NOT a low score and NOT a warning. role_observed tells you whether the index has seen the address pay others; that is not a verdict. insufficient_evidence some evidence, too little to score. Also not bad. signaling_likelihood null when not judged. Null is not zero. score (0-100) only present when there is enough evidence. evidence_hash fingerprint of the answer. Store it with the record and compare on re-fetch to see whether the evidence changed. Unsigned: it is not an attestation, and this answer is never an endorsement to pay.

Inputs: identifier (required), rail. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.7/5.0

    Scored across 1 tool

    Disambiguation5/5

    There is only one tool, so there is no possibility of selecting the wrong one. Its boundary is also explicitly fenced: it returns observed settlement facts about a single counterparty and explicitly disclaims being an approval-to-pay or honesty judgement.

    Naming Consistency5/5

    The single name `check_counterparty` is a clean snake_case verb_noun that precisely names the action and the resource. There is no mixing of conventions or vague verbs to create inconsistency.

    Tool Count4/5

    The server is a narrow, single-purpose reputation lookup, so one rich tool is defensible rather than bloated. It is slightly under-scoped in that there is no companion tool to list supported rails or verify an evidence_hash, but no tool is redundant.

    Completeness4/5

    The read-only lookup lifecycle is fully covered: identifier validation, rail routing, status states, score, and evidence_hash are all handled in one answer. Minor gaps exist around bulk checking of multiple counterparties and programmatic discovery of which rails are indexed, which an agent must infer from error statuses instead.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Counterparty risk scoring for agentic commerce. Scores wallets, domains, IPs, and companies 0-100 before AI agents transact via x402 micropayments on Base
      1
      3
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Pay-per-call checks an AI agent runs before it moves money: token safety verdicts and wallet risk profiles on Base, on-chain payment verification, IBAN/VAT/BIC/LEI/ISIN validation, and live TLS and email-spoofing posture for a domain. Paid in USDC over x402 with no API key or account; the free payment_info tool explains the pricing.
      MIT