Skip to content
mcp/skillhub

x402-market MCP Server

by asaishotaio.github.AsaiShota/mcp-serverv0.2.0-alpha.1

Let AI agents pay-per-call for any HTTP API via x402 on Base mainnet. One tool: pay_and_call.

Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Slowing5mo ago

Install x402-market MCP server

Install in Claude Code

claude mcp add asaishota -e MCP_BUYER_PRIVATE_KEY='<mcp-buyer-private-key>' -- npx -y @x402-market/mcp-server

Configuration

VariableRequiredSecretDescription
MARKET_API_URL——Marketplace API base URL.
MCP_BUYER_PRIVATE_KEY—yesFunded buyer wallet private key (0x-prefixed). Required for pay_and_call; read-only tools work without it.
BASE_RPC_URL——Base RPC endpoint. Defaults to Base mainnet public RPC; Alchemy/QuickNode recommended for higher rate limits.
BASE_CHAIN_ID——8453 = Base mainnet (default, matches live listings). 84532 = Base Sepolia testnet.
MCP_MAX_PRICE——Hard cap on per-call cost (USDC). Refuses to pay above this.

Freshness

Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    no data · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-05-02 · 5mo ago · official registry · v0.2.0-alpha.1

FAQ

›How do I install the x402-market MCP server in Claude Code?

Run: claude mcp add asaishota -e MCP_BUYER_PRIVATE_KEY='<mcp-buyer-private-key>' -- npx -y @x402-market/mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does x402-market require an API key?

Yes. It expects MCP_BUYER_PRIVATE_KEY, of which 1 is a secret.

›Can I use x402-market as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is x402-market in the official MCP registry?

Yes, as io.github.AsaiShota/mcp-server.