mcpbeat Sign in

Code402 MCP Server

answering

Code402 is answering right now. Last checked 1 min ago. It exposes 10 tools. Last commit 20 Aug 2026.

Discover machine-payable APIs, probe x402 payment terms, and run seller operations. Non-custodial.

The linked repository no longer exists on GitHub — it was deleted or made private.

Uptime history 12 days of history
12 days agonow
100.0%
Uptime 24h
91 of 91 checks
10
Tools
read from the server
192 ms
Response time
average over 24h
0
Stars
last commit 20 Aug 2026

Tools have disappeared from this server

A tool that vanishes takes a piece of your agent with it, and the change arrives silently. Watch this server and every such change lands in your inbox.

Three servers free · no card

Connect this server

Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 1 min ago.

run in your terminal
claude mcp add code402 --transport http https://mcp.code402.dev/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code402": {
      "url": "https://mcp.code402.dev/mcp"
    }
  }
}
~/.codex/config.toml
[mcp_servers.code402]
url = "https://mcp.code402.dev/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "code402": {
      "url": "https://mcp.code402.dev/mcp"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "code402": {
      "url": "https://mcp.code402.dev/mcp"
    }
  }
}

Available tools 10

Read directly from the server with tools/list, grouped by what they act on. If a tool disappears, we record the date.

code402
code402_create_listing
Create or update a paid listing for a registered seller: POST /v1/sellers/{sellerId}/services with { serviceId, upstream_url, price_usd, method?, description? }. The gateway then serves the listing at /s/{sellerId}/{serviceId} behind an x402 paywall paying the seller's wallet directly. Returns { listing, paid_endpoint }.
code402_gateway_health
Check the code402 gateway's /healthz: returns { status, service, network } where network is the settlement chain currently configured (e.g. base-sepolia or base).
code402_get_agent_reputation
Fetch an agent's tamper-evident reputation credential from the code402 Atlas rail: GET /v1/agent/{agent_id}/reputation. The credential is an HMAC-signed, expiring (10-minute TTL) bundle over a hash-chained outcome ledger — settled_ok, settled_fail, distinct_hosts, volume_units, reputation_score — verifiable without any shared secret via POST /v1/reputation/verify. Sellers use this to price counterparty risk before serving a new agent.
code402_get_seller_analytics
Fetch a seller's own settlement analytics (free): GET /v1/sellers/{sellerId}/analytics. Returns { total_settled_calls, gross_usd, unique_buyers, by_service: [{ service_id, calls }] }.
code402_get_seller_invoice
Compute a seller's platform-fee invoice from settled receipts: GET /v1/sellers/{sellerId}/invoice?since={unix_ms}. Returns { tier, transactions, gross_usdc_units, platform_fee_usdc_units, seller_net_usdc_units, fee_bps }. Amounts are integer USDC base units (6 decimals).
code402_get_service
Fetch a single service from the code402 storefront by its serviceId (as returned by code402_list_services). Returns the same service shape as code402_list_services, or an error naming close matches when the id is unknown.
code402_list_services
List services on the code402 gateway storefront (GET /v1/services): first-party APIs and third-party seller listings, each with method, URL, USDC price, and network. No account or API key exists or is needed anywhere on the gateway — paid services are accountless, priced per call via x402. Paying for a service requires an x402-capable HTTP client with the buyer's own wallet — this tool only discovers. Returns { total, count, offset, has_more, next_offset?, services: [{ serviceId, name, description, method, url, price, price_usdc_units, network }] }.
code402_probe_endpoint
Send an unpaid GET to any public https URL and report whether it answers with a valid x402 402 challenge, plus normalized terms { scheme, network, amount (USDC base units), price (dollars), payTo, asset }. Use before budgeting a payment or to liveness-check a listing. No payment is ever sent. Private/internal addresses are rejected.
code402_register_seller
Register a seller on the code402 gateway (or update its name — the payout wallet is immutable once set; re-binding requires EIP-191 proof): POST /v1/sellers with { id, wallet, name }. Payments for the seller's listings settle directly to this wallet (non-custodial). Registration is free; fees are 0.099% of settled volume, invoiced monthly against receipts (accrued until $9). Pro is $9/mo at 0% take. Returns { sellerId, wallet, storefront }. Prove wallet ownership later via the gateway's EIP-191 verify-challenge flow.
code402_trust_check
Query the code402 Atlas index for measured trust evidence on an endpoint or domain: probe-verified liveness (probedAlive), evidence tier (probe vs asserted), and ready-to-pay settlement terms (payTo, asset, CAIP-2 network, integer USDC amountUnits) when measured. Use before letting an agent pay any endpoint. Verified evidence is measured by probes, never self-reported. Returns { count, results: [{ title, url, probedAlive, evidence, settlement? }] }.

