Skip to main content
Glama
x402 Micropayments & US City Compliance MCP

x402 Micropayments & US City Compliance MCP

x402 Micropayments MCP

MCP Streamable HTTP License: Apache-2.0 Base Mainnet A2A Protocol US City Open-Data Compliance Network on the 24K Labs curated list

Listed on

Production MCP server for the x402 HTTP micropayment protocol — live on Base mainnet, selling real data products to AI agents for USDC today. Agents discover paid services, probe 402 Payment Required responses, pay with stablecoins, and build/verify seller payment configs; the server runs both sides of that market.

Related MCP server: signal402-mcp

Discover (public + A2A)

Machine surfaces agents and directories crawl first:

Agent Card declares the a2a-x402 extension, AP2-style payments.rails[] (USDC on Base), and explicit funding.payTo.

Fund (USDC on Base)

Payment for delivered products / documentation artifacts, or a voluntary tip. Not a token, not equity, not a raise.

Field

Value

Network

Base eip155:8453

Asset

USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

payTo

0x0d25A44f74868eCE53B305C97139CF4B62963410

Explorer

https://basescan.org/address/0x0d25A44f74868eCE53B305C97139CF4B62963410

Machine cashier

buy any live paid endpoint (e.g. $0.01 property-check)

Bounties protocol

docs/BOUNTIES.md · open a bounty

GitHub FUNDING.yml

.github/FUNDING.yml

Fiat Sponsors (GitHub Sponsors / Polar / thanks.dev) do not credit payTo on-chain.

Live on Base mainnet

Storefront: https://x402-mcp.onrender.com — x402 v2 challenges served, USDC verified + settled through the Coinbase CDP facilitator (eip155:8453).

Product

Price

What you get

GET /mn/property-check?address=…

$0.01 USDC

Minneapolis rental-compliance snapshot composed from 3 live City of Minneapolis open datasets — the first machine-payable housing-compliance data for agents

GET /us/{code}/property-check?address=…

$0.01 USDC

US City Open-Data Compliance Network (public catalog; see /us/cities) — same wire protocol; free catalog /us/cities + free /sample; MCP: city.list → city.sample → city.check. Every city returns the same JSON shape: lead with verdict + summary, then registrations / violation_cases under records. See docs/CITY-RESPONSE-SCHEMA.md.

GET /swarm/products/d22bbf5f3c4b4666a6f80980c7bc7c50/purchase

$0.05 USDC

Base Network Pulse: live settlement-conditions intelligence (EIP-1559 math + real RPC + ETH spot), pinned listing with the x402 Bazaar discovery extension

The public seller host holds no spend key — it only verifies and settles inbound payments (docs/SELLER-STOREFRONT.md). Roadmap: ROADMAP.md.

