serp402
v1.0.0Google search for agents: web, news, images, places, shopping, Scholar.
Give an agent a Google search it pays for itself — per call, in USDC, over x402. No API key. No account. No subscription. The agent's wallet is the account. Claude Desktop / Claude Code / Cursor — add to your MCP config: Fund that wallet with a few dollars of USDC on Base. You need no ETH: the facilitator pays the gas. SERP402_MAX_SPEND_USD is a hard ceiling per session — the agent cannot be talked past it.
Summary extracted from the README.
serp402-mcp
Give an agent a Google search it pays for itself — per call, in USDC, over x402. No API key. No account. No subscription. The agent's wallet is the account.
USD 0.005 per search
Tools
| Tool | Cost | What it does |
|---|---|---|
serp402_search |
USD 0.005 | A Google search: web, news, images, videos, places, shopping or Scholar |
serp402_info |
free | Price, search types, networks, wallet status, spend so far |
Install
Claude Desktop / Claude Code / Cursor — add to your MCP config:
{
"mcpServers": {
"serp402": {
"command": "npx",
"args": ["-y", "serp402-mcp"],
"env": {
"SERP402_EVM_PRIVATE_KEY": "0x… a key holding USDC on Base",
"SERP402_MAX_SPEND_USD": "1.00"
}
}
}
}
Fund that wallet with a few dollars of USDC on Base. You need no ETH: the facilitator pays the
gas. SERP402_MAX_SPEND_USD is a hard ceiling per session — the agent cannot be talked past it.
SERP402_SOLANA_PRIVATE_KEY works instead, if your USDC lives on Solana.
What comes back
Every search type returns the same shape, so there is one thing to parse:
{ "position": 1, "title": "…", "url": "https://…", "site": "example.com",
"snippet": "…", "publishedAt": "2026-09-27", "publishedLabel": "3 days ago",
"extra": { "source": "CoinMarketCap" } }
plus Google's direct answer and knowledge-panel facts when it has them, and related queries.
extra carries what that type has: price and seller for shopping, address, rating and coordinates
for places, publication and citations for Scholar, duration and channel for videos.
Arguments: query, type, country, language, location, freshness (day|week|month|year),
num (≤10), page.
You are charged only when it answers
The payment is verified, the search runs, and settlement happens last. If the upstream fails, or the search finds nothing at all, the payment is cancelled and the error says so.
Where the data comes from
Google search results retrieved through Serper. Serper is not affiliated with
or endorsed by Google. Trademarks and copyright remain with their owners. Every response carries an
attribution object — keep it with the results if you pass them on.
MIT · serp402.com