# x402 Crypto Data API

> x402 Crypto Data API is a freemium MCP server for finance and payments. Pay-per-call crypto prices, Fear & Greed index and headlines for AI agents, paid in USDC. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, Self-hosted
- **Repository:** https://github.com/piaoshuweb3/x402-data-mcp
- **MCP Registry name:** io.github.piaoshuweb3/x402-data-mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [crypto and web3](https://ai-powered.com/categories/crypto-and-web3)
- **Listing updated:** 2026-11-29

## About

This MCP server gives AI assistants access to crypto market readings without any account. Each tool call is priced individually and settled in USDC on Base mainnet using the x402 payment protocol, so an agent pays only for the data it requests.

The server offers spot prices with 24-hour change for BTC, ETH, SOL, BNB and BASE, the crypto Fear & Greed index, and up to twelve headlines from the previous day. A free health tool and a payment-requirements tool let a client inspect the payment challenge before it commits any funds.

It suits developers building autonomous agents that need small, metered market inputs and want to avoid API keys and subscriptions. The server is MIT licensed and can also be run locally over stdio, or used through its hosted Streamable HTTP endpoint.

## Features

- **No account required:** Calls are paid per request, so there is no API key or signup step.
- **Crypto spot prices:** Returns BTC, ETH, SOL, BNB and BASE prices with 24-hour change.
- **Fear and greed index:** Provides the current crypto Fear & Greed reading as a single call.
- **Recent crypto headlines:** Delivers up to twelve headlines from the last 24 hours.
- **x402 payment flow:** Returns a payment challenge that an agent signs with an EIP-3009 authorization on Base.
- **Local or hosted use:** Runs as a Node stdio server or through a public Streamable HTTP endpoint.

## Good for

- Give a trading or research agent current prices and sentiment before it acts
- Pull a daily crypto headline digest into an automated report without managing API keys
- Let an autonomous agent buy small data reads with its own USDC wallet
- Prototype x402 paid-tool integrations against a working MCP server

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http x402-data-mcp https://186-244-245-80.sslip.io/x402/mcp/
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "type": "http",
      "url": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://186-244-245-80.sslip.io/x402/mcp/
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "url": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "type": "http",
      "url": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://186-244-245-80.sslip.io/x402/mcp/
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add x402-data-mcp --url https://186-244-245-80.sslip.io/x402/mcp/
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.x402-data-mcp]
url = "https://186-244-245-80.sslip.io/x402/mcp/"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "httpUrl": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http x402-data-mcp https://186-244-245-80.sslip.io/x402/mcp/

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "serverUrl": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "url": "https://186-244-245-80.sslip.io/x402/mcp/",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "type": "streamableHttp",
      "url": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "x402-data-mcp": {
      "url": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "url": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "url": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "url": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://186-244-245-80.sslip.io/x402/mcp/
```

Enter a Name (for example "x402 Crypto Data API"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "x402-data-mcp": {
      "type": "http",
      "url": "https://186-244-245-80.sslip.io/x402/mcp/"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `x402_health`: Service liveness and configuration (free).
- `x402_payment_requirements`: Returns the x402 v2 payment challenge for a paid tool (free).
- `crypto_snapshot`: BTC/ETH/SOL/BNB/BASE spot prices and 24h change (0.001 USDC).
- `crypto_fear_greed`: Crypto Fear & Greed index (0.001 USDC).
- `crypto_news`: Up to 12 crypto headlines from the last 24h (0.002 USDC).

## FAQ

### Do I need an API key to use x402 Crypto Data API?

No. The README states there is no API key or signup; each paid call is settled per request with USDC.

### Which network and token are used for payment?

Payments use USDC on Base mainnet (eip155:8453) through the x402 exact scheme.

### Which tools are free?

The health check and the payment-requirements tool are free. The snapshot, Fear & Greed and news tools cost 0.001, 0.001 and 0.002 USDC respectively.

### How much does a call cost?

Crypto snapshot and Fear & Greed cost 0.001 USDC per call, and crypto news costs 0.002 USDC per call.

### How do I add x402 Crypto Data API to Claude Code?

Run this command in your terminal: claude mcp add --transport http x402-data-mcp https://186-244-245-80.sslip.io/x402/mcp/

### What are the best alternatives to x402 Crypto Data API?

The closest alternatives to x402 Crypto Data API are Crypto price, market cap, volume (x402), Industrial Platform Market Data, CIPHER x402 — Paid Solana & Crypto Tools, Crypto Intelligence and ExactJSON — Live, deterministic x402 APIs for AI agents.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Crypto price, market cap, volume (x402)](https://ai-powered.com/mcp/crypto-price-market-cap-volume-x402): Crypto price, market cap, volume (x402) is a paid MCP server for finance and payments.
- [Industrial Platform Market Data](https://ai-powered.com/mcp/industrial-platform-market-data): Industrial Platform Market Data is a free MCP server for finance and payments.
- [CIPHER x402 — Paid Solana & Crypto Tools](https://ai-powered.com/mcp/cipher-x402-paid-solana-and-crypto-tools): CIPHER x402 — Paid Solana & Crypto Tools is an open-source MCP server for finance and payments.
- [Crypto Intelligence](https://ai-powered.com/mcp/crypto-intelligence): Crypto Intelligence is a paid MCP server for finance and payments.
- [ExactJSON — Live, deterministic x402 APIs for AI agents](https://ai-powered.com/mcp/exactjson-live-deterministic-x402-apis-for-ai-agents): ExactJSON — Live, deterministic x402 APIs for AI agents is a freemium MCP server for finance and payments.
- [Crypto News Feed API](https://ai-powered.com/mcp/crypto-news-feed-api): Crypto News Feed API is a paid MCP server for finance and payments.
- [x402 Data API (Crypto, DeFi, SEC EDGAR, Search, Embeddings, Whisper, OCR)](https://ai-powered.com/mcp/x402-data-api-crypto-defi-sec-edgar-search-embeddings-whispe): x402 Data API (Crypto, DeFi, SEC EDGAR, Search, Embeddings, Whisper, OCR) is a paid MCP server for finance and payments.
- [Crypto Bot Audit + Market Data (x402 paid)](https://ai-powered.com/mcp/crypto-bot-audit-market-data-x402-paid): Crypto Bot Audit + Market Data (x402 paid) is a paid MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/x402-crypto-data-api
