agentsearch-mcp
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"agentsearch-mcp": {
"url": "https://agentsearch-mcp.vercel.app/mcp"
}
}
}遠端端點
https://agentsearch-mcp.vercel.app/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢web_search(q, provider, limit, country)
Search the web via a provider-abstracted backend (Brave or Serper, configured operator-side). Returns normalized results, each with position, title, url, snippet, source, and domain, plus a meta envelope (cache state, provider, took_ms). Returns a provider_required error if no search provider key is configured upstream. Use this for a full web SERP; use instant_answer for quick facts/definitions.
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search query."
},
"provider": {
"description": "Force a specific provider. Omit to use whichever is configured operator-side.",
"type": "string",
"enum": [
"brave",
"serper"
]
},
"limit": {
"description": "Max results, clamped to 1-20. Default 10.",
"type": "integer",
"minimum": 1,
"maximum": 20
},
"country": {
"description": "ISO-3166 alpha-2 region, lowercase. Default us.",
"type": "string"
}
},
"required": [
"q"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢instant_answer(q)
DuckDuckGo Instant Answer API — definitions, entities, and quick facts. Returns a normalized answer with heading, type (abstract/answer/disambiguation), source, sourceUrl, optional image/definition, and relatedTopics, plus a meta envelope. Not a full web SERP; use web_search for that. Works with no API key.
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Query."
}
},
"required": [
"q"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢fetch_url(url, format, maxChars, links)
Fetches any public http(s) URL, strips boilerplate (scripts, nav, footer, ads), and returns clean text or markdown ready for an LLM context window. SSRF-guarded — refuses private/loopback/internal hosts. Returns url, title, format, length, content (and finalUrl when redirected, plus up to 50 extracted links when links=true), with a meta envelope. Works with no API key.
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL to fetch (public http/https only)."
},
"format": {
"description": "Output format. Default text.",
"type": "string",
"enum": [
"text",
"markdown"
]
},
"maxChars": {
"description": "Max characters of content returned, clamped 500-500000. Default 100000.",
"type": "integer",
"minimum": 500,
"maximum": 500000
},
"links": {
"description": "Also return up to 50 extracted links. Default false.",
"type": "boolean"
}
},
"required": [
"url"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據