LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Agentsearch MCP.
web_searchWeb SERP via a provider-abstracted backend (Brave or Serper). Returns normalized results with position/title/url/snippet/domain.
instant_answerKeyless DuckDuckGo instant answer β definitions, entities, quick facts.
fetch_urlKeyless, SSRF-guarded URL β clean, boilerplate-free text or markdown for RAG.
A remote MCP (Model Context Protocol) connector for AgentSearch API β an LLM/MCP-native web toolkit for agents and RAG pipelines: web search (provider-abstracted SERP), keyless instant answers, and URL β clean text/markdown fetch ready for an LLM context window.
Live: https://agentsearch-mcp.vercel.app/mcp β 3 tools, one per AgentSearch /v1 endpoint. Since the upstream AgentSearch deployment is metered (RapidAPI/Apify) and gates /v1/* behind a RapidAPI proxy-secret guard, this connector authenticates its own outbound calls with that same secret (AGENTSEARCH_MCP_PROXY_SECRET, sent as the X-RapidAPI-Proxy-Secret header) and applies a soft per-IP rate limit (AGENTSEARCH_MCP_RATE_LIMIT, default 30 tool-calls/hour, in-memory) so the free MCP tier stays a discovery channel rather than an unmetered bypass of the paid listing β see lib/ratelimit.js.
AgentSearch API is a plain REST API. Any HTTP client can already call it directly. This repo exists because MCP clients (Claude, ChatGPT, and other MCP-aware agents) don't consume arbitrary REST APIs β they consume MCP tools. agentsearch-mcp is a thin adapter layer that:
/mcp endpoint, so it can be registered as a connector in Claude, ChatGPT, or any other MCP client with one URL.fetch to AgentSearch, and the JSON response AgentSearch returns is handed back verbatim as the tool result.This connector is a free discovery/growth tier in front of the metered AgentSearch API. The upstream (agentsearch-api.vercel.app) is sold on RapidAPI/Apify; this MCP wrapper authenticates to it with the shared RapidAPI proxy secret and caps usage per-IP so it stays a taste-test rather than an unmetered path around the paid plans. Heavy/production volume should go through AgentSearch on RapidAPI/Apify.
AgentSearch's data has no per-user dimension β it's public web data (SERP results, DuckDuckGo instant answers, cleaned page text). There is nothing to gate per-caller, so this connector intentionally ships with:
api/mcp.js builds a fresh, stateless McpServer per request and serves it with zero MCP-caller auth checks. The only outbound auth is the upstream RapidAPI proxy secret described above, which the connector holds server-side.
One tool per AgentSearch /v1 endpoint (from agentsearch-api/openapi.yaml; /api/health is intentionally not wrapped):
| Tool | AgentSearch endpoint | Description |
|---|---|---|
web_search | GET /v1/search | Web SERP via a provider-abstracted backend (Brave or Serper). Returns normalized results with position/title/url/snippet/domain. |
instant_answer | GET /v1/answer | Keyless DuckDuckGo instant answer β definitions, entities, quick facts. |
fetch_url | GET /v1/fetch | Keyless, SSRF-guarded URL β clean, boilerplate-free text or markdown for RAG. |
All 3 tools are read-only and annotated { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true } β none of them write anything, and all of them reflect live, externally-changing web data.
Each tool handler does a plain fetch(\${AGENTSEARCH_MCP_API_BASE_URL}${path}`, ...)` against the real AgentSearch REST API and returns the parsed JSON as MCP tool-result content:
The outbound request carries X-RapidAPI-Proxy-Secret: <AGENTSEARCH_MCP_PROXY_SECRET> so it passes the upstream guard on /v1/*. Upstream HTTP errors (4xx/5xx) are caught and surfaced as a typed MCP error result via an asError helper rather than crashing the request.
| Var | Default | Purpose |
|---|---|---|
AGENTSEARCH_MCP_API_BASE_URL | https://agentsearch-api.vercel.app | Upstream AgentSearch base URL (override for local/self-hosted testing). |
AGENTSEARCH_MCP_PROXY_SECRET | (empty) | RapidAPI proxy secret, sent as X-RapidAPI-Proxy-Secret to pass the upstream /v1/* guard. Without it, guarded routes return 403. |
AGENTSEARCH_MCP_RATE_LIMIT | 30 | Soft per-IP tools/call cap per hour (in-memory, per serverless instance). |
To exercise a real end-to-end fetch through the upstream guard, set the proxy secret first:
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/agentsearch-mcp)<a href="https://allmcps.com/mcp/agentsearch-mcp"><img src="https://allmcps.com/api/badge/agentsearch-mcp?style=directory" alt="Agentsearch MCP on AllMCPs" /></a>