Enterprise DNA
M MCP Servers Developer low

fernsugi/x402-api-server

by Various

x402 protocol API server — pay-per-call DeFi data endpoints using USDC micropayments on Base

F

MCP

fernsugi/x402-api-server

Added 1 June 2026

#ai-agent #crypto #defi #elizaos-plugins #mcp #micropayments #usdc #x402

Overview

An API server implementing the x402 protocol for pay-per-call DeFi data endpoints. It enables USDC micropayments on the Base network for each API request. Built in JavaScript, it provides a server that handles payment verification and data delivery.

Best for

Best for
Developers building DeFi applications that need pay-per-call data access with USDC micropayments on Base

Use cases

  • Serve DeFi data endpoints with per-call USDC micropayments
  • Integrate pay-per-use data feeds into dApps on Base
  • Build a monetized API for blockchain data without subscriptions

How to use

Install

npx @x402-api/mcp-server

Tools exposed

  • PAY_TO_ADDRESS
  • NODE_ENV
  • BASE_RPC_URL
  • X402_SETTLEMENT_MODE
  • X402_SETTLEMENT_PRIVATE_KEY
  • X402_FACILITATOR_URL
  • X402_FACILITATOR_API_KEY

Tested with

Claude Desktop

Notes

An API server implementing the x402 protocol for pay-per-call DeFi data endpoints. It enables USDC micropayments on the Base network for each API request. Built in JavaScript, it provides a server that handles payment verification and data delivery.

2 stars on GitHub. Last updated 2026-03-25.

Use cases

  • Serve DeFi data endpoints with per-call USDC micropayments
  • Integrate pay-per-use data feeds into dApps on Base
  • Build a monetized API for blockchain data without subscriptions

Pros

  • Implements the x402 protocol for standardized pay-per-call payments
  • Uses USDC on Base for low-cost micropayments
  • Open source and customizable for specific data endpoints

Cons

  • Very early stage with only 2 GitHub stars and limited community
  • Currently only supports Base network for payments
  • Requires running and maintaining your own server instance

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Implements the x402 protocol for standardized pay-per-call payments
  • Uses USDC on Base for low-cost micropayments
  • Open source and customizable for specific data endpoints

Cons

  • Very early stage with only 2 GitHub stars and limited community
  • Currently only supports Base network for payments
  • Requires running and maintaining your own server instance
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks