Skip to main content
Glama
x402-data-mcp

x402-data-mcp

x402-data-mcp

An MCP server that gives your agent 23 pay-per-call data tools: company enrichment by domain, Google News, YouTube channels, Telegram channels, Shopify and WooCommerce products, Google Play reviews, Google Trends, company job boards, website contacts, clean web pages, wallet balances, transactions, contracts, ENS, NFTs, gas, Chainlink prices, FX rates and weather.

Each call costs $0.002 to $0.02 in USDC on Base, paid with x402. No account, no API key, no subscription. Your own wallet pays; the key never leaves your machine.

Install

Claude Desktop, one click: download x402-data-mcp.mcpb from the latest release, open it, and paste your wallet key into the extension settings.

Claude Code:

claude mcp add x402-data -e X402_PRIVATE_KEY=0xYOUR_BASE_WALLET_KEY -- npx -y github:ucsandman/x402-data-mcp

Claude Desktop (claude_desktop_config.json) or Cursor (~/.cursor/mcp.json):

{
  "mcpServers": {
    "x402-data": {
      "command": "npx",
      "args": ["-y", "github:ucsandman/x402-data-mcp"],
      "env": { "X402_PRIVATE_KEY": "0xYOUR_BASE_WALLET_KEY" }
    }
  }
}

Without X402_PRIVATE_KEY the server still starts: list_tools_and_prices works and every paid tool answers with its price and setup steps instead of data. Use a separate wallet that holds only a few dollars of USDC on Base.

env var

default

meaning

X402_PRIVATE_KEY

unset

private key of your Base wallet; signs one USDC payment per paid call

X402_MAX_USD

0.05

highest price the server will pay for one call

Related MCP server: Genesis402

Tools

list_tools_and_prices is free. Every other tool is one paid HTTP route; the price is in its description.

tool

price

returns

required

get_balances

$0.002

Wallet balances on five EVM chains

address

get_transaction

$0.002

Transaction status and receipt by hash, chain auto-detected

hash

inspect_contract

$0.002

Is it a contract, a proxy or a token, on five chains

address

resolve_ens

$0.003

ENS / Basename to address, or address to primary name

(none)

get_company_jobs

$0.004

Open jobs at one company, from its applicant tracking system

board

get_website_contacts

$0.003

Emails, phones and social profiles from a company website

url

enrich_company

$0.01

Company enrichment by domain: firmographics, contacts, socials, tech stack, email setup and domain age in one call

domain

get_google_trends

$0.02

Google Trends for up to 5 keywords: over time, by region, related

keyword

search_google_news

$0.003

Google News articles for any search or topic, with publisher URLs

(none)

get_youtube_channel_videos

$0.003

A YouTube channel's latest videos, shorts or streams with views, likes, dates and subscriber count

channel

get_telegram_channel_posts

$0.004

Recent posts from a public Telegram channel: text, views, reactions, media, links

channel

get_store_products

$0.003

Products, prices, stock and variants from any Shopify or WooCommerce store by domain

url

get_google_play_app

$0.009

Google Play app details and up to 100 reviews by package id or link

app

get_chain_head

$0.003

Latest block and its age on five EVM chains

(none)

get_gas_prices

$0.003

Gas tiers and transfer cost in USD on five EVM chains, cheapest first

(none)

get_nft_holdings

$0.002

Token ids an address holds in one ERC-721 collection

owner, contract

get_nft_metadata

$0.002

Resolved metadata JSON, image and attributes for any ERC-721 or ERC-1155 token

contract, tokenId

get_nft_owner

$0.003

Current owner of an ERC-721 token

contract, tokenId

get_erc1155_balance

$0.003

ERC-1155 balances of an address for up to 50 token ids

owner, contract, ids

get_crypto_prices

$0.003

Live Chainlink oracle prices for up to 20 crypto assets in USD

symbols

read_web_page

$0.003

Fetch a public web page and return clean markdown or plain text with its title and metadata

url

get_weather

$0.003

Current weather and a 3-day forecast for a place name or latitude and longitude

(none)

get_exchange_rates

$0.003

Latest or historic ECB reference exchange rates with optional amount conversion

(none)

The routes are served by Data for Agents and x402 Toolbox; each has a docs page, /openapi.json and /llms.txt.