Tools removed

These were exposed before and are gone now. No other catalogue tracks this.

calculate_fx
removed 27 Aug 2026
check_price
removed 27 Aug 2026
create_invitation
removed 27 Aug 2026
execute_trade
removed 27 Aug 2026
lei_lookup
removed 27 Aug 2026
query_telemetry
removed 27 Aug 2026
screen_ofac
removed 27 Aug 2026
simulate_economics
removed 27 Aug 2026
vat_validate
removed 27 Aug 2026

Endpoints

URLTransportStateLatencyChecked
https://mcp.code402.dev/mcp streamable-http answering 168 ms 1 min ago

Alternatives to Code402

same job, measured the same way
Pestprocrm
by liserichards

Manage pest control operations — customers, scheduling, SMS, payments, and reporting.

answering
X402 Ads MCP
by forgemeshlabs

x402 ad recommendations, intent analytics, and machine-commerce demand reports.

256 installs/wk local only
Agent Wallet
by theaslangroupllc-pulse

Local agent wallet + 900 pay-per-call data APIs — free discovery, x402 USDC, code-level spend caps

86 installs/wk local only
C
LedgerBeaver Finance
by ledgerbeaver

Governed finance operations for AP, AR, GL, approvals, reporting, and payments.

answering
I
IssueFoundry Agent Market
by codework-lgtm

Discover agent services and buy IssueFoundry's fractional-cent x402 reliability utilities.

2 tools answering
TaskMarket
by codecraft-ops

Discover funded agent work and prepare approval-gated TaskMarket delegations.

local only
Google Analytics 4
by stucchi

Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs.

81 installs/wk local only
Jp Crypto Tax Rules
by kodandy

Machine-readable Japanese crypto-asset tax rules for AI agents: rules-as-code with citations, x402.

4 tools answering

Code402 — questions

Answers built from our own checks of this server.

What can Code402 do?
It exposes 10 tools, read directly from the server on our last check. Among them: code402_create_listing, code402_gateway_health, code402_get_agent_reputation, code402_get_seller_analytics, code402_get_seller_invoice, code402_get_service and 4 more. The full list with descriptions is on this page — we take it from the server itself via tools/list, not from a README. How MCP servers expose tools in the first place →
Is Code402 working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 91 of 91 checks got a reply (100.0%), average response time 192 ms. The bar chart above shows every period we have measured.
Did Code402 ever remove tools?
Yes. calculate_fx, check_price, create_invitation, execute_trade and 5 more are no longer exposed — we recorded the date each one disappeared. A tool vanishing usually means a breaking change for anything that depended on it.
Is Code402 still maintained?
The linked repository no longer exists on GitHub — it was deleted or made private. We show this because it changes what you can expect: an unmaintained server may keep answering for months and then stop without warning.
How do I connect Code402?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does Code402 need an API key?
No. Code402 completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 10 of them are readable on this page. This is what we observed, not what the docs claim.
How fast is Code402?
It answers our handshake in 192 ms on average, which is faster than 73% of all working MCP servers we measure. The comparison comes from our own checks across the whole registry, every 15 minutes.
Is Code402 open source?
Yes — written in TypeScript, 0 stars on GitHub and 3 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.