Features

  • 21 MCP tools for buyer, seller, x402 commerce, swarm-agency, US city compliance, Agent ID cards, and ops-monitoring flows — canonical inventory in app/tools_registry.py (single source for README, /.well-known/mcp, and tests); guarded by tests/test_readme.py and tests/test_manifest.py. MailRail send/inbound is operator-only (docs/MAILRAIL-PUBLIC-SURFACE.md).

  • 4 MCP prompts (onboarding_flow, x402_tool_selector, generate_quote, troubleshoot_payment) for LLM orchestrators

  • 4 MCP resources (x402://agent-card, x402://server-card, x402://tools-manifest, x402://pricing-table) exposing live machine descriptors

  • A2A Protocol v1.0 Agent ID Cards — HTTP Agent Card + MCP x402.agent_card / x402://agent-card with per-agent_id quota isolation

  • x402/Coinbase rail (primary): x402 v2 wire format end to end — challenge generation, verify + settle via the CDP facilitator on Base mainnet, Bazaar discoverability on listings

  • Stripe payment rail (fiat alternative, HTTP only): POST /stripe/checkout + POST /stripe/webhook for card/bank payments (not exposed as an MCP tool)

  • Commerce overlay: 500 calls/month, 10/min rate limit, meta envelope on every response

  • FastMCP + FastAPI with /.well-known/mcp manifest

  • stdio (Cursor/Grok local) and HTTP/SSE (remote connector) transports

  • Redis-ready quota store (in-memory default)

  • Operator dashboard at /dashboard — live health, per-agent quota burn-down meters, tool matrix, and revenue paths (single-file, zero build step)

  • Hermetic test suite — a local mock facilitator/discovery backend spins up automatically; no internet required. Set X402_LIVE_TESTS=1 to run against x402.org

Quickstart: connect directly (no install)

The hosted server speaks MCP Streamable HTTP at:

https://x402-mcp.onrender.com/mcp

(/mcp/mcp is the canonical mount and also works.) No API key or signup; paid tools quote prices via x402.

Direct Streamable HTTP. Connect directly to https://x402-mcp.onrender.com/mcp or run npx -y mcp-remote https://x402-mcp.onrender.com/mcp.

Generic mcp.json (Cursor ~/.cursor/mcp.json, VS Code, Windsurf, and most clients):

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

Claude Code:

claude mcp add --transport http x402-mcp https://x402-mcp.onrender.com/mcp

Claude Desktop (clients without native remote HTTP support) via mcp-remote:

{
  "mcpServers": {
    "x402-mcp": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://x402-mcp.onrender.com/mcp"]
    }
  }
}

Discovery: MCP server card · A2A agent card · x402 manifest · llms.txt

Quick Start (Mission Control)

git clone <repo> && cd x402-mcp
python -m venv .venv && .venv\Scripts\pip install -r requirements.txt && cd dashboard && pnpm install && cd ..
cp .env.example .env
make up

Open http://localhost:5173 — setup wizard runs with doctor checks. Toggle Demo to preview every panel with zero wallet.

Docs: docs/SETUP.md · docs/USER-GUIDE.md · docs/UI-HANDOFF-v2.md

Local stdio (Cursor)

python run_stdio.py

Add to Cursor MCP config (manifests/cursor-mcp.json).

HTTP server

uvicorn app.main:app --host 0.0.0.0 --port 8402
curl http://localhost:8402/.well-known/mcp
curl http://localhost:8402/health
# then open http://localhost:8402/dashboard

Paid HTTP Resource: MN Property Check