How payment works

  1. The tool sends a normal GET to the route. The route answers HTTP 402 with its price.

  2. The server checks the request against its own catalog: exact amount, USDC on Base, the listed receiving wallet. Anything else is refused and nothing is signed.

  3. It signs one USDC transfer authorization for that amount with your key (@x402/fetch, @x402/evm) and retries.

  4. You are charged only when the route answers with data. Bad input (400), not found (404) and upstream errors (502) are not charged.

Develop

npm install
npm test            # offline: MCP surface, payment signing against a fake 402, refusal cases
npm run test:live   # unpaid GETs to the live routes: each must answer 402 at the catalog price
npm run sync        # regenerate src/catalog.ts from the live openapi.json files
npm run build
npm run mcpb        # build x402-data-mcp.mcpb for a release

MIT license.

Available Tools

24 tools
enrich_companyCompany enrichment by domain: firmographics, contacts, socials, tech stack, email setup and domain age in one call ($0.01)A

Company enrichment by domain: pass stripe.com, get name, legal name, description, logo, industry, employees, founded, HQ, country, stock tickers, LEI, role emails, phones, address, socials, tech stack, email provider, SPF/DMARC, verified SaaS, registrar and domain age. Keyless public sources: the company's site, Wikidata, DNS, RDAP. Not charged on 404/502. Price: $0.01 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: domain (required).

get_balancesWallet balances on five EVM chains ($0.002)A

Wallet balances across Base, Ethereum, Arbitrum, Optimism and Polygon in one call: native coin, USDC, USDT, DAI and up to 10 extra ERC-20 tokens, read live via Multicall3 with RPC failover. Per-chain status; not charged if every chain fails. No API key. Price: $0.002 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: address (required), chains, tokens.

get_chain_headLatest block and its age on five EVM chains ($0.003)A

Latest block on Base, Ethereum, Arbitrum, Optimism and Polygon in one call: number, hash, timestamp, age in seconds, transaction count, gas used and limit, base fee. Read live with RPC failover; per-chain status. Not charged for bad input or when every chain fails. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: chains.

get_company_jobsOpen jobs at one company, from its applicant tracking system ($0.004)A

Open jobs at one company, read live from its public job board: Greenhouse, Lever, Ashby, Workday, SmartRecruiters, Workable or Recruitee. Pass the board URL, the company careers page (the board is found for you) or greenhouse:airbnb. One schema: title, location, remote, department, salary where posted, dates, apply URL. Optional filters and descriptions. Not charged if the board is not found (404) or down (502). Price: $0.004 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: board (required), limit, title, remote, +4 more.

get_crypto_pricesLive Chainlink oracle prices for up to 20 crypto assets in USD ($0.003)A

Live USD prices for BTC, ETH, LINK, SOL, USDC and ~20 more, read straight from Chainlink aggregator contracts on Ethereum: price, decimals, round id, last update time and age in seconds. Not charged for bad input, an unsupported symbol, or when every feed read fails. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: symbols (required), quote.

get_erc1155_balanceERC-1155 balances of an address for up to 50 token ids ($0.003)A

ERC-1155 balances of one address for 1-50 token ids of a single contract, read in one batched call on Base, Ethereum, Arbitrum, Optimism or Polygon. Returns per-id balance and the total. Not charged for bad input, a contract that is not ERC-1155, or a chain outage. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: ids (required), owner (required), contract (required), chain.

get_exchange_ratesLatest or historic ECB reference exchange rates with optional amount conversion ($0.003)A

European Central Bank reference rates: latest or any date since 1999-01-04, any base, optional symbols list and amount to convert. About 30 currencies, published once per working day. Returns the publication date actually used. Not charged on bad input, no data for the date, or upstream failure. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: base, date, amount, symbols.

get_gas_pricesGas tiers and transfer cost in USD on five EVM chains, cheapest first ($0.003)A

Gas oracle for Base, Ethereum, Arbitrum, Optimism and Polygon: next base fee, slow, standard and fast priority-fee tiers (median of the last 10 blocks), max fee per gas, and the cost of a 21000-gas transfer in native coin and USD via Chainlink. Sorted cheapest first. Not charged for bad input or when every chain fails. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: chains.

get_google_play_appGoogle Play app details and up to 100 reviews by package id or link ($0.009)A

