Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.fernsugi/x402-api

NPM · @X402-API/MCP-SERVER · SCANNED SEP 20

DeFi data API for AI agents — pay-per-call via x402/USDC on Base

0 this week 79 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security88
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: a known high-severity CVE affects uuid 8.3.2, reached via x402-fetch > x402 > wagmi > @wagmi/connectors > @metamask/sdk > uuid. A fixed version is available. View diagnostics → Fail
  • No install/post-install scripts declared.Pass
  • Dependency health was assessed across the 400 of 526 dependencies we could resolve, so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability77
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 997 tokens (~124/item across 8 items; 8 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management83
  • Stability observed for 25 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 8 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 8 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

How do I install the io.github.fernsugi/x402-api MCP server?

io.github.fernsugi/x402-api runs locally as an npm package, launched with npx -y @x402-api/mcp-server. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · @x402-api/mcp-server

# add to Claude Code
claude mcp add fernsugi-x402-api -- npx -y @x402-api/mcp-server
// .cursor/mcp.json
{
  "mcpServers": {
    "fernsugi-x402-api": {
      "command": "npx",
      "args": [
        "-y",
        "@x402-api/mcp-server"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "fernsugi-x402-api": {
      "command": "npx",
      "args": [
        "-y",
        "@x402-api/mcp-server"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add fernsugi-x402-api -- npx -y @x402-api/mcp-server
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "fernsugi-x402-api": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@x402-api/mcp-server"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add fernsugi-x402-api --command npx --arg -y --arg @x402-api/mcp-server
# ~/.hermes/config.yaml
mcp_servers:
  fernsugi-x402-api:
    command: "npx"
    args: ["-y", "@x402-api/mcp-server"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "fernsugi-x402-api": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@x402-api/mcp-server"
      ]
    }
  }
}
# add to Vellum
assistant mcp add fernsugi-x402-api -t stdio -c npx -a -y @x402-api/mcp-server
// mcp.json
{
  "mcpServers": {
    "fernsugi-x402-api": {
      "command": "npx",
      "args": [
        "-y",
        "@x402-api/mcp-server"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 20 Sept 26 +1
    • Security disclosure: unverified → fail functional
  • 19 Sept 26 −3
    • Security disclosure: fail → unverified functional
    • Stability: pass → 0.80 functional
  • 18 Sept 26 0
    • Stability: 0.97 → pass security
  • 17 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 15 Sept 26 +1
    • CVE-2026-67316 no longer affects this package security
    • CVE-2026-67313 no longer affects this package security
    • CVE-2026-67312 no longer affects this package security
    • CVE-2026-67321 no longer affects this package security
    • CVE-2026-67315 no longer affects this package security
    • CVE-2026-67320 no longer affects this package security
    • CVE-2026-67317 no longer affects this package security
    • CVE-2026-67318 no longer affects this package security
    • CVE-2026-67319 no longer affects this package security
    • CVE-2026-67314 no longer affects this package security
  • 13 Sept 26 +1
    • Security disclosure: unverified → fail functional
  • 12 Sept 26 −3
    • Security disclosure: fail → unverified functional
    • Stability: pass → 0.80 functional
  • 11 Sept 26 0
    • Stability: 0.97 → pass security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 20 Sept 2026 · Analysed npm/@x402-api/mcp-server@1.0.2

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem npm

Background: How many MCP packages publish verified provenance →

Vulnerabilities 4 findings
ID CVE Severity Vector Fix available
GHSA-vcc3-ghjq-m6fr CVE-2026-45822 medium yes
GHSA-w5hq-g745-h8pq CVE-2026-41907 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N yes
GHSA-58qx-3vcg-4xpx CVE-2026-45736 medium CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N yes
GHSA-96hv-2xvq-fx4p CVE-2026-48779 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H yes

Background: What a vulnerability scan can and cannot prove →

Dependencies 400 packages
Packages resolved 400
Deprecated 13
Stale 102
No linked repository 2
Tree resolution Partial

The dependency tree was only partially resolved, so these counts may be incomplete.

Background: SBOMs and build attestations, explained →

MCP tools · 8 exposed · ~997 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
get_crypto_prices ~60

Get live cryptocurrency prices and top 24h movers. Returns BTC, ETH, SOL prices plus top gainers/losers. Costs 0.001 USDC per call (x402 micropayment on Base). Data sourced live from CoinGecko.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_dex_quotes ~169

Compare swap quotes across DEXes: Uniswap, SushiSwap, and 1inch. Returns best price, price impact, liquidity, and estimated fees for each venue. Costs 0.002 USDC per call (x402 micropayment on Base).

NameTypeReqDescription
amountstringyesAmount to swap (e.g. "1.5" for 1.5 ETH)
chainstringChain to query (e.g. "ethereum", "base", "arbitrum"). Defaults to "ethereum".
fromstringyesInput token symbol or address (e.g. "ETH", "USDC", "0x...")
tostringyesOutput token symbol or address (e.g. "USDC", "DAI", "0x...")

No output schema declared.

No examples provided.

get_funding_rates ~171

Get perpetual futures funding rates across 6 venues: Hyperliquid, dYdX v4, Aevo, GMX, Drift, and Vertex. Returns per-8h funding rate, annualized APR, predicted rate, open interest, and next funding time for each venue. Also returns ranked arbitrage opportunities (long low-rate venue, short high-rate venue) with spread in bps and annualized carry. Costs 0.008 USDC per call (x402 micropayment on Base).

NameTypeReqDescription
assetstringAsset symbol (e.g. "BTC", "ETH", "SOL"). Returns all assets if omitted.
min_spreadnumberFilter for arbitrage spreads >= N basis points (e.g. 0.5). Omit for no filter.

No output schema declared.

No examples provided.

get_gas_prices ~61

Get current gas prices across multiple chains: Ethereum, Base, Polygon, and Arbitrum. Returns slow/standard/fast tiers in gwei and estimated USD cost. Costs 0.001 USDC per call (x402 micropayment on Base).

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

profile_wallet ~108

Generate a full portfolio profile for an Ethereum/Base wallet address. Returns token holdings, NFTs, DeFi positions, transaction history summary, PnL estimate, and risk profile score. Costs 0.008 USDC per call (x402 micropayment on Base).

NameTypeReqDescription
addressstringyesEthereum or Base wallet address (0x...)
chainstringFilter by chain (e.g. "ethereum", "base", "arbitrum", "polygon"). Defaults to "all".

No output schema declared.

No examples provided.

scan_token ~116

Perform a security scan on a token contract. Detects rug-pull risks, honeypot patterns, ownership concentration, mint authority, and other red flags. Costs 0.003 USDC per call (x402 micropayment on Base).

NameTypeReqDescription
chainstringChain to scan on (e.g. "ethereum", "base", "arbitrum", "polygon"). Defaults to "ethereum".
tokenstringyesToken contract address (0x...) or symbol (e.g. "PEPE", "UNI")

No output schema declared.

No examples provided.

scan_yields ~196

Scan top DeFi yield opportunities across protocols: Aave, Compound, Morpho, Lido, Pendle, and more. Filter by chain, asset, and minimum TVL. Returns APY, TVL, risk score, and protocol details. Costs 0.005 USDC per call (x402 micropayment on Base).

NameTypeReqDescription
assetstringFilter by asset symbol (e.g. "ETH", "USDC", "stETH"). Omit for all assets.
chainstringBlockchain to filter by (e.g. "ethereum", "base", "arbitrum", "polygon"). Omit for all chains.
limitnumberMaximum number of results to return (1–50). Defaults to 20.
min_tvlnumberMinimum TVL in USD (e.g. 1000000 for $1M). Omit for no minimum.

No output schema declared.

No examples provided.

track_whales ~116

Analyze whale activity and holder concentration for a token. Returns top holders, Gini coefficient, whale alerts (large recent buys/sells), and distribution breakdown. Costs 0.005 USDC per call (x402 micropayment on Base).

NameTypeReqDescription
chainstringChain to query (e.g. "ethereum", "base", "solana", "arbitrum"). Defaults to "ethereum".
tokenstringyesToken contract address (0x...) or symbol (e.g. "ETH", "PEPE")

No output schema declared.

No examples provided.

Common questions

What is the io.github.fernsugi/x402-api MCP server?

io.github.fernsugi/x402-api is an MCP server listed in the public MCP registry as io.github.fernsugi/x402-api. DeFi data API for AI agents, pay-per-call via x402/USDC on Base. This page covers its npm package (@x402-api/mcp-server).

Is the io.github.fernsugi/x402-api MCP server safe to use?

io.github.fernsugi/x402-api scores 79 out of 100 on VerifyMCP. We recorded 4 known advisories against it as of 20 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.fernsugi/x402-api MCP server expose?

io.github.fernsugi/x402-api exposes 8 tools: get_crypto_prices, get_gas_prices, get_dex_quotes, scan_token, track_whales, and 3 more. Their descriptions and schemas cost roughly 997 tokens of context every time the server is loaded.

Is the io.github.fernsugi/x402-api MCP server still maintained?

io.github.fernsugi/x402-api is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the io.github.fernsugi/x402-api MCP server under?

io.github.fernsugi/x402-api declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.