AgentSearch (agentsearchhq.com)
v1.8.7Free web search + extract/render trial (no key), then pay per call via x402 on Base.
Values you need
| Variable | What it is | |
|---|---|---|
AGENTSEARCH_WALLET_PRIVATE_KEY | optional secret | Private key of a dedicated wallet with a little USDC on Base; enables paid extract/render via x402, paid to AgentSearch's own API by default (extract $0.002, render $0.005, search_and_read $0.005). Without it, extract/render use the free trial (5/3 calls per day per IP). Search stays free unless AGE |
AGENTSEARCH_MODE | optional | Search mode: free (default; free relay even with a wallet key), paid (pay per search, $0.003 direct or $0.005 via Pocket; needs a key) or auto (paid search when a key is set) Default: free |
AGENTSEARCH_FREE_TRIAL | optional | Set to 0 to turn off the no-wallet extract/render free trial (then no-wallet extract/render make no network call). Default on Default: 1 |
AGENTSEARCH_PAYMENT_ROUTE | optional | Paid route: direct (default since 1.6.0; AgentSearch's own x402 API on Base, search $0.003, extract $0.002, render $0.005, search_and_read $0.005) or pocket (Pocket Network Agentic Portal, $0.005 per call) Default: direct |
AGENTSEARCH_X402_DIRECT | optional | Legacy 1.5.0 switch: 0 selects the Pocket route (same as AGENTSEARCH_PAYMENT_ROUTE=pocket). Direct is already the default since 1.6.0 |
AGENTSEARCH_MAX_TOTAL_ATOMIC | optional | Session spend cap in USDC atomic units (default 1000000 = $1.00). Alias: POCKET_MAX_TOTAL_ATOMIC Default: 1000000 |
AGENTSEARCH_MAX_PER_CALL_ATOMIC | optional | Optional lower per-call cap in USDC atomic units (hard max 20000 = $0.020 on the default direct route, 5000 = $0.005 on the Pocket route) |
AGENTSEARCH_BASE_URL | optional | Optional self-hosted AgentSearch API base URL; when set, search/extract/render use it with no payment |
AGENTSEARCH_API_KEY | optional secret | Optional Bearer token for your AgentSearch API |
AGENTSEARCH_REVIEWS_URL | optional | Optional Review Board URL (default https://reviews.agentsearchhq.com) |
AGENTSEARCH_REVIEW_KEY | optional secret | Optional Review Board key for weighted reviews |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add agentsearch-mcp -- npx -y @agentsearchhq/agentsearch-mcp@1.8.7Add to
claude_desktop_config.json{
"mcpServers": {
"agentsearch-mcp": {
"args": [
"-y",
"@agentsearchhq/agentsearch-mcp@1.8.7"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"agentsearch-mcp": {
"args": [
"-y",
"@agentsearchhq/agentsearch-mcp@1.8.7"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"agentsearch-mcp": {
"args": [
"-y",
"@agentsearchhq/agentsearch-mcp@1.8.7"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.agentsearch-mcp]
command = "npx"
args = ["-y", "@agentsearchhq/agentsearch-mcp@1.8.7"]Remote (hosted)
Run in a terminal
claude mcp add --transport http agentsearch-mcp https://relay.agentsearchhq.com/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"agentsearch-mcp": {
"args": [
"-y",
"mcp-remote",
"https://relay.agentsearchhq.com/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"agentsearch-mcp": {
"url": "https://relay.agentsearchhq.com/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"agentsearch-mcp": {
"type": "http",
"url": "https://relay.agentsearchhq.com/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.agentsearch-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://relay.agentsearchhq.com/mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: agentsearch_web_search, agentsearch_extract, agentsearch_search_and_read, agentsearch_news_search, agentsearch_render, agentsearch_screenshot, agentsearch_review_lookup, agentsearch_review_submit.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json