Best x402 server middleware

The top 10 x402 server middleware, ordered by published facts, adoption and maintenance. Chains and fees are as each project states them.

As of December 2026, 5 of 15 listed x402 projects with a public repository had a commit in the 90 days before they were measured (33.3%).

Ranked within 15 x402 server middleware. The rank score is the share of that list a project is ahead of.

Stars against evidenceagent-commerce leads on evidence and on GitHub stars (83)
123

Evidence score, 0 to 100 (up)GitHub stars, log scale (right)

  1. agent-commerce 47.2, 83 stars
  2. presidio-hardened-x402 46.1, 17 stars
  3. openclaw-x402 41.5, 64 stars

10 of these 10 have a public repo; the median one has 36 GitHub stars. Each dot is one project on this list; the top three are orchid and numbered by rank. Stars are one part of adoption, so a high dot with few stars earned its score on facts, maintenance and downloads. Source: x402 Wallet index, December 2026.

Dots on each line, left to right: Base, Solana, Ethereum, Polygon. Filled when the project’s own docs name that chain. The number on each card is its rank score in this list, 0 to 100.

  1. 01

    agent-commerce

    Turn your existing API into paid tools for AI agents: MCP tools, x402 pay-per-call settlement in USDC, A2A, ACP and AP2. Self-hosted, non-custodial, open source.

    Chains
    Assets
    ETH, SOL, USDC
    Licence
    Apache-2.0
    GitHub stars
    83
  2. 02

    presidio-hardened-x402

    Security middleware for x402 agentic payments — PII redaction, spending policy, and replay detection before blockchain commit

    Chains
    Assets
    ETH, USDC
    Pricing
    Open source
    Licence
    MIT
    GitHub stars
    17
  3. 03

    openclaw-x402

    RustChain is a DePIN (Decentralized Physical Infrastructure Network) for vintage hardware, built on Proof of Antiquity: old real machines mine RTC and out-earn new...

    Chains
    Assets
    USDC
    Licence
    MIT
    GitHub stars
    64
  4. 04

    kite-x402-services

    Wrap any HTTP API as an x402 service paid on the Kite chain: templates, manifest schema and community catalog

    Chains
    Assets
    USDC
    Pricing
    Open source
    Licence
    Apache-2.0
    GitHub stars
    40
  5. 05

    Tollgate

    x402-compatible API gateway with hard spend caps, sub-agent budget delegation, and signed receipts. The control plane x402 leaves out.

    Chains
    Assets
    ETH, SOL, USDC
    Licence
    Apache-2.0
    GitHub stars
    12
  6. 06

    AgentCash Router

    AgentCash lets AI agents buy anything on your behalf. Pay per call, no keys, no subscriptions.

    Chains
    Assets
    USDC
    Licence
    MIT
    GitHub stars
    32
  7. 07

    Faremeter

    A universal framework designed to allow agents and other utilities to transparently make machine payments using web infrastructure.

    Chains
    Assets
    USDC
    Licence
    LGPL-3.0
    GitHub stars
    70
  8. 08

    aixyz

    Payment-native SDK for AI Agents. Build an agent, get paid today.

    Chains
    GitHub stars
    81
  9. 09

    MachinePal

    The Cloud-Native MCP and X402 Gateway to Run and Monetize your AI Agents and Services, as well as optimize your AI costs

    Chains
    Pricing
    Open source
    Licence
    MIT
    GitHub stars
    32
  10. 10

    x402 Triton Gateway

    [Hackathon winner]A production-ready micropayment gateway that implements HTTP 402 (Payment Required) to monetize access to historical Solana blockchain data via Old...

    Chains
    Assets
    SOL, USDC
    Pricing
    Open source
    Licence
    MIT
    GitHub stars
    22

Rank score is a percentile inside the category; the evidence score behind it is on each profile. Methodology. All 15 x402 server middleware

Questions developers ask

Why these 10 x402 server middleware?

They score highest on published facts, adoption and maintenance inside the category. The parts of each score are on the profile.

Is anyone paid to appear on this list?

No. Ranking never takes money. Nobody pays to be listed or ranked.