Back to Browse

X402 Data MCP Server

Developer ToolsModerate6.4MCP RegistryLocal
Free

Server data from the Official MCP Registry

Company enrichment, Google News, YouTube, Telegram, store products + 18 more, paid per call via x402

About

Company enrichment, Google News, YouTube, Telegram, store products + 18 more, paid per call via x402

Security Report

6.4
Moderate6.4Moderate Risk

This MCP server wraps 23 pay-per-call data tools and signs USDC payments on Base with a private key read from X402_PRIVATE_KEY. Its network access and key use match its stated purpose, and the code shows no exfiltration, shell execution, or hardcoded secrets. The main concerns are that the payment-target allowlist described in the README is enforced in pay.ts, which was not provided, and that the server runs from an unpinned GitHub install with a high-value signing key in its environment. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity).

5 files analyzed · 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Private key of your own Base wallet holding a little USDC. Stays local; signs one exact-price payment per paid call. Without it, tools return the price instead of data.Required

Environment variable: X402_PRIVATE_KEY

Highest price in USD the server may pay for one call (default 0.05).Optional

Environment variable: X402_MAX_USD

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

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 vardefaultmeaning
X402_PRIVATE_KEYunsetprivate key of your Base wallet; signs one USDC payment per paid call
X402_MAX_USD0.05highest price the server will pay for one call

Tools

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

toolpricereturnsrequired
get_balances$0.002Wallet balances on five EVM chainsaddress
get_transaction$0.002Transaction status and receipt by hash, chain auto-detectedhash
inspect_contract$0.002Is it a contract, a proxy or a token, on five chainsaddress
resolve_ens$0.003ENS / Basename to address, or address to primary name(none)
get_company_jobs$0.004Open jobs at one company, from its applicant tracking systemboard
get_website_contacts$0.003Emails, phones and social profiles from a company websiteurl
enrich_company$0.01Company enrichment by domain: firmographics, contacts, socials, tech stack, email setup and domain age in one calldomain
get_google_trends$0.02Google Trends for up to 5 keywords: over time, by region, relatedkeyword
search_google_news$0.003Google News articles for any search or topic, with publisher URLs(none)
get_youtube_channel_videos$0.003A YouTube channel's latest videos, shorts or streams with views, likes, dates and subscriber countchannel
get_telegram_channel_posts$0.004Recent posts from a public Telegram channel: text, views, reactions, media, linkschannel
get_store_products$0.003Products, prices, stock and variants from any Shopify or WooCommerce store by domainurl
get_google_play_app$0.009Google Play app details and up to 100 reviews by package id or linkapp
get_chain_head$0.003Latest block and its age on five EVM chains(none)
get_gas_prices$0.003Gas tiers and transfer cost in USD on five EVM chains, cheapest first(none)
get_nft_holdings$0.002Token ids an address holds in one ERC-721 collectionowner, contract
get_nft_metadata$0.002Resolved metadata JSON, image and attributes for any ERC-721 or ERC-1155 tokencontract, tokenId
get_nft_owner$0.003Current owner of an ERC-721 tokencontract, tokenId
get_erc1155_balance$0.003ERC-1155 balances of an address for up to 50 token idsowner, contract, ids
get_crypto_prices$0.003Live Chainlink oracle prices for up to 20 crypto assets in USDsymbols
read_web_page$0.003Fetch a public web page and return clean markdown or plain text with its title and metadataurl
get_weather$0.003Current weather and a 3-day forecast for a place name or latitude and longitude(none)
get_exchange_rates$0.003Latest 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.

Reviews

No reviews yet

Be the first to review this server!