First-party sellable endpoint (the seller side of this repo's own tooling):

GET /mn/property-check?address=1700%20Penn%20Ave%20N

x402-gated at $0.01 USDC (MN_PROPERTY_CHECK_PRICE). Unpaid requests get a 402 with x402 v2 PAYMENT-REQUIRED terms; paid requests are verified and settled via the facilitator, then served with a PAYMENT-RESPONSE receipt.

One call returns a composite Minneapolis rental-compliance snapshot from live City of Minneapolis Open Data: active rental license (status, tier, licensed units, expiration, ward/neighborhood), regulatory violation case history (APN-joined), and condemned/boarded status. Owner phone/email in the source data are intentionally never served. Public records, as-is; not legal advice.

MCP Tools

Tool names use domain.action trees so clients can route x402.*, a2a.*, commerce.*, swarm.*, pulse.*, ops.*, and city.*.

Tool

Description

x402.agent_card

Return the A2A Agent ID Card and MCP server card

a2a.resolve_card

Discover and inspect an external A2A Agent Card by domain or URL

x402.discover

Query x402 Bazaar for paid HTTP APIs

x402.probe

Probe URL for PAYMENT-REQUIRED on 402

x402.pay_and_fetch

Auto-pay and fetch protected resource

x402.build_seller

Build seller payment requirements

x402.verify

Verify payment via facilitator

x402.policy_check

Offline buyer policy check on a caller-supplied merchant PAYMENT-REQUIRED (separate server fee; off by default — set POLICY_CHECK_ENABLED=true)

x402.networks

Networks, facilitators, v2 headers

commerce.pro_requirements

Build x402 payment requirements for Pro tier upgrade

commerce.activate_pro

Verify x402 payment and unlock Pro tier quota

commerce.credits_requirements

Build x402 payment requirements for per-use tool credits

commerce.purchase_credits

Verify x402 payment and add per-use tool credits

swarm.research

Swarm Agency: compose a research report and list it for resale

swarm.settle

Verify + settle a buyer's payment for a listed composite and record revenue

swarm.revenue

Swarm composite economics: spend, composite sales, LTV:CAC, margins; storefront is the full settled ledger

pulse.base

Live Base Network Pulse: synthesized settlement-conditions intelligence (base fee, utilization, USD cost, verdict) from real RPC data

ops.metrics

Host OS telemetry: CPU, memory, swap, disk, network, and process signals with an ok/warn/critical health verdict

city.list

Free US City Open-Data Compliance catalog (codes, paid_url, sample_url, MCP golden path)

city.sample

Free fixed-address property compliance sample for one city code

city.check

Paid city property compliance via x402 (same HTTP resource external buyers use)

Installation

Remote (Streamable HTTP, no install)

Point any MCP client at https://x402-mcp.onrender.com/mcp or run npx -y mcp-remote https://x402-mcp.onrender.com/mcp — see Quickstart for mcp.json, Claude Code, and Claude Desktop snippets.

Usage

Connect an MCP client to Streamable HTTP https://x402-mcp.onrender.com/mcp (alias of /mcp/mcp). Call x402.discover then x402.probe then x402.pay_and_fetch for paid APIs; city.list → city.sample → city.check for US property compliance.

Buyer payment-policy check (offline)

x402.policy_check and POST /x402/policy-check evaluate decoded merchant terms against an explicit buyer policy. They do not fetch merchant URLs and do not prove settlement on the inspected resource; the analysis receipt is scoped to actor + policy + digest — not a merchant delivery receipt. Default POLICY_CHECK_ENABLED=false. HTTP: unpaid 402 + PAYMENT-REQUIRED for the server analysis fee; MCP: same via PaymentRequired then _meta["x402/payment"]. A2A skill: buyer-payment-policy-check. Setup and ops: docs/POLICY-CHECK-RUNBOOK.md.

MCP-native x402 buyer (@x402/mcp)

Commerce tools (commerce.activate_pro, commerce.purchase_credits) support the official MCP payment transport: unpaid calls return payment requirements in the tool result (isError + structuredContent.accepts); paid retries attach the signed payload in request _meta["x402/payment"] and receive a settlement receipt in _meta["x402/payment-response"]. Server-authored terms from commerce.pro_requirements / commerce.credits_requirements are enforced — tampered payTo / amount values are rejected.

TypeScript (recommended) — wrap the MCP session with @x402/mcp:

import { x402Client } from "@x402/evm";
import { wrapMCPClientWithPayment } from "@x402/mcp";
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const baseUrl = "https://x402-mcp.onrender.com/mcp/mcp";
const transport = new StreamableHTTPClientTransport(new URL(baseUrl));
const mcp = new Client({ name: "buyer", version: "1.0.0" });
await mcp.connect(transport);

const x402 = new x402Client();
// Register ExactEvmClientScheme + wallet signer per https://docs.x402.org/guides/mcp-server-with-x402

const paid = wrapMCPClientWithPayment(mcp, x402);
const result = await paid.callTool({
  name: "commerce.activate_pro",
  arguments: { agent_id: "my-agent" },
});
// Automatic: probe → sign USDC on Base → retry with _meta["x402/payment"]

Python — x402.mcp.create_x402_mcp_client performs the same probe → pay → retry loop against Streamable HTTP MCP.

Legacy HTTP-style parameters (payment_signature + payment_required from commerce.pro_requirements) remain supported and unchanged.

See docs/MCP-X402-BUYER.md for transport details and verification commands.

Environment

Variable

Required

Description

X402_PAY_TO_ADDRESS

For selling

Recipient wallet — all x402 sales settle here

CDP_API_KEY_ID / CDP_API_KEY_SECRET

For Base mainnet

Coinbase CDP facilitator creds (verify + settle on eip155:8453)

SWARM_SELL_NETWORK

For mainnet listings

Set eip155:8453 to list products on Base mainnet (default: Base Sepolia)

EVM_PRIVATE_KEY

For pay_and_fetch

Buyer wallet private key — never set this on a public seller host

STRIPE_SECRET_KEY

For Stripe checkout

Fiat payment rail

STRIPE_WEBHOOK_SECRET

For /stripe/webhook

Webhook signature verification

X402_FACILITATOR_URL

No

Default: https://x402.org/facilitator (testnet; CDP handles mainnet)

UPGRADE_URL

No

Commerce tier upgrade link

Commerce Meta Envelope

Every tool response includes:

{
  "data": { "...": "..." },
  "meta": {
    "tier": "free",
    "calls_this_month": 1,
    "quota_remaining": 499,
    "quota_warning": false,
    "rate_limit_remaining": 9,
    "upgrade_url": "https://forge.example.com/upgrade",
    "agent_id": "..."
  }
}

Agent Ops / Swarm Agency

Cost-effective multi-agent operating group (scout, warden, treasurer, archivist, sovereign, merchant) with budget policy and ledger. See docs/agent-ops.md. Dashboard handoff: docs/UI-HANDOFF.md.

The Swarm Agency (app/swarm/) implements the hybrid resale loop end-to-end: scout discovers cheap upstream x402 services → warden enforces ledger/policy.json spend caps → treasurer pay_and_fetches and records cost basis to ledger/spend.jsonl → archivist composes a research report priced at cost × SWARM_MARKUP → sovereign (profit optimizer) reprices the composite to hit a target LTV:CAC (SWARM_TARGET_LTV_CAC, default 3.0), enforces a margin floor, and scores which upstream sources are actually profitable → merchant lists it via build_seller_requirements; settle_composite_sale records realized revenue. Portfolio economics (swarm spend, composite sales, LTV:CAC, per-source profit) surface via swarm_revenue_report / GET /swarm/revenue — total_revenue_usdc is composites only; first-party SKUs are under storefront. Every phase streams to the dashboard's Swarm Activity panel over SSE. Run via the run_swarm_research MCP tool (needs EVM_PRIVATE_KEY + X402_PAY_TO_ADDRESS).

Multi-chain (EVM + Solana). The resource server registers ExactEvmServerScheme for eip155:* and ExactSvmServerScheme for solana:* (via the x402[svm] extra; solana>=0.36,<0.40). Seller requirements build on Base and Solana mainnet (solana:EtWTRAB…), and the buyer client registers an EVM and/or Solana signer from EVM_PRIVATE_KEY / SVM_PRIVATE_KEY — no marketing-vs-code gap.

Selling network / facilitators. The merchant lists on SWARM_SELL_NETWORK (default eip155:84532). The free x402.org facilitator only settles exact on Base Sepolia; to sell/settle on Base mainnet set SWARM_SELL_NETWORK=eip155:8453 and provide Coinbase CDP credentials (CDP_API_KEY_ID + CDP_API_KEY_SECRET) — the seller then routes verify/settle through the CDP facilitator with a per-request Ed25519 JWT (app/cdp_auth.py).

Base Network Pulse

Base Network Pulse (app/pulse.py + app/swarm/publisher.py) is a synthesis publisher: it turns free, high-quality Base RPC data (latest block, EIP-1559 base fee, block gas utilization) plus a live ETH spot price into a priced, x402-payable intelligence report. It projects the next-block base fee from the EIP-1559 formula, converts settlement gas into a live USD cost, and renders a settle-now / hold verdict on current Base settlement conditions. All inputs are real data — no mocks: real Base RPC calls, real Coinbase ETH price, real base-fee math.

Endpoints:

  • GET /pulse — live preview of the current synthesized pulse (base fee, utilization, USD settlement cost, verdict).

  • POST /pulse/publish — mints an x402-payable listing for the report (402-gated purchase endpoint).

  • get_base_pulse MCP tool — the same intelligence surfaced to agents.

This is the synthesis economic model: cost basis is ~$0 because the underlying Base data is free to read; the margin is the analysis itself. The priced report is sold to external buyers through the 402-gated purchase endpoint — pure synthesized value on top of free public data.

Testing

pytest -v

See docs/SETUP.md for expected vs unexpected errors (wallet tools fail clearly until .env is configured).

Mission Control Dashboard

Fintech-terminal ops dashboard at http://localhost:5173. Net position, quota gauge, rate sparkline, activity stream, agent lanes, spend/revenue ledgers (with BaseScan links), 402 Inspector, wallet panel, first-run wizard, and mission progress tracker. Three density modes (Guided/Standard/Operator). cmd+K command palette.

API surface: GET /stats, GET /events (SSE with 15s heartbeat), GET /ledger/{spend|revenue}, GET /doctor, GET /probe, GET /wallet, POST /seller/requirements.

Agent Ops

Cost-effective multi-agent operating group (scout, warden, treasurer, archivist, merchant) with budget policy and ledger. See docs/agent-ops.md.

Agent ID Cards & Machine Identity

x402-mcp implements the Agent-to-Agent (A2A) Protocol v1.0 and MCP machine identity for autonomous discovery.

  1. HTTP: GET https://x402-mcp.onrender.com/.well-known/agent-card.json (legacy: /.well-known/agent.json)

  2. MCP tool: x402.agent_card (optional target_id for a skill)

  3. MCP resource: x402://agent-card

  4. Registry: /.well-known/agents.json · payTo: /.well-known/funding.json

Every tool accepts optional agent_id for per-caller quota isolation (free tier 500 calls/mo, 10/min).

MCP Prompts Reference (4 Prompts)

Structured prompts for LLM orchestrators:

  • onboarding_flow — first-run path: doctor → free sample → paid check

  • x402_tool_selector — pick buyer/seller/commerce tools for a goal

  • generate_quote — build seller payment requirements / price quote

  • troubleshoot_payment — diagnose 402 / facilitator / signature failures

MCP Resources Reference (4 Resources)

  • x402://agent-card — full A2A Agent Card JSON

  • x402://server-card — MCP server card (transport + x402 auth)

  • x402://tools-manifest — live tool inventory

  • x402://pricing-table — paid HTTP resources and prices

Sample AI Agent Queries & Interactions

Real Estate Compliance Workflow

  1. city.list → pick a city code

  2. city.sample free sample for quality

  3. city.check or GET /us/{code}/property-check?address=… with x402 payment

Base Network Gas & Settlement Timing

  • pulse.base free briefing

  • Paid GET /base/tx-decision?urgency=flexible before submit

Service Discovery & Protected API Consumption

  • x402.discover → x402.probe → x402.pay_and_fetch

Seller API Monetization

  • x402.build_seller with Bazaar discovery metadata → settle inbound via facilitator

Reference Autonomous Buyer Agent (End-to-End Discovery & Settlement)

Run the autonomous buyer reference implementation (examples/reference_buyer_agent.py) demonstrating discovery, 402 challenge negotiation, EIP-3009 payment authorization, and settlement receipt ingestion into MailRail:

python examples/reference_buyer_agent.py --base-url http://localhost:8000 --service base-tx-decision --dry-run

Docker

docker build -f deployment/Dockerfile -t x402-mcp .
docker run -p 8402:8402 x402-mcp

Drive Project Folder

Target: /Forge/MCP_Projects/x402-micropayments/

code/          → this repository
tests/         → pytest suite
docs/          → architecture.md
screenshots/   → verification images
manifests/     → cursor-mcp.json, /.well-known/mcp
deployment/    → Dockerfile

License

Apache-2.0 compatible with x402 Foundation ecosystem.

Available Tools

20 tools
a2a.resolve_cardResolve external A2A Agent CardA
Read-onlyIdempotent

Discover and inspect an external Agent-to-Agent (A2A) node by domain or URL. Fetches .well-known/agent-card.json, validates protocol compatibility, checks for a2a-x402 and AP2 payment extensions, and extracts callable skills with pricing.

Inputs: target (required), agent_id. Returns: result

city.checkPaid US city property checkA

Paid US city property compliance check (MCP seller x402). Unpaid calls return PaymentRequired with accepts; pay via _meta['x402/payment']. Prefer city.sample first. Price: $0.01 per call (x402, USDC on Base/Solana/Arbitrum).

Inputs: address (required), city_code (required), agent_id, max_price_usdc, +1 more.

city.listList US compliance citiesA
Read-onlyIdempotent

List US City Open-Data Compliance Network cities with paid_url, sample_url, and price. Call first, then city.sample, then city.check for the paid address lookup.

Inputs: agent_id. Returns: result

city.sampleUS city property sampleA
Read-onlyIdempotent

Get a free fixed-address property compliance sample for one US city code. Use before city.check to validate city_code and response shape without paying.

Inputs: city_code (required), agent_id. Returns: result

commerce.activate_proActivate Pro tierA

Verify a Pro-tier x402 payment and unlock Pro quota limits for the agent. MCP-native: call without payment to receive x402 requirements in the tool result, then retry with _meta['x402/payment'] (@x402/mcp client). Legacy: pass PAYMENT-SIGNATURE + PAYMENT-REQUIRED after commerce.pro_requirements.

Inputs: agent_id, payment_required, payment_signature. Returns: result

commerce.credits_requirementsBuild tool-credit payment requirementsA
Read-onlyIdempotent

Build x402 payment requirements to buy a pack of per-use MCP tool credits. Next: pay those terms, then commerce.purchase_credits with the signature.

Inputs: credits, agent_id. Returns: result

commerce.pro_requirementsBuild Pro-tier payment requirementsA
Read-onlyIdempotent

Build x402 payment requirements to purchase the Pro quota tier. Next: pay those terms, then commerce.activate_pro with the signature.

Inputs: agent_id. Returns: result

commerce.purchase_creditsPurchase tool creditsA

Verify an x402 payment and add per-use tool credits to the agent. MCP-native: call without payment for x402 requirements, then retry with _meta['x402/payment']. Legacy: PAYMENT-SIGNATURE + PAYMENT-REQUIRED after commerce.credits_requirements.

Inputs: credits, agent_id, payment_required, payment_signature. Returns: result

ops.metricsHost OS metricsA
Read-onlyIdempotent

Get host OS telemetry: CPU, memory, swap, disk, network, and an ok/warn/critical health verdict. Call to diagnose this MCP host; set include_processes=true for top memory processes.

Inputs: agent_id, include_processes. Returns: result

pulse.baseBase network pulseA
Read-onlyIdempotent

Get live Base Network Pulse: base fee, EIP-1559 projection, utilization, USD settlement cost, verdict. Call before settling on Base when you need a settle-now vs hold recommendation.

Inputs: depth, agent_id. Returns: result

swarm.researchRun swarm researchA

Run the swarm agency: compose a research product from free inputs and list it for resale. Pass allow_paid_inputs=true only when buying upstream x402 services is intended.

Inputs: topic (required), agent_id, max_price_usdc, allow_paid_inputs. Returns: result

swarm.revenueSwarm revenue reportA
Read-onlyIdempotent

Get swarm composite economics: spend, composite sales, LTV:CAC, margins, per-source scores. total_revenue_usdc is swarm listings only; storefront.revenue_usdc is the full settled ledger. Call after swarm.research or swarm.settle to inspect realized economics.

Inputs: agent_id. Returns: result

swarm.settleSettle composite saleA

Verify and settle a buyer's x402 payment for a listed composite product and record revenue. Call with product_id plus PAYMENT-SIGNATURE after the buyer pays.

Inputs: product_id (required), payment_required (required), payment_signature (required), agent_id. Returns: result

x402.agent_cardA2A Agent ID CardA
Read-onlyIdempotent

Return the A2A Protocol v1.0 Agent ID Card and MCP server card. Optional target_id filters to a skill id, name, or tag.

Inputs: agent_id, target_id. Returns: result

x402.build_sellerBuild seller payment requirementsA
Idempotent

Build seller-side x402 payment requirements for your own HTTP resource. Pass resource_url plus discovery_* fields to catalog the endpoint in Bazaar.

Inputs: price, pay_to, scheme, network, +8 more. Returns: result

x402.discoverDiscover x402 servicesA
Read-onlyIdempotent

Discover paid HTTP APIs in the x402 Bazaar via the facilitator catalog. Call this first to find a resource URL, then x402.probe and x402.pay_and_fetch.

Inputs: limit, query, agent_id, max_price_usdc. Returns: result

x402.networksList x402 networksA
Read-onlyIdempotent

List supported settlement networks, facilitators, and x402 v2 header names. Call when choosing a preferred_network for x402.pay_and_fetch or x402.build_seller.

Inputs: agent_id. Returns: result

x402.pay_and_fetchPay and fetch x402 resourceA

Pay USDC via x402 and fetch a protected HTTP resource in one call. Requires EVM_PRIVATE_KEY on this host; otherwise use x402.probe for a no-spend 402.

Inputs: url (required), body, method, headers, +3 more. Returns: result

x402.probeProbe x402 payment requirementsA
Read-onlyIdempotent

Probe a URL for HTTP 402 PAYMENT-REQUIRED terms using the x402 client SDK. Use before x402.pay_and_fetch to inspect price, network, and payTo without spending.

Inputs: url (required), method, headers, agent_id. Returns: result

x402.verifyVerify x402 payment signatureA

Verify an x402 PAYMENT-SIGNATURE against PAYMENT-REQUIRED terms via the facilitator. Call after a buyer presents a signature and before releasing paid content.

Inputs: payment_required (required), payment_signature (required), agent_id. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 20 tools

    Disambiguation3/5

    Most tools are separable by namespace and verb, but several clusters overlap: x402.verify vs swarm.settle both concern verifying/settling payments; x402.agent_card vs a2a.resolve_card are both agent-card lookups (self vs external); and x402.discover vs city.list both surface discoverable paid resource URLs. Descriptions do disambiguate once read, but an agent choosing quickly could misselect.

    Naming Consistency3/5

    The dotted namespace prefix (x402.*, commerce.*, city.*, swarm.*) is consistent across all tools, which is good. However the action part varies: city.list/sample/check are verb-first, commerce.pro_requirements/credits_requirements are noun phrases, swarm mixes swarm.research (verb) with swarm.revenue (noun), and pulse.base/ops.metrics are bare nouns. Readable, but conventions are mixed.

    Tool Count3/5

    20 tools is on the high side and reflects a grab-bag of seven loosely related sub-domains (x402 pay, commerce quota, swarm, city compliance, Base pulse, host ops, A2A resolve). Several are single-tool domains that feel like attachments rather than a cohesive set. Each tool earns its place individually, but the surface feels heavy for the stated 'micropayments & US city compliance' scope.

    Completeness4/5

    Core flows are largely covered: discover→probe→pay→verify for buyers, build_seller for sellers, paired requirements+purchase for both Pro and credits, and list→sample→check for city data. Gaps exist around swarm listing lifecycle (no list/delist/update of composite products) and pulse.base/ops.metrics/a2a.resolve_card are lone tools with no companion operations, but the main workflows are workable.

    Maintenance

    ActivityActive
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Discovers and queries x402-payable APIs at runtime — enables autonomous agents to find, evaluate, and pay for services via USDC micropayments on Base without API keys or subscriptions.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Real-time crypto market & tokenized equity intelligence MCP over x402 USDC on Base mainnet (eip155:8453) by Keith S. (kwizzlesurp.com · Sevtech · Dragon&PandaDuo). Includes price feeds, volatility, sentiment, risk scores, NAV deviation, and peg-gap radar. Verified provider on x402-trust.com.
      2
      13
      MIT