Skip to content
MCP server

Tools

Generate x402 payment challenge responses and framework code from a price and wallet

Status and history

Answered our latest tool-list check 22 hours ago with 2 tools. It will be marked verified after 3 successful checks in 7 days.

Install
Pricing
Freemium
Platforms
API, Web
Runs
Remotely
Version
1.0.0
Listing updated
3 days ago

About Tools

Tools is a freemium MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.

Supply a price, a receiving wallet, a network and optionally an asset, resource and description, and the service returns a 402 response body that follows the x402 spec, checked against the same rules its sibling x402lint uses to audit existing endpoints. The free output includes Express and Hono snippets.

The site documents a plain GET /generate endpoint with those parameters, and a /generate/full endpoint that adds five more framework snippets and a ready manifest file for 0.02 USDC on Base. It also points to an /llms.txt file for agents. Very little else is published, so scope beyond payment-challenge generation is not described.

Install

Run in a terminal

claude mcp add --transport http tools https://x402gen.sebastiaan-ba3.workers.dev/mcp

Add to Settings → Connectors → Add custom connector

https://x402gen.sebastiaan-ba3.workers.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "tools": {
      "url": "https://x402gen.sebastiaan-ba3.workers.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "tools": {
      "type": "http",
      "url": "https://x402gen.sebastiaan-ba3.workers.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "tools": {
      "serverUrl": "https://x402gen.sebastiaan-ba3.workers.dev/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "tools": {
      "type": "http",
      "url": "https://x402gen.sebastiaan-ba3.workers.dev/mcp"
    }
  }
}

Tools this server provides (2)

Read directly from the server.

generate_x402_challenge
Build a spec-compliant x402 v2 payment challenge (402 response body) from a price, wallet and network. Returns the challenge JSON, the base64 PAYMENT-REQUIRED header value, a curl test command, and free code snippets (Cloudflare Worker, Express) to return it. Free, no auth. Pre-validated: the same shape checks x402lint.js runs on existing endpoints.
generate_x402_challenge_full
Same as generate_x402_challenge plus 5 more framework snippets (FastAPI, Next.js, Django, Go, Rails, raw Node) and a ready /.well-known/x402.json manifest. Requires payment (USDC on Base, x402) -- NOT callable for free over MCP. Calling this tool returns the exact HTTP request to make instead; it does not run the generation itself.

What it does

402 challenge generation
Builds a spec-compliant x402 payment-required response body from your price and wallet.
Express and Hono snippets
Free output includes ready code for those two frameworks.
Lint-checked output
Results are pre-validated against x402lint's own rules.
Paid full bundle
/generate/full adds five more framework snippets and a manifest file for 0.02 USDC on Base.
No signup
The free tier needs no account.

Good for

  • Add an x402 paywall to an Express or Hono API
  • Check what a correct 402 body looks like for a given price and network
  • Let an agent generate payment-gated endpoint code

Pricing

Freemium

Free generator; extended output 0.02 USDC per call on Base

Prices change. Check x402gen.sebastiaan-ba3.workers.dev before you buy.

Tools FAQ

Is it free?

The basic generator is free with no signup; the extended /generate/full output costs 0.02 USDC on Base.

What inputs does it take?

price, pay_to, network, asset, resource and description as query parameters on GET /generate.

Is Tools free?

Tools has a free plan, with paid plans for more usage or features.

How do I add Tools to Claude Code?

Run this command in your terminal: claude mcp add --transport http tools https://x402gen.sebastiaan-ba3.workers.dev/mcp

What are the best alternatives to Tools?

The closest alternatives to Tools are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Tools

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools