@dm2233/agent-data-mcp
Provides on-chain data for Ethereum, including current gas price and latest block information.
Allows verifying GitHub repository information and real repository stats.
Enables performing Google web searches to find information and results.
Allows checking an npm package's version and download statistics.
Allows checking facts by retrieving Wikipedia topic summaries.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@dm2233/agent-data-mcpwhat's the current price of bitcoin in USD?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@dm2233/agent-data-mcp
A verification and market-data companion for AI agents, over MCP. Give it a claim to check, a price to look up, or a page to read — it answers. No API key, pay-per-call in USDC on Base via x402, and safe to install with zero setup: until you fund a wallet, every call just tells you what it would have cost.
Where most tool servers hand an agent a long list of narrow endpoints and expect it to pick the right one, this one exposes five things an agent actually reaches for:
verify_fact— is this claim checkable? A Wikipedia topic, a GitHub repo's real stats, an npm package's version and downloads, a domain's DNS records, or whether a domain is actually registered.check_market— what's the number? A token's price, DeFi TVL, the best yield right now, stablecoin supply, an FX rate.check_chain— what's happening on-chain? Current gas price, the latest block, on Base or Ethereum.search_web— go find out. Google results, semantic search with an AI answer, a clean read of any page, structured extraction from a page, or what's trending on Hacker News.ai_task— do something with this text. Summarize, translate, classify, or extract structured fields.
Each tool decides internally which of the underlying paid endpoints to call based on the arguments you give it — you never need to know there are 33 of them under the hood, and you never pick a tool by memorizing a route name.
This is an independent, from-scratch MCP server: it calls the existing
x402-seller API over plain HTTP,
the same way any other client would. It shares no code with that project's
own x402-seller-mcp package (which instead exposes one tool per endpoint,
generated live from the server's discovery document) — this one is a
different, opinionated shape over the same underlying API.
Two modes
No wallet configured (default) — calling a tool fetches the endpoint it routed to, gets back the real
402 Payment Requiredchallenge, and returns a plain-language explanation (price, network, how to enable payment) instead of the actual data. Safe to try with zero setup.Wallet configured (
BUYER_PRIVATE_KEYset) — calls are paid automatically over x402 (via@x402/fetch) and return the real result plus the settlement receipt (payer address, transaction hash).
Related MCP server: x402farm-mcp
Install
npx @dm2233/agent-data-mcpThat's the whole install — nothing to clone, build, or configure to try it in explain-only mode.
Claude Desktop
Add this to your claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"agent-data": {
"command": "npx",
"args": ["-y", "@dm2233/agent-data-mcp"]
}
}
}To enable automatic payments, add an env block (see Enabling payments below):
{
"mcpServers": {
"agent-data": {
"command": "npx",
"args": ["-y", "@dm2233/agent-data-mcp"],
"env": {
"BUYER_PRIVATE_KEY": "0x..."
}
}
}
}Restart Claude Desktop after editing the config.
Cursor
Cursor uses the same mcpServers shape — add the same block to
~/.cursor/mcp.json (or your project's .cursor/mcp.json), then reload the
MCP servers from Settings → MCP.
Enabling payments
⚠️ Use a throwaway wallet, never a wallet holding significant funds. The private key you set here can sign USDC transfers on Base up to whatever price each call costs (every tool here costs between $0.005 and $0.05 per call) — but any process with the key in its environment can, in principle, use it. Generate a fresh wallet dedicated to this MCP server and fund it with a few dollars of USDC on Base, nothing more.
Generate a wallet (any EVM wallet works — e.g. with viem:
node -e "const {generatePrivateKey,privateKeyToAccount}=require('viem/accounts');const k=generatePrivateKey();console.log(k, privateKeyToAccount(k).address)", or MetaMask/any wallet app export).Send a small amount of USDC on Base (the network this server settles on) to that wallet's address — a few dollars covers hundreds of calls at these prices.
Set
BUYER_PRIVATE_KEYto that wallet's private key (the0x...-prefixed hex string) in your MCP client's config (see examples above) or in your shell environment if running the server directly.Restart the MCP server (or your MCP client). Tool calls will now pay automatically and return real results.
Configuration
Env var | Required | Default | Purpose |
| No | (unset) | EVM private key used to pay for tool calls. Unset = explain-only mode. |
| No |
| Which x402 server backs these tools — point this at a different x402-compatible server (or a local dev instance) if needed. |
The five tools, and what each one routes to
Every tool takes a small discriminant field (source, metric, mode, or
task) that picks the underlying endpoint, plus whatever arguments that
branch needs. Run tools/list against the server for the exact input schema
of each — this table is the map from "what you ask for" to "what actually
gets called":
verify_fact — $0.005 per check
| Underlying endpoint |
|
|
|
|
|
|
|
|
|
|
check_market — $0.005 per check, $0.05 for any yields metric
| Underlying endpoint |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
check_chain — $0.005 per check
| Underlying endpoint |
|
|
|
|
GET /api/chain/gas is a documented, unwired alias: its schema only ever
accepts chain=base\|ethereum, so it returns exactly the same data as the
two dedicated gas routes above and adds no reachable coverage of its own.
search_web — $0.005 (search_google, read_page, trending_hn), $0.01 (search_semantic), $0.02 (extract_from_page)
| Underlying endpoint |
|
|
|
|
|
|
|
|
|
|
ai_task — $0.01 (summarize, translate, classify), $0.02 (extract)
| Underlying endpoint |
|
|
|
|
|
|
|
|
That's all 33 endpoints of the underlying catalog, reached through 5 tools.
Related
This server wraps the same 33 x402-seller endpoints as
x402-seller-mcp (npm), but
groups them into 5 general-purpose tools instead of one tool per endpoint. If
you want the full endpoint-by-endpoint catalog — every route as its own MCP
tool, generated live from the origin's discovery document — use
x402-seller-mcp instead.
Development
git clone <this repo>
cd agent-data-mcp
npm install
node server.js # runs on stdio, waits for a clientTwo test scripts, both run by npm test:
test/routing-test.mjs— pure unit test, no network: calls every tool's internal router directly and asserts the exact URL/method/body it builds, for one case per underlying endpoint. This is the definitive proof of the tool → endpoint mapping above.test/manual-test.mjs— spawns the real server over stdio (exactly like an MCP client would) and calls each tool for real, in unpaid mode, against the live origin — free, since no wallet is configured. SetRUN_PAID_TEST=1withBUYER_PRIVATE_KEYset to also run one real paid call (~$0.005 on Base).
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Related MCP Connectors
5 pay-per-call SEO tools over MCP. Free discovery, tool calls settle in USDC on Base via x402.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
15 paid AI agent primitives via x402 (USDC on Base). Pay-per-call MCP server.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server providing 22 pay-per-call utility tools for AI agents (scrape, validate, embed, store, moderate, notify, convert, prevent loops) without accounts or API keys, using USDC payments via the x402 protocol.17841MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that provides AI agents with pay-per-call access to a suite of tools (honeypot check, token market, DeFi yields, etc.) via USDC on Base using the x402 protocol.4MIT
- AlicenseNot gradedqualityDmaintenanceMCP server providing 17 keyless, pay-per-use web-data tools with signed-provenance receipts, enabling AI agents to autonomously fetch, extract, and verify web content on Base mainnet.49MIT
- AlicenseNot gradedqualityBmaintenanceMCP server exposing 10 curated tools for AI agents, providing crypto trading signals, on-chain analysis, and web utilities via pay-per-call x402 endpoints on the Base network.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/entreprisedaney33-rgb/agent-data-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server