AgentSearch MCP server: web search, extract and render
The AgentSearch MCP server, npx -y @agentsearchhq/agentsearch-mcp, gives Claude Desktop, Cursor, VS Code, Windsurf and any stdio MCP host three web tools: search, URL-to-markdown extract and headless render. Search is free with no key (25 searches per IP in total, then pay per call, shared daily capacity), extract costs $0.002 per call in USDC on Base via native x402, paid straight to AgentSearch, and render is priced on the pricing page.
Install
Paste one block, restart your client, and web search works. No key or wallet needed.
Claude Desktop (claude_desktop_config.json) or Cursor (.cursor/mcp.json)
Restart the client after saving. Node.js 20 or later is required. Claude Desktop config lives at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. One-click: Add to Cursor / Install in VS Code, or skip the install with the hosted MCP.
Connect by URL (hosted MCP, one click)
No install, no Node, no wallet, no sign-in. Point any MCP client that supports Streamable HTTP at the hosted free endpoint: https://relay.agentsearchhq.com/mcp
1. Open Connectors (Customize > Connectors).
2. Select Add, then Add custom connector.
3. Name: AgentSearch
Remote MCP server URL: https://relay.agentsearchhq.com/mcp
Click Continue.
4. Authentication: No sign-in. Click Add.
Works on Free (1 custom connector), Pro, Max, Ultra,
Team and Enterprise (an Owner adds it).
ChatGPT (custom MCP server, web)
1. Go to chatgpt.com/plugins.
2. Select +, then Add custom MCP server.
3. Name: AgentSearch
Server URL: https://relay.agentsearchhq.com/mcp
4. Authentication: No authentication.
5. Accept the risk warning, select Create as a plugin,
install it, then type @ in a chat to use it.
(Plan and workspace permissions decide availability.)
Claude Code
claude mcp add --transport http agentsearch https://relay.agentsearchhq.com/mcp
The hosted endpoint serves all six tools on their free allowances: agentsearch_web_search (25 free searches per IP in total, then pay per call), agentsearch_news_search, agentsearch_search_and_read and agentsearch_screenshot (10 free calls per IP in total each), and the no-wallet trials of agentsearch_extract (5/day per IP) and agentsearch_render (3/day per IP). These are the same per-IP limits as the free relay, shared with it. No OAuth: if a client asks, choose no authentication. For paid, higher-volume use, run the stdio package above with a wallet or call the x402 API directly. Calling AgentSearch from your own code? See Use AgentSearch from your own agent.
Tools
Tool
Free with no config?
What it does
agentsearch_web_search
Yes, 25 searches per IP in total, then pay per call
Live web search: up to 5 results (title, url, content, score, domain, date). Args: query, optional max_results 1–5. Web Search API
agentsearch_extract
No, $0.002 per call (direct x402)
A URL to clean markdown or text with title, links and meta. Args: url, optional formats, max_chars. Web Extract API
Check which services work right now for a task, and post a short review after use (AgentSearch Review Board).
Free vs paid
Default
Nothing set: free search
Search is free with no key. Free tier: 25 searches per IP in total, then pay per call, no key needed (shared daily capacity; paid calls have no cap). From 1.4.0, Extract and Render use the free trial: 5 extract and 3 render calls/day per IP, no screenshots (see Extract and Render). Past it they point to wallet setup. Set AGENTSEARCH_FREE_TRIAL=0 to turn the trial off. Typical loop once a wallet is set: free search, then extract the 1–2 best URLs ($0.002 each on the direct x402 API; $1 covers about 500 page reads).
Paid
AGENTSEARCH_WALLET_PRIVATE_KEY set
Since 1.6.0, Extract and Render pay AgentSearch's own x402 API on Base (https://api.agentsearchhq.com) in USDC (Extract $0.002 per call; Render on the pricing page), charged only on a successful answer. From agentsearch-mcp 1.9.0 (release pending), a wallet makes agentsearch_web_search paid too ($0.003 per call, no daily cap); set AGENTSEARCH_MODE=free to keep search on the free tier. On 1.8.x, search stays free unless you set AGENTSEARCH_MODE=paid. Every search result says which mode it used (agentsearch_mode). Already have an x402 wallet? Set AGENTSEARCH_WALLET_FILE to its key file instead of pasting a key (AGENTSEARCH_WALLET_FILE=agentcash reuses AgentCash's ~/.agentcash/wallet.json). Add AGENTSEARCH_PAYMENT_ROUTE=pocket to pay $0.005 through the Pocket Network Agentic Portal instead. No account, API key or ETH for gas. Use a new wallet holding only what you are willing to spend.
Limits
Spending caps checked before signing
Never more than $0.005 per call ($0.005 on the Pocket route). A session cap of $1.00 by default (AGENTSEARCH_MAX_TOTAL_ATOMIC, in USDC atomic units). It signs only USDC on Base for AgentSearch's pinned payee (or the Pocket portal's payee on the Pocket route). See pricing.
Prefer to pay by card instead of with a wallet? Prepaid API keys from $5 (tax included) work with the HTTP API at the same per-call prices: pay by card, API key docs. Card-key support in this MCP package is not released yet; x402 wallet payments work as documented above.
Where it is listed
The AgentSearch MCP server is listed on the MCP install page, Glama, npm and the official MCP Registry (io.github.agentsearchhq-coder/agentsearch-mcp). Source: GitHub. Also works: Pocket's Agentic Portal MCP, npx -y @pocket-network/agentic-portal-mcp, with call_service on the three AgentSearch services.
FAQ
How do I add web search to Claude Desktop or Cursor?
Add an agentsearch entry with "command": "npx" and "args": ["-y", "@agentsearchhq/agentsearch-mcp"] to your MCP config and restart the client. The agentsearch_web_search tool then works with no key.
Is the AgentSearch MCP server free?
Search is free with no key or wallet. Free tier: 25 searches per IP in total, then pay per call, no key needed (shared daily capacity; paid calls have no cap). Extract costs $0.002 per call and Render is priced on the pricing page, both paid in USDC on Base straight to AgentSearch over x402 once you set a wallet key (or $0.005 via Pocket Network with AGENTSEARCH_PAYMENT_ROUTE=pocket).
Do I need an API key?
No. Free search needs nothing. Paid calls are paid per request from a wallet you set in AGENTSEARCH_WALLET_PRIVATE_KEY, with no account or API key.
Which MCP clients does it work with?
Any client that can launch a local stdio MCP server, including Claude Desktop, Cursor, VS Code, Windsurf, Cline and Claude Code. It needs Node.js 20 or later.
What happens when the free limit is reached?
The free tier answers HTTP 429 and the tool explains how to switch to paid. The 25 free searches are a total per IP and do not reset.
How do I cap spending in paid mode?
The server never signs more than $0.005 per call and stops at a session cap, $1.00 by default. Set AGENTSEARCH_MAX_TOTAL_ATOMIC (USDC atomic units, 1000000 = $1.00) to change it.