agent-utils-mcp
Provides six general-purpose utilities (geocoding, reverse geocoding, weather, web search, URL-to-Markdown, secure random) as paid MCP tools, with each call costing $0.01 USDC on Base mainnet.
README
agent-utils-mcp
Six general-purpose utilities for AI agents, exposed as MCP tools and paid $0.01 USDC per call on Base mainnet via x402.
| tool | what it does |
|---|---|
geocode |
address or place name → coordinates, with ranked candidates |
reverse_geocode |
coordinates → street address |
weather |
current conditions + up to a 7-day forecast for any coordinates |
web_search |
free-text query → ranked organic results (no ads) |
url_to_markdown |
article or PDF URL → clean Markdown |
secure_random |
CSPRNG bytes, or uniform integers in a range |
You supply the wallet. This package ships no keys.
The server signs each payment with a key it reads from its own env, which you set in your MCP client's config. Nothing is bundled, and no key is ever sent anywhere except as an EIP-3009 signature to the x402 facilitator.
- Fund a wallet with a few dollars of USDC on Base.
- It needs zero ETH — payments use
transferWithAuthorizationand the facilitator broadcasts and pays the gas. - Use a low-balance, disposable wallet. The key sits in your client config in plaintext; any process that can read that file can spend from it.
Install
{
"mcpServers": {
"agent-utils": {
"command": "npx",
"args": ["-y", "agent-utils-mcp"],
"env": {
"EVM_PRIVATE_KEY": "0xyour_disposable_base_wallet_key"
}
}
}
}
Tools list fine without a key — you can inspect what is on offer before funding anything. The first paid call is where a missing key is reported.
What each call returns
Every tool returns the upstream JSON plus, on a successful payment, the settlement transaction hash:
(paid $0.01 USDC — settle tx 0xb2397b96…)
That is deliberate: you can verify on Basescan that you were charged once, for what you got, rather than taking the server's word for it.
Design notes
These six were not chosen by guesswork. They are the categories that USDC receipts across 1,062 x402 seller wallets showed agents actually pay for — geocoding (56 payers), weather (21), article/PDF→Markdown (7), randomness (6), web search (6).
The upstreams follow two rules worth knowing as a caller:
- A missing value is
nullwith a reason, never a plausible-looking number. Weather reports no reading rather than zero; reverse-geocode says "ocean or unmapped" rather than inventing an address. - The limits of an answer are stated in the answer. Forecast rows are
labelled model output; search says results are unverified and that its ranking
is DuckDuckGo's;
web_search'scountis a maximum, not a promise, because a result whose destination cannot be resolved is dropped rather than guessed at.
url_to_markdown refuses private, loopback, link-local and cloud-metadata
addresses, and re-validates every redirect hop — it fetches caller-supplied URLs
from inside a private network, so that guard is not optional.
Licence
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.