Google Play app details plus reviews in one call: title, developer, rating, rating histogram, installs, price, genre, content rating, version, description, screenshots, and up to 100 reviews (newest, most relevant or by rating, filter by stars) with developer replies. Any country and language. Contact details are redacted. Not charged on 404/502. Price: $0.009 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: app (required), lang, sort, stars, +2 more.

get_nft_holdingsToken ids an address holds in one ERC-721 collection ($0.002)A

Lists the token ids an address holds in one ERC-721 collection (up to 200), with balance, collection name and symbol, read live on Base, Ethereum, Arbitrum, Optimism or Polygon. Needs an ERC721Enumerable contract. Not charged for bad input, a non-enumerable contract, a non-ERC-721 address or a chain outage. No API key. Price: $0.002 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: owner (required), contract (required), chain, limit.

get_nft_metadataResolved metadata JSON, image and attributes for any ERC-721 or ERC-1155 token ($0.002)A

Resolves an NFT to its metadata in one call: reads tokenURI or uri on-chain, fetches ipfs, arweave, data and http URIs (SSRF-safe), and returns name, description, image gateway URL, attributes, owner and collection name. ERC-721 and ERC-1155. Not charged for bad input, a missing token, an unreachable metadata URL or a chain outage. No API key. Price: $0.002 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: tokenId (required), contract (required), chain.

get_nft_ownerCurrent owner of an ERC-721 token ($0.003)A

Current owner of one ERC-721 token, checksummed, with collection name, symbol and tokenURI, read live on Base, Ethereum, Arbitrum, Optimism or Polygon. Not charged for bad input, a token that does not exist or a contract that is not ERC-721, or a chain outage. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: tokenId (required), contract (required), chain.

get_store_productsProducts, prices, stock and variants from any Shopify or WooCommerce store by domain ($0.003)A

Pass a store domain, get its public catalog as clean rows: title, vendor, type, tags, price range, compare-at price, sale and stock flags, variants, images and a 1000-character description. Works on Shopify and WooCommerce shops, detected automatically. Optional keyword filter, up to 250 products per call. Not charged on 400, 404 or 502. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: url (required), limit, query.

get_telegram_channel_postsRecent posts from a public Telegram channel: text, views, reactions, media, links ($0.004)A

Recent posts from any public Telegram channel (t.me/s web preview), newest first: text, date, views, reactions, forwarded-from, reply, author, media (photo, video, poll, file), links, hashtags, mentions, plus channel title, description and subscriber count. Filter by keyword or age. Emails and phone numbers are removed. Not charged on 404/502. Price: $0.004 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: channel (required), limit, keyword, postedWithinDays.

get_transactionTransaction status and receipt by hash, chain auto-detected ($0.002)A

Transaction status by hash on Base, Ethereum, Arbitrum, Optimism and Polygon; the chain is found for you. Returns success, reverted or pending, block, confirmations, timestamp, from, to, value, fee (L1 fee included on OP chains), created contract and log count. Full history via archive RPCs. Not charged when the hash is not found (404) or every chain fails (502). No API key. Price: $0.002 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: hash (required), chains.

get_weatherCurrent weather and a 3-day forecast for a place name or latitude and longitude ($0.003)A

Current conditions (temperature, humidity, wind, cloud, pressure, rain next hour) and a 3-day daily forecast for a place name or lat/lon anywhere. Metric or imperial units. Data from MET Norway, geocoding from OpenStreetMap. Not charged on bad input, unknown place or upstream failure. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: lat, lon, place, units.

get_website_contactsEmails, phones and social profiles from a company website ($0.003)A

Emails, phone numbers and social profiles (LinkedIn, X, Facebook, Instagram, YouTube, TikTok, GitHub and more) from a company's own website. Pass one domain or URL: it reads the homepage and up to 4 contact, about and imprint pages, decodes obfuscated emails, reads schema.org data, and adds company name, description and address. Not charged when nothing is found (404) or the site is unreachable (502). Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: url (required).

get_youtube_channel_videosA YouTube channel's latest videos, shorts or streams with views, likes, dates and subscriber count ($0.003)A

A YouTube channel's latest videos, shorts or live streams: title, views, likes, publish date, duration, description and thumbnail, plus channel id, handle, subscribers and video count. Pass @handle, channel URL or UC id; up to 100 videos, optional publishedWithinDays. No API key or quota. Not charged on 400, 404 or 502. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: channel (required), type, limit, publishedWithinDays.

