Agent Search MCP
Agent Search MCP is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Free-first Chinese and English web search MCP using zero-key sources and inspectable evidence. It has 110 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y agent-search-mcp.
- AI & search
- Apache-2.0
- Actively maintained
Install Agent Search MCP
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"agent-search-mcp": {
"command": "npx",
"args": [
"-y",
"agent-search-mcp"
],
"env": {
"BRAVE_API_KEY": "your-value",
"TAVILY_API_KEY": "your-value",
"EXA_API_KEY": "your-value",
"YDC_API_KEY": "your-value",
"TENCENT_WSA_API_KEY": "your-value",
"BOCHA_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env BRAVE_API_KEY=your-value --env TAVILY_API_KEY=your-value --env EXA_API_KEY=your-value --env YDC_API_KEY=your-value --env TENCENT_WSA_API_KEY=your-value --env BOCHA_API_KEY=your-value --transport stdio agent-search-mcp -- npx -y agent-search-mcpCursor
{
"mcpServers": {
"agent-search-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent-search-mcp"
],
"env": {
"BRAVE_API_KEY": "your-value",
"TAVILY_API_KEY": "your-value",
"EXA_API_KEY": "your-value",
"YDC_API_KEY": "your-value",
"TENCENT_WSA_API_KEY": "your-value",
"BOCHA_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "brave_api_key",
"description": "BRAVE_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "tavily_api_key",
"description": "TAVILY_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "exa_api_key",
"description": "EXA_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "ydc_api_key",
"description": "YDC_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "tencent_wsa_api_key",
"description": "TENCENT_WSA_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "bocha_api_key",
"description": "BOCHA_API_KEY",
"password": true
}
],
"servers": {
"agent-search-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent-search-mcp"
],
"env": {
"BRAVE_API_KEY": "${input:brave_api_key}",
"TAVILY_API_KEY": "${input:tavily_api_key}",
"EXA_API_KEY": "${input:exa_api_key}",
"YDC_API_KEY": "${input:ydc_api_key}",
"TENCENT_WSA_API_KEY": "${input:tencent_wsa_api_key}",
"BOCHA_API_KEY": "${input:bocha_api_key}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
BRAVE_API_KEYsecret | No | Brave Search API key (optional, enables Brave engine) |
TAVILY_API_KEYsecret | No | Tavily Search API key (optional, enables Tavily engine) |
EXA_API_KEYsecret | No | Exa Search API key (optional, enables Exa engine) |
YDC_API_KEYsecret | No | You.com Search API key (optional, enables You.com engine) |
TENCENT_WSA_API_KEYsecret | No | Tencent Web Search API key (optional, enables Tencent WSA engine) |
BOCHA_API_KEYsecret | No | Bocha Web Search API key (optional, enables Bocha engine) |
SERPER_API_KEYsecret | No | Serper API key (optional, enables Google SERP search) |
SEARCH_PROVIDER_MODE | No | Provider policy: freefirst, qualityescalation, paidfirst, or freeonly |
PAID_ENGINE_ORDER | No | Comma-separated optional-provider preference order |
Tools (7)
Parsed from the Tools section of the README; check the repository for the current list.
free_searchMulti-engine Web Search with bounded fallback
free_search_advancedFiltered waterfall search and optional enrichment
free_extractExtract a URL as clean Markdown
fetch_github_readmeFetch a public GitHub repository README
fetch_csdn_articleFetch a CSDN article
fetch_juejin_articleFetch a Juejin article
search_with_synthesisSearch evidence with an LLM synthesis hint
About Agent Search MCP
A Node.js MCP server and CLI for English and Chinese web search. Agent Search MCP starts without an API key. It returns compact multi-source evidence, records provider failures, and bounds work with request and evidence budgets. Paid providers run only when policy and credentials allow.
- mcp
- ai-agent
- chinese-search
- mcp-server
- self-hosted
- typescript
- web-search
- model-context-protocol
- claude
- codex
Similar MCP servers
More ai & search MCP servers
Context7
upstash/context7
Up-to-date code docs for any prompt.
AI & searchTypeScriptFunASR
modelscope/FunASR
Transcribe local audio with FunASR and SenseVoice using private, on-device inference.
AI & searchPythonBifrost
maximhq/bifrost
Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS.
AI & searchGoHoncho
plastic-labs/honcho
Memory that reasons: continual learning for stateful agents.
AI & searchPythonSemble
MinishLab/semble
Fast and Accurate Code Search for Agents.
AI & searchPythonExa
exa-labs/exa-mcp-server
Connect AI agents to Exa for web search, content fetching, and multi-step research.
OfficialAI & searchTypeScript
What is Agent Search MCP?
Agent Search MCP is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Free-first Chinese and English web search MCP using zero-key sources and inspectable evidence. It has 110 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y agent-search-mcp. The source code is at github.com/lennney/agent-search-mcp.
How do I install the Agent Search MCP MCP server?
Add the command npx -y agent-search-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Agent Search MCP free?
The server is open source under the Apache-2.0 license, so running it is free. It does not declare any required API key.
Is Agent Search MCP actively maintained?
The most recent commit was on Sep 16, 2026. The latest release is v3.2.1, published Aug 11, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.