Skip to main content
Glama

microtap-mcp

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

{
  "mcpServers": {
    "microtap": {
      "command": "npx",
      "args": ["-y", "microtap-mcp"]
    }
  }
}

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:

[microtap-mcp] wallet address: 0xabc123...
[microtap-mcp] fund this address with a small amount of USDC on Base mainnet to pay for calls

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.

Related MCP server: agentsvc-mcp

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)

Set these as environment variables in your MCP client's server config ("env": { ... } alongside "command"/"args") if you need to override a default:

Variable

Default

Purpose

MICROTAP_MCP_PRIVATE_KEY

(auto-generated)

Bring your own EVM private key instead of the auto-generated wallet

MICROTAP_MCP_MAX_VALUE_USDC

0.10

Safety ceiling — refuses to auto-pay above this per call

MICROTAP_BASE_URL

https://x402tap.com

Override the API base URL (mainly for local dev/testing)

The auto-generated wallet's key is stored at ~/.microtap-mcp/wallet.json (created with 0600 permissions — readable only by your user).

Local development

npm install
npm run build
npm start   # runs the compiled server over stdio

Security notes

  • The wallet key is only ever used to sign payment messages locally (EIP-712 exact scheme on Base mainnet) — it's never transmitted anywhere.

  • MICROTAP_MCP_MAX_VALUE_USDC (default $0.10) means this server will refuse to auto-approve a payment above that amount for a single call, even if a route's advertised price is ever wrong or unexpectedly high.

  • All 20 tools are read-only against MicroTap's API surface — none of them can move funds, sign transactions, or write on-chain state (/api/rpc is restricted server-side to a safelist of read-only JSON-RPC methods).

License

MIT

Available Tools

20 tools
call_multichain_rpcSafelisted read-only multi-chain JSON-RPC callA
Read-onlyIdempotent

Safelisted read-only JSON-RPC proxy across Base, Ethereum, Polygon, Arbitrum, and Optimism — eth_call, eth_getBalance, eth_getTransactionReceipt, eth_blockNumber, and more. Write methods (sending transactions, signing) are never permitted. Price: $0.003 per call.

Inputs: method (required), chain, params.

find_prediction_market_divergenceCross-platform Polymarket vs. Kalshi price divergenceA
Read-onlyIdempotent

Finds prediction-market questions priced differently on Polymarket vs. Kalshi — a cross-platform divergence signal built from data no single-platform competitor has. Matches are keyword-overlap similarity, not a verified same-event guarantee; sanity-check a match before treating it as a real arbitrage signal. Price: $0.005 per call.

Inputs: q, limit, minDivergencePct.

generate_textUsage-based text generationA
Read-onlyIdempotent