inspect_contractIs it a contract, a proxy or a token, on five chains ($0.002)A

Inspect any address on Base, Ethereum, Arbitrum, Optimism and Polygon in one call: wallet or contract, bytecode size and hash, EIP-7702 delegation, proxy type and implementation/admin/beacon (EIP-1967, beacon, EIP-1167 clones, legacy ZeppelinOS such as USDC), and token standard with on-chain name, symbol, decimals and total supply (ERC-20, ERC-721, ERC-1155). Not charged if every chain fails. No API key. Price: $0.002 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: address (required), chains.

list_tools_and_pricesList paid data tools and prices (free)A
Read-only

Free. Lists every paid tool in this server with its price in USDC, what it returns and its x402 endpoint, and whether a payment wallet is configured.

Inputs: no named parameters.

read_web_pageFetch a public web page and return clean markdown or plain text with its title and metadata ($0.003)A

Fetch a public http(s) page and return clean markdown or plain text plus title, description, canonical, language, og:image, word and link counts. Honours robots.txt. Social networks, Amazon and Google are refused. Not charged on bad input, 404, blocked URL, robots disallow, unsupported content type or upstream failure. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: url (required), format, maxChars.

resolve_ensENS / Basename to address, or address to primary name ($0.003)A

Resolve an ENS name or a Base Basename (name.base.eth) to its address, or an address to its verified primary name, on-chain through the ENS Universal Resolver with CCIP-Read. Pass name or address. Not charged when nothing resolves (404) or the chain fails (502). No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: name, address.

search_google_newsGoogle News articles for any search or topic, with publisher URLs ($0.003)A

Google News for any search, topic, publication or region: headline, publisher, publisher article URL (decoded from the Google News link), publish time and related coverage, newest first. Any country edition and language, time range (1h to 1y) or exact dates. Up to 100 articles. Not charged when there are no articles (404) or Google News is down (502). Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).

Inputs: q, to, url, from, +5 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 24 tools

    Disambiguation4/5

    Most tools target a clearly distinct resource+action (balances vs. transaction vs. contract inspect vs. gas vs. chain head), so an agent can pick confidently. The main overlap is get_website_contacts vs. enrich_company, which both take a domain and return emails/phones/socials, and the NFT family (holdings/metadata/owner/erc1155 balance) requires reading descriptions closely to separate ERC-721 from ERC-1155 cases.

    Naming Consistency5/5

    Every name is snake_case with a leading verb (get_, list_, search_, inspect_, resolve_, enrich_, read_) followed by the resource. Verb variation is meaningful rather than arbitrary, and no naming style is mixed.

    Tool Count3/5

    24 tools sits at the heavy end of the acceptable band, and the surface splits into two loosely related halves (on-chain crypto data vs. web-scraping data), making the set feel like a marketplace catalog rather than one coherent server. Each tool is individually justified as a paid endpoint, but the total is more than an agent can comfortably scan.

    Completeness4/5

    Coverage is broad with no obvious dead ends: wallet/balances, tx status, contract inspection, ENS, gas, chain head, NFT reads, prices, plus a large web-data wing. Gaps are minor (no block-by-number/timestamp lookup, no token transfer history, no general web search, no address transaction list), and agents can work around them via get_transaction or read_web_page.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to fetch crypto market and on-chain data, including prices across venues, token facts, OHLC candles, market overview, DeFi TVL, and wallet balances, with two free tools and the rest paid per call in USDC on Base via x402.
      8
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Pay-per-call data and tools for AI agents over x402, by UnyKorn. 360 endpoints: DeFi and market data, multi-chain wallet reads, wallet and token risk signals, SEC filings, web and domain intel, and AI text tools. Settled per call in USDC on Base ($0.001-$0.25). No API keys or subscriptions; unpaid calls return the exact quote first.
      21
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to call 50+ pay-per-request tools covering onchain and crypto data, web research, security, compliance screening, business intelligence, and infrastructure checks. Payments settle per call in USDC on Base through the x402 protocol with no accounts, API keys, or subscriptions, and the first call is free for new wallets.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to call pay-per-request AI and web tools—including web-to-Markdown reading, PDF extraction, translation, compliance lookups, domain/email/Solana data, and prediction-market intelligence—without accounts or API keys, settling each call in USDC via x402 on Base, Solana, or Arc.
      MIT