Listed from the MCP registry; nobody on Odel publishes it.
Is this yours? Claim itTreasury/FRED financial data over x402: pay-per-call US yields, macro and forex in USDC on Base
One address for any MCP client. No sign-in needed on this server.
2 read
Grouped by tool name. At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Mercury402 provides pay-per-call economic data APIs for AI agents and autonomous systems. No API keys, no accounts, no rate limits—just pay in USDC on Base via the x402 protocol and get instant access to Federal Reserve data, Treasury yields, and macro indicators with cryptographic provenance.
Live at: https://api.mercury402.com
| Endpoint | Data | Price (USDC) |
|---|---|---|
GET /v1/fred/{series_id} | Any FRED economic series | $0.05 |
GET /v1/treasury/yield-curve/daily-snapshot | Current Treasury yield curve (11 maturities) | $0.05 |
GET /v1/macro/snapshot/all | Complete macro snapshot (GDP, CPI, unemployment, rates, VIX, dollar index, sentiment) | $0.05 |
POST /v1/treasury/yield-curve/historical | Historical yield curves (max 90-day range) | $0.05 |
GET /v1/treasury/auction-results/recent | Recent auction results (HQM proxy) | $0.05 |
GET /v1/treasury/tips-rates/current | Current TIPS rates (5, 7, 10, 20, 30-year) | $0.05 |
GET /v1/composite/economic-dashboard | Economic overview (GDP, CPI, unemployment) | $0.50 |
GET /v1/composite/inflation-tracker | Inflation metrics (CPI, PCE, Core CPI) | $0.40 |
GET /v1/composite/labor-market | Labor market data (unemployment, claims, payrolls) | $0.40 |
GET /v1/ai/briefing | Macro briefing (AI) | $0.10 |
POST /v1/ai/ask | Macro Q&A (AI) | $0.15 |
GET /.well-known/x402 | x402 discovery document | Free |
GET /health | Health check | Free |
GET /metrics | Revenue and usage stats | Free |
GET /openapi.json | OpenAPI 3.1 spec | Free |
GET /docs/api | Interactive Swagger UI | Free |
78 priced routes in /.well-known/x402 / src/pricing.js (FRED aliases, forex, spreads, breakeven, macro, composites, AI) plus free discovery/health/docs.
Every document below is generated from src/pricing.js (what is charged) and the route modules, so they list the same 78 paid endpoints at the same prices.
| URL | Format | For |
|---|---|---|
/.well-known/x402 | x402 v2 JSON | Payment descriptors (payTo, asset, amount) per endpoint: the payment source of truth |
/openapi.json | OpenAPI 3.1 | Code generators, API gateways, ChatGPT/agent tool importers |
/llms.txt | Plain text | LLM crawlers and agent frameworks that read the llms.txt convention |
/meta.json (or GET / with a non-HTML Accept) | JSON | Full endpoint catalog with methods, params and prices |
npx -y mercury402-mcp | MCP (stdio) | Claude Desktop, Claude Code, Cursor and other MCP clients (mcp-server/) |
curl -s https://api.mercury402.com/llms.txt
curl -s https://api.mercury402.com/meta.json | jq '.count, .endpoints[0]'
# 1. Try a free health check
curl https://api.mercury402.com/health
# 2. Attempt to access data (returns 402 Payment Required)
curl https://api.mercury402.com/v1/fred/UNRATE
# 3. Pay via an x402-compatible client and retry with payment-signature
curl -H "payment-signature: <base64_x402_payment_payload>" \
https://api.mercury402.com/v1/fred/UNRATE
See examples/ for agent integration code.
The mercury402-mcp server exposes two tools, list_endpoints and get_endpoint_data, over the same 78 endpoints.
npx -y mercury402-mcp
Claude Code:
claude mcp add mercury402 -- npx -y mercury402-mcp
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"mercury402": {
"command": "npx",
"args": ["-y", "mercury402-mcp"]
}
}
}
Hosted endpoint (free discovery mode: lists endpoints and returns 402 quotes, never pays): https://mcp.mercury402.com/mcp
Other MCP clients can run the same npx -y mercury402-mcp command over stdio. Paid mode and all configuration options: mcp-server/README.md.
402 Payment Required with Payment-Required detailspayment-signature: <base64_x402_payment_payload>Marketplace listing: https://www.x402scan.com/server/mercury402
examples/README.md✅ No API keys or accounts — Pay-per-call via USDC on Base
✅ Deterministic data — All responses include FRED series metadata and provenance signatures
✅ Cryptographic provenance — ECDSA signatures verify data authenticity
✅ Rate-limited free tier — Health and discovery endpoints always available
✅ Agent-friendly — Designed for autonomous systems and AI agents
# Clone and install
git clone https://github.com/dudman1/mercury402.git
cd mercury402
npm install
# Configure environment
cp .env.example .env
# Add your FRED_API_KEY and SERVER_PRIVATE_KEY
# Start server
npm start
Server runs on http://localhost:4020
See deployment docs for production setup.
Issues: GitHub Issues
Funding: https://api.mercury402.com
MIT
Last updated: 2026-10-08 ET | Updated by: Hermes