Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

X402 API

von fernsugiVersion 1.0.5i★ –iLäuft auf deinem Computer
Name in der Registryio.github.fernsugi/x402-api

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

Eight paid DeFi tools: prices, gas, swaps, token security, holders, yields, funding and wallets

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Sonstiges
  • Das musst du eintragen: X402_WALLET_PRIVATE_KEY

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Das trägst du selbst ein: X402_API_BASE_URL, X402_WALLET_PRIVATE_KEY, X402_MAX_PER_CALL_USDC, X402_REFERRAL_SOURCE, X402_EXPECTED_PAY_TO

Als geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.

Du brauchst

  • npmNode.js installiert (für den Befehl npx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "mcpServers": {
    "x402-api": {
      "command": "npx",
      "args": [
        "-y",
        "@x402-api/mcp-server"
      ],
      "env": {
        "X402_API_BASE_URL": "your-value",
        "X402_WALLET_PRIVATE_KEY": "your-value",
        "X402_MAX_PER_CALL_USDC": "your-value",
        "X402_REFERRAL_SOURCE": "your-value",
        "X402_EXPECTED_PAY_TO": "your-value"
      }
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add x402-api --env X402_API_BASE_URL=your-value --env X402_WALLET_PRIVATE_KEY=your-value --env X402_MAX_PER_CALL_USDC=your-value --env X402_REFERRAL_SOURCE=your-value --env X402_EXPECTED_PAY_TO=your-value -- npx -y @x402-api/mcp-server

Trag die leeren Werte ein, bevor du ihn startest.

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "x402-api": {
      "command": "npx",
      "args": [
        "-y",
        "@x402-api/mcp-server"
      ],
      "env": {
        "X402_API_BASE_URL": "your-value",
        "X402_WALLET_PRIVATE_KEY": "your-value",
        "X402_MAX_PER_CALL_USDC": "your-value",
        "X402_REFERRAL_SOURCE": "your-value",
        "X402_EXPECTED_PAY_TO": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "x402-api": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@x402-api/mcp-server"
      ],
      "env": {
        "X402_API_BASE_URL": "your-value",
        "X402_WALLET_PRIVATE_KEY": "your-value",
        "X402_MAX_PER_CALL_USDC": "your-value",
        "X402_REFERRAL_SOURCE": "your-value",
        "X402_EXPECTED_PAY_TO": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Werte, die du selbst einträgst

  • X402_API_BASE_URL env
    x402 API base URL (default: https://x402-api.fly.dev)
  • X402_WALLET_PRIVATE_KEY geheim env
    Base wallet private key for optional EIP-3009 auto-pay. Default mode inspects payment requirements without paying.
  • X402_MAX_PER_CALL_USDC env
    Maximum USDC allowed per automatic tool call (default: 0.01)
  • X402_REFERRAL_SOURCE env
    Optional referral label: github, glama, nohumans, bazaar, mcp, eliza, demo or test. Default mcp.
  • X402_EXPECTED_PAY_TO env
    Expected payment recipient; defaults to the official x402-api wallet. Change only when using a trusted alternative deployment.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 6. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto fernsugi bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Sonstigesi

  • Mehr Sterne als 0 % der anderen 32435 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 52 % der anderen 32435 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 32435 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist X402 API sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Das musst du eintragen: X402_WALLET_PRIVATE_KEY

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (1.0.5) kam vor 37 Tagen in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Node.js auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Spec Driven Development, Remote Desktop Commander, Apify MCP Server

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Spec Driven Development

von formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Läuft auf deinem Computer★ 440MITAktualisiert vor 14 Monaten
Installieren

Remote Desktop Commander

von desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Läuft in der Cloud★ 211Aktualisiert gestern
Installieren

Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡

Läuft in der CloudAktualisiert heute
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

@x402-api/mcp-server

MCP server that gives Claude, ChatGPT, and any MCP-compatible AI agent access to pay-per-call crypto/DeFi data via the x402 protocol.

8 tools. No API keys. AI agents pay USDC micropayments on Base, per request.

Find this service: Official MCP Registry · Glama · Agent discovery manifest · OpenAPI.

  ██╗  ██╗██╗  ██╗ ██████╗ ██████╗

╚██╗██╔╝██║ ██║██╔═══██╗╚════██╗ ╚███╔╝ ███████║██║ ██║ █████╔╝ ██╔██╗ ╚════██║██║ ██║██╔═══╝ ██╔╝ ██╗ ██║╚██████╔╝███████╗ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝

Tools

ToolAPI EndpointCostDescription
get_crypto_pricesGET /api/price-feed0.001 USDCBTC/ETH/SOL + top 24h movers
get_gas_pricesGET /api/gas-tracker0.001 USDCMulti-chain gas (ETH, Base, Polygon, Arbitrum)
get_dex_quotesGET /api/dex-quotes0.002 USDCOne ParaSwap aggregate route
scan_tokenGET /api/token-scanner0.003 USDCGoPlus security flags and heuristic
track_whalesGET /api/whale-tracker0.005 USDCTop-holder sample and supply share
scan_yieldsGET /api/yield-scanner0.005 USDCDefiLlama pool APYs and TVL
get_funding_ratesGET /api/funding-rates0.008 USDCHyperliquid and dYdX hourly rates
profile_walletGET /api/wallet-profiler0.008 USDCObserved Blockscout balances; partial coverage

Quick Start

Option A: Inspect mode (no payment needed)

Just run it — any 402 responses will return human-readable payment instructions:

npx @x402-api/mcp-server

Claude will tell you what's needed when a tool requires payment.

Option B: Auto-pay mode (fully autonomous)

Install optional payment deps and set your wallet key:

npm install -g @x402-api/mcp-server

npm install -g viem export X402_WALLET_PRIVATE_KEY=0x x402-api-mcp

The MCP server signs Base USDC EIP-3009 authorizations only when the API advertises that settlement mode. The default payment cap is 0.01 USDC per call. Fund the wallet with USDC on Base; the API operator sponsors gas in direct settlement mode.


Claude Desktop Integration

Add to your claude_desktop_config.json:

Without auto-pay (inspect mode)
{

"mcpServers": { "x402-api": { "command": "npx", "args": ["@x402-api/mcp-server"] } } }

With auto-pay
{

"mcpServers": { "x402-api": { "command": "npx", "args": ["@x402-api/mcp-server"], "env": { "X402_WALLET_PRIVATE_KEY": "0x " } } } }

Config file location:

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

Environment Variables

VariableRequiredDescription
X402_WALLET_PRIVATE_KEYOptionalBase wallet private key for EIP-3009 automatic payment. Requires viem.
X402_MAX_PER_CALL_USDCOptionalPer-call cap, default 0.01 USDC.
X402_API_BASE_URLOptionalOverride API URL (default: https://x402-api.fly.dev)

How x402 Payments Work

This API uses the x402 protocol — HTTP 402 Payment Required:

  1. Agent calls tool → MCP server makes API request
  2. Server returns 402 with payment details (amount, USDC address, Base network)
  3. Auto-pay mode: this client signs an EIP-3009 authorization and retries; the API settles it on Base
  4. Inspect mode: MCP returns 402 details without signing or paying

Payment details:

  • Token: USDC on Base mainnet
  • Address: 0x60264c480b67adb557efEd22Cf0e7ceA792DefB7
  • Chain: Base (chain ID 8453)
  • Amount: 0.001–0.008 USDC per call (< 1 cent USD)

Tool Reference

get_crypto_prices

No parameters. Returns current prices for BTC, ETH, SOL + top 24h movers.

Cost: 0.001 USDC
get_gas_prices

No parameters. Returns gas prices for Ethereum, Base, Polygon, Arbitrum — slow/standard/fast tiers.

Cost: 0.001 USDC
get_dex_quotes

Get one ParaSwap aggregate route. No independent comparison between DEX venues.

ParameterTypeRequiredDescription
fromstring✅Input token (e.g. "ETH", "0x...")
tostring✅Output token (e.g. "USDC")
amountstring✅Amount to swap (e.g. "1.5")
Cost: 0.002 USDC
scan_token

Token security scan — detects rug-pull flags, honeypot patterns, mint authority, etc.

ParameterTypeRequiredDescription
tokenstring✅Contract address or symbol (e.g. "PEPE")
Cost: 0.003 USDC
track_whales

Top-holder sample from GoPlus. Gini and recent transfer history unavailable.

ParameterTypeRequiredDescription
tokenstring✅Contract address or symbol
Cost: 0.005 USDC
scan_yields

Top DeFi yield opportunities across Aave, Compound, Morpho, Lido, Pendle, etc.

ParameterTypeRequiredDescription
chainstring❌Filter by chain: "ethereum", "base", "arbitrum", "polygon"
min_tvlnumber❌Minimum TVL in USD (e.g. 1000000)
Cost: 0.005 USDC
get_funding_rates

Hourly perpetual funding from Hyperliquid and dYdX v4. Spreads are indicative.

ParameterTypeRequiredDescription
assetstring❌Asset symbol (e.g. "BTC", "ETH"). All assets if omitted.
Cost: 0.008 USDC
profile_wallet

Observed priced wallet balances and available transaction counts. DeFi positions, PnL and risk score unavailable.

ParameterTypeRequiredDescription
addressstring✅Ethereum/Base wallet address (0x...)
Cost: 0.008 USDC

Development

git clone https://github.com/fernsugi/x402-api-mcp-server

cd x402-api-mcp-server

npm install npm run build npm start

To test without a payment wallet, simply run and see the 402 responses:

node dist/index.js

Links


License

MIT

Three runnable workflows

WorkflowToolsTotal USDC
Token checkscan_token + track_whales0.008
ETH fundingget_funding_rates0.008
Swap quote + gasget_dex_quotes + get_gas_prices0.003

Runnable Node examples start in inspect mode. Each demo has inputs, recorded provider output, coverage limits, a spending cap, and an agent prompt.

Optional X402_REFERRAL_SOURCE labels requests for first-party aggregate attribution (default mcp). It is a hint, not verified caller identity. The API journals no raw payer wallets, IP addresses, or signatures. X402_EXPECTED_PAY_TO pins the payment recipient to the official wallet by default. Tools advertise that auto-pay can spend money and repeated calls can incur another charge.

Cursor / other local MCP clients

Use the same mcpServers configuration shown above. For Cursor, put it in .cursor/mcp.json in your project. Inspect mode needs no wallet. Set X402_MAX_PER_CALL_USDC before enabling auto-pay; repeated calls spend again. Keep wallet credentials in local environment settings, outside Git.

Registry publication

The Publish MCP Registry GitHub workflow validates the matching npm version, then publishes server.json using GitHub OIDC. It runs on a published GitHub release or a manual dispatch from main. No npm token, GitHub PAT, or wallet key is stored in CI. Actions and official publisher source are pinned to verified commits. npm publication still happens separately before creating the release.

PopNx fragen