Generates short text output for a prompt. Billed by output length, up to $0.05 max per call (x402 'upto' scheme — you authorize a ceiling, the actual charge is based on what's produced). Price: usage-based, max $0.05 per call.

Inputs: prompt (required).

get_crypto_market_dataRich crypto market dataA
Read-onlyIdempotent

Rich market data for one or more cryptocurrencies: rank, 24h high/low, volume, all-time high, and more. Price: $0.002 per call.

Inputs: ids (required), vs.

get_crypto_priceCrypto price, 24h change, market capB
Read-onlyIdempotent

Current price, 24h change percent, and market cap for one or more cryptocurrencies. Price: $0.001 per call.

Inputs: ids (required), vs.

get_defi_protocol_tvlDeFi protocol TVL by chainA
Read-onlyIdempotent

A DeFi protocol's current total value locked (TVL), broken out by chain, plus market cap. Data via DefiLlama. Price: $0.003 per call.

Inputs: protocol (required).

get_gas_priceCurrent gas price and EIP-1559 fee estimateA
Read-onlyIdempotent

Current gas price and EIP-1559 fee estimate for Base, Ethereum, Polygon, Arbitrum, or Optimism. Price: $0.001 per call.

Inputs: chain.

get_kalshi_marketSingle Kalshi market detailA
Read-onlyIdempotent

Full detail for a single Kalshi market by ticker: yes/no prices, volume, status, result. Price: $0.002 per call.

Inputs: ticker (required).

get_polymarket_marketSingle Polymarket market detailA
Read-onlyIdempotent

Full detail for a single Polymarket market by slug: prices, volume (24h/1wk/total), liquidity, resolution status. Price: $0.002 per call.

Inputs: slug (required).

get_protected_contentProtected demo contentA
Read-onlyIdempotent

Demo of page-level (not just API-level) x402 protection. Returns a short confirmation message. Price: $0.001 per call.

Inputs: no named parameters.

get_trend_insightsTrend insights for a topicA
Read-onlyIdempotent

Trend score, momentum, and related trends for a topic. Two tiers: standard ($0.001) returns a basic score, premium ($0.005) returns the full breakdown including related trends.

Inputs: topic (required), tier.

get_wallet_balanceNative + ERC-20 wallet balanceA
Read-onlyIdempotent

Native token balance for a wallet address, plus an optional specific ERC-20 token balance, across Base, Ethereum, Polygon, Arbitrum, or Optimism. Price: $0.002 per call.

Inputs: address (required), chain, token.

get_weatherLive current weather for a cityA
Read-onlyIdempotent

Live current weather conditions for any city (temperature, conditions, humidity, wind), sourced from Open-Meteo. Price: $0.001 per call.

Inputs: city.

ping_heartbeatCheap repeatable heartbeatA
Read-onlyIdempotent

Minimal heartbeat/ping endpoint, billed via a batch-settlement payment channel so it's cheap to call repeatedly in one session. Price: $0.001 per call.

Inputs: no named parameters.

rank_chains_by_defi_tvlRank blockchains by total DeFi TVLA
Read-onlyIdempotent

Ranks blockchains by total DeFi value locked across all protocols. Price: $0.002 per call.

Inputs: limit.

resolve_ensENS name <-> address resolutionA
Read-onlyIdempotent

Resolves an ENS name to an address, or reverse-resolves an address to its primary ENS name (Ethereum mainnet). Provide exactly one of name or address. Price: $0.002 per call.

Inputs: name, address.

search_kalshi_marketsSearch/list open Kalshi prediction marketsB
Read-onlyIdempotent

Search or list open Kalshi prediction markets (regulated US event contracts) — title, yes/no bid-ask, volume, close time. Price: $0.003 per call.

Inputs: q, limit.

search_polymarket_marketsSearch/list active Polymarket prediction marketsA
Read-onlyIdempotent

Search or list active Polymarket prediction markets, ranked by 24h volume — question, outcomes, prices, volume, liquidity, end date. Price: $0.003 per call.

Inputs: q, limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 20 tools

    Disambiguation4/5

    Each tool maps to a fairly distinct data resource or action, with search/get pairs clearly separated by platform. However, get_crypto_price vs get_crypto_market_data and call_multichain_rpc vs get_wallet_balance create a couple of overlapping choices that agents must disambiguate from descriptions.

    Naming Consistency4/5

    Most tools follow a consistent verb_noun snake_case pattern (get_, search_, generate_, resolve_). The main deviation is web_search, which reverses the verb-first convention used by the other search tools; otherwise naming is predictable.

    Tool Count3/5

    At 20 tools, the server sits in the 16-25 range that feels heavy for a coherent MCP. The count is not absurd, but the breadth is inflated by mixing weather, text generation, prediction markets, crypto, and chain-infrastructure tools under one server.

    Completeness4/5

    For a read-only data API aggregator, the major advertised areas are each represented: crypto pricing/market/trends, prediction-market search/detail/divergence, DeFi TVL, onchain balance/gas/ENS/RPC, web search, weather, and text generation. Minor gaps remain, such as historical crypto data or a token-list/discovery endpoint, but intended read-only workflows are not dead ends.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      22 MCP tools for AI agents: crypto prices and trading signals (53 coins), stock prices and company financials, forex rates and conversion, and web scraping with AI summaries. All powered by x402 USDC micropayments on Base. $0.01-$0.25 per request.
      22
      19 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      20 pay-per-call utility tools for AI agents via x402 USDC micropayments on Base. Screenshots, OCR, PDF, web scraping, weather, forex rates, crypto/stock prices, DNS, geocoding, translation, and more. $0.001–$0.008 per call. No API keys, no signup.
      127
      1
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      Provides Claude with real-time access to markets, research, X/Twitter, and crypto data via a unified pay-per-call system with no API keys.
      19
      726 npm
      391
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Pay-per-call x402 data products on Base mainnet — sanctions screening, aviation weather, mortgage rates, US property dossier, title chain, wallet balance, and agent session auth. Every call settles in USDC with an on-chain receipt, no accounts or API keys.
      7
      MIT