Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

claude mcp add x402search -- npx -y x402search-mcp

Summary

x402-index/x402search-mcp MCP server](https://glama.ai/mcp/servers/x402-index/x402search-mcp/badges/score.svg)](https://glama.ai/mcp/servers/x402-index/x402search-mcp) πŸ“‡ ☁️ 🍎 πŸͺŸ 🐧 - Search 14,000+ x402-enabled HTTP APIs by keyword.

Connect from your MCP client

One-click install

Add this server to your editor with a single click. Fill in any required credentials afterward.

Claude Code

Run this once and Claude Code registers the server for you:

claude mcp add x402search -- npx -y x402search-mcp

Claude Desktop

Add this to claude_desktop_config.json under Settings β†’ Developer β†’ Edit Config:

{
  "mcpServers": {
    "x402search": {
      "command": "npx",
      "args": [
        "-y",
        "x402search-mcp"
      ],
      "env": {
        "PRIVATE_KEY": "<PRIVATE_KEY>"
      }
    }
  }
}

Cursor

Add this to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):

{
  "mcpServers": {
    "x402search": {
      "command": "npx",
      "args": [
        "-y",
        "x402search-mcp"
      ],
      "env": {
        "PRIVATE_KEY": "<PRIVATE_KEY>"
      }
    }
  }
}

Cline and other MCP clients

Most MCP clients accept the standard mcpServers JSON block:

{
  "mcpServers": {
    "x402search": {
      "command": "npx",
      "args": [
        "-y",
        "x402search-mcp"
      ],
      "env": {
        "PRIVATE_KEY": "<PRIVATE_KEY>"
      }
    }
  }
}

Codex CLI

Register the server with OpenAI's Codex CLI β€” run this once, or add the equivalent block to ~/.codex/config.toml:

codex mcp add x402search --env PRIVATE_KEY=<PRIVATE_KEY> -- npx -y x402search-mcp

# or add to ~/.codex/config.toml:
[mcp_servers.x402search]
command = "npx"
args = ["-y", "x402search-mcp"]
[mcp_servers.x402search.env]
PRIVATE_KEY = "<PRIVATE_KEY>"

OpenClaw

OpenClaw reads MCP servers from the mcp.servers section of ~/.openclaw/openclaw.json (managed via `openclaw mcp add` or the mcporter skill):

{
  "mcp": {
    "servers": {
      "x402search": {
        "command": "npx",
        "args": [
          "-y",
          "x402search-mcp"
        ],
        "env": {
          "PRIVATE_KEY": "<PRIVATE_KEY>"
        }
      }
    }
  }
}

Replace the <PLACEHOLDER> values with your own credentials β€” see the configuration table below.

Configuration

x402search-mcp reads the following environment variable:

VariableRequired
PRIVATE_KEYRequired

README.md

x402search MCP Server

Search 14,000+ x402-enabled HTTP APIs from any MCP-compatible agent.

Version: 1.0.3 Β· License: MIT Β· Cost: $0.01 USDC per search Β· Base mainnet Β· No account needed

npm: https://www.npmjs.com/package/x402search-mcp PyPI: https://pypi.org/project/x402search-mcp API: https://x402search.xyz

---

Requirements

  • A wallet private key (EVM)
  • USDC on Base mainnet (eip155:8453)
  • Get USDC on Base: https://www.coinbase.com/how-to-buy/usdc

---

Install: Claude Desktop

Add to your claude_desktop_config.json: ``json { "mcpServers": { "x402search": { "command": "npx", "args": ["x402search-mcp@1.0.3"], "env": { "EVM_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY_HERE" } } } } `` Config file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

---

Install: Claude Code

claude mcp add x402search -- npx x402search-mcp@1.0.3

Then set your key: ``bash export EVM_PRIVATE_KEY=0xYOUR_PRIVATE_KEY_HERE ``

---

Install: Cursor

Add to .cursor/mcp.json: ``json { "mcpServers": { "x402search": { "command": "npx", "args": ["x402search-mcp@1.0.3"], "env": { "EVM_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY_HERE" } } } } ``

---

Install: Windsurf

Add to ~/.codeium/windsurf/mcp_config.json: ``json { "mcpServers": { "x402search": { "command": "npx", "args": ["x402search-mcp@1.0.3"], "env": { "EVM_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY_HERE" } } } } ``

---

Install: Python agents (LangChain, CrewAI, AutoGen, GAME SDK)

pip install x402search-mcp
from x402search import search_x402_apis
results = search_x402_apis(
    query="token price API ethereum",
    private_key="0xYOUR_PRIVATE_KEY_HERE"
)
print(results)

Full docs: https://pypi.org/project/x402search-mcp

---

Quick Test

EVM_PRIVATE_KEY=0xYOUR_KEY npx x402search-mcp@1.0.3

---

Tool: search_x402_apis

| Parameter | Type | Required | Description | |---|---|---|---| | query | string | yes | e.g. "token price API", "DEX swap routing" | | network | string | no | e.g. "eip155:8453" for Base mainnet | | max_price_usdc | number | no | Filter to APIs at or below this price | | limit | number | no | Max results (default 10, max 50) |

---

Virtuals ACP Integration

x402search is available as a native ACP agent on the Virtuals protocol marketplace.

  • Agent ID: 22531
  • Agent profile: https://app.virtuals.io/acp/agent-details/22531
  • Job name: x402search
  • Price: 0.01 USDC per search
  • Accepts crypto, DeFi, and blockchain API discovery queries
  • Rejects off-topic requests automatically at the request phase
  • Returns structured results: endpoint URLs, payment metadata, network, and relevance rank

---

Links

  • npm: https://www.npmjs.com/package/x402search-mcp
  • PyPI: https://pypi.org/project/x402search-mcp
  • API: https://x402search.xyz
  • Health: https://x402search.xyz/health
  • GitHub: https://github.com/x402-index/x402search-mcp
  • x402 protocol: https://x402.org

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Search servers.