# @x402-api/mcp-server

MCP server for Sugi's x402 DeFi API — gives Claude, ChatGPT, and MCP-compatible agents access to pay-per-call crypto/DeFi data

- **Type:** MCP server
- **Trust:** 60/100 (B), scored on the package rubric
- **Verification:** community-indexed — nobody has claimed this listing
- **Version:** 1.0.5
- **Author:** Sugi
- **License:** MIT
- **npm:** @x402-api/mcp-server
- **Source:** https://github.com/fernsugi/x402-api-mcp-server
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

60/100 (B), scored on the package rubric
- Publisher verified: no
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 0 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-10-01T21:47:36.788Z
- **Version scanned:** 1.0.5
- **CVEs:** none found by OSV at scan time

## Tools

8 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `get_crypto_prices` — Get live cryptocurrency prices and top 24h movers. Returns BTC, ETH, SOL prices plus top gainers/losers.
- `get_gas_prices` — Get current gas prices across multiple chains: Ethereum, Base, Polygon, and Arbitrum.
- `get_dex_quotes` — Get one live ParaSwap aggregate route for a supported pair.
- `scan_token` — Read GoPlus ERC-20 security flags and a disclosed risk heuristic.
- `track_whales` — Read a GoPlus sample of top ERC-20 holders and reported supply share.
- `scan_yields` — Scan top DeFi yield opportunities across protocols: Aave, Compound, Morpho, Lido, Pendle, and more.
- `get_funding_rates` — Get hourly perpetual funding rates from Hyperliquid and dYdX v4.
- `profile_wallet` — Read priced public wallet balances and available transaction counts from Blockscout.

## Install

**Verdict: review** — Installable, but 1 thing to check first: No publisher has proved control of this listing; it is indexed, not vouched for.
**Cautions** (coverage gaps and advisories — never blocking)
- No publisher has proved control of this listing; it is indexed, not vouched for.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@x402-api/mcp-server\"\n      ],\n      \"env\": {\n        \"X402_WALLET_PRIVATE_KEY\": \"<YOUR_X402_WALLET_PRIVATE_KEY>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `X402_WALLET_PRIVATE_KEY` — X402 Wallet Private Key (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 1 credential (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Moderate blast radius — holds an api key; runs on your machine.
- Floor 23, ceiling 23 (tier: moderate)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/%40x402-api%2Fmcp-server
- Install plan: https://forgeregistry.com/api/v1/packages/%40x402-api%2Fmcp-server/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/%40x402-api%2Fmcp-server
- HTML page: https://forgeregistry.com/registry/%40x402-api%2Fmcp-server
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
