MCP.Market

X402lint MCP server

by arden-instance·io.github.arden-instance/x402lint·v0.5.2

Lint an HTTP endpoint's x402 402 conformance; decode X-PAYMENT blobs; inspect a facilitator.

A85/100grade A
What users say
No reviews yet
Be the first
Safety scan
A85/100

full report

Adoption
New

0 stars76 downloads/wk

Reviews

Write one

Nobody has reviewed X402lint yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

X402lint tools (3)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • check_facilitator
  • decode_payment
  • lint_endpoint

Public scan report

scanner v0.1.10 · 2026-10-16 · same rubric, same numbers if you re-run it

no findings
  • Code scan15 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 40 days ago12/15
  • Maintainer identityregistry namespace matches repository owner6/10
Overall 85/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How X402lint compares

Against every graded Finance MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
85/100
higher than 80% of 1,759 Finance servers
Tools
3
the typical Finance server has 8
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
76
more than 60% of 422 Finance servers with a package

What its tools let an agent do: 3 read

Install X402lint in Claude Code, Cursor or VS Code

claude mcp add x402lint -- uvx x402lint
Add to Cursor

What the publisher says

From the X402lint repository's README, as published. We do not edit it. Read it on GitHub

x402lint

<!-- mcp-name: io.github.arden-instance/x402lint -->

A conformance linter for the x402 agent-payments protocol. Point it at an HTTP endpoint that charges for access and it tells you whether the 402 Payment Required challenge it returns is well-formed — the check an agent runtime does before it will pay.

$ x402lint check https://riddlex402.vercel.app/api/riddle
PASS  status: HTTP 402 Payment Required
INFO  format: x402 v2 (payment-required header)
PASS  header-decode: payment-required header is base64 JSON
PASS  x402Version: 2
PASS  error: 'Payment required'
PASS  resource.url: https://riddlex402.vercel.app/api/riddle
PASS  accepts: 1 payment option(s)
PASS  accepts[0].required: all required fields present
PASS  accepts[0].scheme: 'exact'
PASS  accepts[0].network: eip155:8453 (CAIP-2)
PASS  accepts[0].amount: 2000 atomic units
PASS  accepts[0].asset: valid EVM address
PASS  accepts[0].payTo: valid EVM address
PASS  accepts[0].maxTimeoutSeconds: 300
PASS  accepts[0].extra: EIP-712 domain: name='USD Coin' version='2'
INFO  discovery: advertises the 'bazaar' discovery extension

14 pass, 0 warn, 0 fail  (CONFORMANT)

Install

pip install x402lint

The linter (check / decode / facilitator / survey) is pure standard library, Python 3.12+. The pay command additionally needs an EIP-712 signer: pip install 'x402lint[pay]'.

Commands

x402lint check

Fetches with no payment header, expects a 402, and checks the payment challenge:

or v1 (x402Version: 1 JSON body). Reports which.

  • status is exactly 402
  • wire format — v2 (payment-required base64 header, the common case today)

maxTimeoutSeconds)

  • the challenge document decodes / parses
  • x402Version is an integer, error is a human-readable string
  • accepts is a non-empty array, and for every entry:
  • required fields present (scheme, network, amount, asset, payTo,
  • scheme in a known set (exact, upto, batch-settlement) — unknown warns
  • network is CAIP-2 shaped (v2) or a recognised name (v1) — unknown warns
  • amount is a base-10 string of a positive integer (atomic units)
  • asset / payTo are valid 0x… addresses on EVM networks
  • exact/EVM entries carry extra.name + extra.version for the EIP-712 domain
  • v1 entries carry an absolute resource URL
  • discovery metadata (extensions.bazaar / v1 outputSchema) — reported, not required

--json emits a machine-readable report (for CI). Exit code: 0 conformant (warnings allowed), 1 any failure, 2 tool error.

For a POST endpoint that validates its request body before returning the 402 (most LLM gateways), pass a body with --data (implies POST; @file or - reads a file / stdin):

$ x402lint check https://x402.telnyx.com/v1/chat/completions \
    --data '{"model":"google/gemma-2b-it","messages":[{"role":"user","content":"hi"}]}'

x402lint decode

Pretty-prints any base64 x402 header blob — payment-required, X-PAYMENT, payment-response — and labels what kind of document it is. - reads stdin.

curl -sD - https://weather.payapi.market/current \
  | grep -i ^payment-required: | cut -d' ' -f2 \
  | x402lint decode -

x402lint facilitator [url]

Fetches GET /supported and lists every (x402Version, scheme, network) triple the facilitator can verify / settle, plus its advertised extensions. Warns on unknown schemes or non-CAIP-2 v2 networks. url defaults to https://x402.org/facilitator (the public testnet facilitator). --json.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

X402lint: common questions

Is X402lint MCP server safe?
Yes, by our scan: it is graded A (85/100). Read the X402lint safety report
How do I install X402lint?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does X402lint need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is X402lint maintained?
The last commit was 60 days ago (2026-09-06). The latest release is v0.5.2.
What can I use instead of X402lint?
Servers from other publishers that do the same job: three.ws Agent Payments MCP server, Pulsefeed X402 MCP server and X402 List MCP server.
How does X402lint compare with other Finance MCP servers?
safety score 85/100 (higher than 80% of 1,759 Finance servers); tools 3 (the typical Finance server has 8); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to X402lint

Same job from other publishers: the closest match first, then the best rated.

  • three.ws Agent Payments
    Governed x402 payment sessions: pay any endpoint with budget, allowlist & per-tx caps, no key.
    B
  • Pulsefeed X402
    Verify x402 payment endpoints before an AI agent pays: scam scan, on-chain checks, trust scores.
    A
  • X402 List
    Find and vet x402 payment APIs before your agent pays one: uptime, price, on-chain volume.
    A
  • Finance Toolkit
    500+ transparent financial methods calculated from raw statements, not third-party endpoints.
    A
  • Blockrun
    Web search, deep research, prediction markets & crypto data for AI agents. Pay per call via x402.
    B