Skip to content
AgentSearch

@agentsearchhq/agentsearch-mcp · stdio

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 (up to 25 searches/day per IP, shared daily capacity), extract costs $0.007 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)

{
  "mcpServers": {
    "agentsearch": {
      "command": "npx",
      "args": ["-y", "@agentsearchhq/agentsearch-mcp"]
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "agentsearch": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@agentsearchhq/agentsearch-mcp"]
    }
  }
}

Windsurf (~/.codeium/windsurf/mcp_config.json)

{
  "mcpServers": {
    "agentsearch": {
      "command": "npx",
      "args": ["-y", "@agentsearchhq/agentsearch-mcp"]
    }
  }
}

Cline (cline_mcp_settings.json)

{
  "mcpServers": {
    "agentsearch": {
      "command": "npx",
      "args": ["-y", "@agentsearchhq/agentsearch-mcp"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Cline CLI: cline mcp add agentsearch --yes -- npx -y @agentsearchhq/agentsearch-mcp. Full guide: add web search to Cline with MCP.

Paid mode: add a wallet key to enable Extract and Render

{
  "mcpServers": {
    "agentsearch": {
      "command": "npx",
      "args": ["-y", "@agentsearchhq/agentsearch-mcp"],
      "env": {
        "AGENTSEARCH_WALLET_PRIVATE_KEY": "0xYOUR_NEW_WALLET_KEY",
        "AGENTSEARCH_MAX_TOTAL_ATOMIC": "1000000"
      }
    }
  }
}

Using Cursor? Follow the step-by-step guide: How to Add Free Web Search to Cursor with MCP (No API Key).

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.

Tools

ToolFree with no config?What it does
agentsearch_web_searchYes, up to 25 searches/day per IPLive web search: up to 5 results (title, url, content, score, domain, date). Args: query, optional max_results 1–5. Web Search API
agentsearch_extractNo, $0.007 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
agentsearch_renderNo, see pricingRuns a JavaScript page in headless Chromium and returns markdown, text, HTML, links and an optional screenshot. Web Render API
agentsearch_review_lookup, agentsearch_review_submitYesCheck 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: up to 25 searches/day per IP, 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.007 each on the direct x402 API; $1 covers about 140 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.007 per call; Render on the pricing page), charged only on a successful answer. Search stays free unless you also set AGENTSEARCH_MODE=paid ($0.008 per call). 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.010 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.

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: up to 25 searches/day per IP, no key needed (shared daily capacity; paid calls have no cap). Extract costs $0.007 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 limit resets daily.

How do I cap spending in paid mode?

The server never signs more than $0.010 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.

AgentSearch services

Web Search API · Web Extract API · Web Render API · Pricing · MCP server · Blog