microtap-mcp
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
An MCP server for MicroTap — 20 pay-per-call APIs (Polymarket & Kalshi prediction markets, cross-platform prediction-market divergence, DeFi/crypto data, multi-chain on-chain reads, live weather, real-time web search) paid for automatically in USDC via the x402 protocol. No signup, no API key, no dashboard — install it, fund a small local wallet, and your AI assistant can start calling paid endpoints on its own.
Quick start
Add it to your MCP client's config. On first run it auto-generates a local EVM wallet — you don't need to create one yourself.
Claude Desktop / Claude Code
Cursor / Windsurf
Same config shape — add the block above under whichever mcpServers config file your client uses.
After adding it, restart your client, then look at the server's startup log (in Claude Desktop: Settings → Developer → microtap → logs) for a line like:
Send a few dollars of USDC on **Base mainnet** to that address — at $0.01 per call for most tools (up to $0.05), $5 covers a few hundred calls. Your assistant can now use any of the 20 tools below; each one pays for itself automatically.
What it does
Every tool call:
1. Calls the matching route on x402tap.com.
2. If the server responds 402 Payment Required (it always does, the first time), signs a USDC payment for the exact amount requested using the wallet's private key — entirely locally, nothing is sent anywhere except the signed payment itself.
3. Retries the request with the payment attached and returns the real response.
The private key never leaves your machine. It isn't sent to MicroTap, an LLM provider, or anywhere else — it only signs payment messages locally, the same non-custodial pattern used by other x402 MCP servers in this ecosystem (e.g. BlockRun's).
Tools
| Tool | Route | Price |
|---|---|---|
| get_protected_content | /protected | $0.01 |
| get_weather | /api/weather | $0.01 |
| generate_text | /api/generate | usage-based, max $0.05 |
| get_trend_insights | /api/insights | $0.01–$0.025 |
| ping_heartbeat | /api/ping | $0.001 |
| search_polymarket_markets | /api/polymarket-markets | $0.01 |
| get_polymarket_market | /api/polymarket-market | $0.01 |
| search_kalshi_markets | /api/kalshi-markets | $0.01 |
| get_kalshi_market | /api/kalshi-market | $0.01 |
| find_prediction_market_divergence | /api/prediction-arb | $0.05 |
| get_defi_protocol_tvl | /api/defi-tvl | $0.01 |
| rank_chains_by_defi_tvl | /api/defi-chains | $0.01 |
| get_crypto_price | /api/crypto-price | $0.01 |
| get_crypto_market_data | /api/crypto-market | $0.01 |
| get_crypto_trending | /api/crypto-trending | $0.01 |
| web_search | /api/web-search | $0.015 |
| call_multichain_rpc | /api/rpc | $0.01 |
| get_wallet_balance | /api/wallet-balance | $0.01 |
| get_gas_price | /api/gas-price | $0.01 |
| resolve_ens | /api/ens-resolve | $0.01 |
Full parameter docs for each route: x402tap.com/openapi.json.
Configuration (all optional)