x402-data-apis-mcp
MCP server providing 22 AI agent tools for crypto data, stock market data, forex rates, and web scraping — all powered by x402 micropayments on Base.
Tools Available (22 total)
Crypto Data (4 tools)
Tool | Description | Cost |
| Real-time crypto prices for 53 coins | $0.01 |
| Trading signal (BUY/HOLD/SELL) | $0.05 |
| On-chain metrics, sentiment, risk | $0.10 |
| Claude AI investment analysis | $0.25 |
Finance Data (8 tools)
Tool | Description | Cost |
| Real-time stock prices | $0.02 |
| Company profile and key stats | $0.03 |
| Latest 10 news articles | $0.05 |
| Income statement, balance sheet | $0.10 |
| Exchange rates with 5-day history | $0.01 |
| Currency conversion | $0.02 |
| Global indices, commodities, yields | $0.05 |
| Claude AI stock analysis | $0.25 |
Web Extract (10 tools)
Tool | Description | Cost |
| Clean text from any URL | $0.01 |
| Title, author, images, links | $0.02 |
| Emails, phones, social links | $0.03 |
| Text from PDF URLs | $0.03 |
| Full structured data extraction | $0.05 |
| Product price, reviews, ratings | $0.05 |
| Extract from up to 5 URLs | $0.08 |
| Compare two pages with AI | $0.08 |
| Extract and translate to any language | $0.10 |
| Claude-powered page summary | $0.15 |
Installation
Claude Desktop / Claude Code
Add to your MCP config (claude_desktop_config.json):
{
"mcpServers": {
"x402-data-apis": {
"command": "npx",
"args": ["x402-data-apis-mcp"]
}
}
}Cursor / Windsurf
Add to your MCP settings:
{
"mcpServers": {
"x402-data-apis": {
"command": "npx",
"args": ["x402-data-apis-mcp"]
}
}
}How It Works
This MCP server exposes 22 tools backed by 3 x402-powered APIs. When an AI agent calls a tool:
The MCP server forwards the request to the appropriate API
The API returns a 402 Payment Required response with USDC payment instructions
With an x402-enabled client, payment happens automatically
The API returns the data
Note: Without an x402 payment client, tools will return payment instructions showing the cost and how to pay. To enable automatic payments, use the APIs directly with @x402/fetch and a funded wallet.
Payment
All payments are in USDC on Base (eip155:8453). Prices range from $0.01 to $0.25 per request.
No API keys. No subscriptions. No accounts. Just micropayments.
Underlying APIs
API | URL |
Crypto Data | |
Finance Data | |
Web Extract |
License
MIT