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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.