agentsvc-mcp
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.
README
agentsvc-mcp
agentsvc.io MCP Server — gives AI agents access to 20 pay-per-call utility services via the x402 micropayment protocol. Agents pay automatically in USDC on Base mainnet — no accounts, no API keys, no subscriptions.
What this is
A single MCP server that exposes 20 useful tools to any MCP-compatible AI agent. Each tool call costs $0.001–$0.008 USDC, paid automatically from your agent's wallet.
Available Tools (20)
| Tool | Cost | What it does |
|---|---|---|
ip_lookup |
$0.001 | IP address → country, city, ISP, ASN, timezone |
dns_lookup |
$0.001 | Domain → DNS records (A, AAAA, MX, TXT, CNAME, NS) |
qr_code |
$0.001 | Text/URL → QR code (base64 PNG) |
exchange_rates |
$0.001 | Live forex rates from ECB (30+ currencies, hourly) |
email_validate |
$0.001 | Email → format + MX + disposable check |
ssl_check |
$0.001 | Domain SSL cert → issuer, expiry, days remaining |
phone_validate |
$0.001 | Phone number → E.164 format, country, line type |
weather |
$0.002 | City/GPS → current weather + 3-day forecast |
translate |
$0.002 | Text → translated text (100+ languages) |
whois |
$0.002 | Domain → registrar, created/expires, nameservers |
crypto_prices |
$0.002 | Crypto IDs → live price, market cap, 24h change |
stock_prices |
$0.002 | Ticker symbols → price, P/E ratio, 52w range |
geocode |
$0.002 | Address → lat/lon or lat/lon → address |
web_search |
$0.003 | Query → factual summary + links (DuckDuckGo + Wikipedia) |
news_search |
$0.003 | Query → recent news articles (HackerNews + BBC) |
pdf_extract |
$0.004 | PDF (base64) → full text + per-page breakdown |
screenshot |
$0.005 | URL → PNG screenshot (base64, full JS rendering) |
webpage_reader |
$0.006 | URL → clean readable text + title + links |
html_to_pdf |
$0.008 | URL or HTML → PDF (base64) |
ocr |
$0.008 | Image (base64) → extracted text (40+ languages) |
Installation
Requirements
- Node.js 18+
npm install viem x402(for payment signing)- A wallet private key with USDC on Base mainnet
Claude Desktop
curl -O https://agentsvc.io/mcp-server.mjs
npm install viem x402
Add to claude_desktop_config.json:
{
"mcpServers": {
"agentsvc": {
"command": "node",
"args": ["/path/to/mcp-server.mjs"],
"env": {
"X402_PRIVATE_KEY": "0x..."
}
}
}
}
Any MCP-compatible agent
The MCP server auto-discovers all 20 tools from the live catalog at startup. Tools are dynamically loaded — new services appear automatically without updating the server.
How payments work
Each tool call uses the x402 protocol:
- Agent calls a tool
- Server probes the service (HTTP 402 response with payment requirements)
- MCP server signs USDC payment on Base mainnet using your private key
- Service executes and returns result
Payments are atomic per call — you only pay when a call succeeds. The wallet needs USDC on Base mainnet.
Get USDC on Base:
- Bridge from Ethereum: bridge.base.org
- Buy on Coinbase → withdraw to Base
- Swap on Uniswap/Aerodrome (Base)
Cost examples
| Usage | Daily cost |
|---|---|
| 100 calls/day (avg $0.003) | $0.30 |
| 1,000 calls/day | $3.00 |
| 10,000 calls/day | $30.00 |
REST API
All tools are also available as a direct REST API without MCP:
# Step 1: probe (get payment requirements)
curl -X POST https://agentsvc.io/api/v1/proxy/ip-lookup \
-H "Content-Type: application/json" \
-d '{"ip": "8.8.8.8"}'
# → HTTP 402 with accepts[] payment requirements
# Step 2: sign + retry with X-Payment header
# See: https://agentsvc.io/docs
Endpoints:
GET /api/v1/services— full catalog with schemas + pricesGET /api/openapi.json— OpenAPI 3.1 specGET /.well-known/agent-services.json— machine-readable manifest
Links
- Live: agentsvc.io
- MCP Server download: agentsvc.io/mcp-server.mjs
- Service catalog: agentsvc.io/api/v1/services
- OpenAPI spec: agentsvc.io/api/openapi.json
- Agent manifest: agentsvc.io/.well-known/agent-services.json
- Docs: agentsvc.io/docs
Payment details
- Protocol: x402 exact scheme
- Network: Base mainnet (chain ID: 8453)
- Currency: USDC
- USDC contract:
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 - Atomic units: 1 USDC = 1,000,000 units
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。