
本地无API密钥的Web搜索——Claude Code、OpenClaw、LM Studio的MCP服务器。使用Chrome CDP在Naver/Google/Brave间进行并行搜索。
概览
需要为本地LLM(Ollama、LM Studio)或Claude代码使用WebSearch吗?不需要API密钥——。 - 不是无头,也不是模拟。它通过CDP(Chrome DevTools协议)打开实际的Chrome窗口并控制它们。这就是为什么它能绕过机器人检测和验证码——因为它确实是个真实的浏览器。 - 无需API密钥(你只是浏览)- 无速率限制(正常浏览器行为)- 验证码抗拒(真实浏览器指纹)- 登录会话持续存在(保存Cookies)- 韩国门户可用(Naver需要真实浏览器) - 目前已配置为搜索门户(Naver、Google、Brave)——可通过添加门户配置扩展到其他网站——每个网站都需要自己的Chrome实例和会话 - - 直接 Chrome CDP(DevTools 协议)控制 - - 作为 Claude Code / 光标 / LM Studio 工具使用 - - OpenBMB/THUNLP 的搜索优化 4B 模型(可选) - - 同时支持 3 个 Chrome 实例支持 Naver/Google/Brave - - 会话持久性 + 隐形标志 - - 真实浏览器会话避免大多数......
概述(AI 翻译)
本地WebSearch 无API密钥 + MCP服务器
需要为本地的大型语言模型(Ollama、LM Studio)或Claude代码使用WebSearch吗? 不需要API密钥——*只要Chrome。
工作原理
该工具启动真正的Chrome浏览器——不是无头的,也不是模拟的。
它通过 CDP(Chrome DevTools 协议)打开实际的 Chrome 窗口并控制它们。 这就是为什么它能绕过机器人检测和验证码——因为它确实是真正的浏览器。
为什么是真正的浏览器?
- 无需API密钥(你只是浏览)
- 无速率限制(正常浏览器行为)
- 抗验证码(真实浏览器指纹)
- 登录会话持续存在(Cookie已保存)
- 韩国门户可用(Naver需要真实浏览器)
可扩展至其他网站
- 目前已配置为搜索门户(Naver、Google、Brave)
- 通过添加门户配置,可以扩展到其他站点
- 每个站点都需要自己的 Chrome 实例和会话
主要优势
| 功能 | Tavily/Brave API | SearXNG(OpenClaw) | AgentWebSearch-MCP |
|---|---|---|---|
| API密钥 | 必需 | 不需要 | 不需要 |
| 成本 | 付费/限价 | 免费 | 免费 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
AgentWebSearch-MCP
Local WebSearch without API keys + MCP Server
Need WebSearch for your local LLM (Ollama, LM Studio) or Claude Code? No API keys needed - just Chrome.
How It Works
This tool launches REAL Chrome browsers - not headless, not simulated.
It opens actual Chrome windows and controls them via CDP (Chrome DevTools Protocol). This is why it can bypass bot detection and CAPTCHA - because it IS a real browser.
┌─────────────────────────────────────────────────────────┐
│ Your Desktop │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ Chrome:9222 │ │ Chrome:9223 │ │ Chrome:9224 │ │
│ │ Naver │ │ Google │ │ Brave │ │
│ │ (search) │ │ (search) │ │ (search) │ │
│ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ │
│ │ │ │ │
│ └───────────────┼───────────────┘ │
│ │ CDP (WebSocket) │
│ ┌────┴────┐ │
│ │ MCP │ │
│ │ Server │ │
│ └────┬────┘ │
│ │ │
│ Claude Code │
└─────────────────────────────────────────────────────────┘
Why real browsers?
- No API keys needed (you’re just browsing)
- No rate limits (normal browser behavior)
- CAPTCHA resistant (real browser fingerprint)
- Login sessions persist (cookies saved)
- Korean portals work (Naver requires real browser)
Extensible to other sites
- Currently configured for search portals (Naver, Google, Brave)
- Can be extended to other sites by adding portal config
- Each site needs its own Chrome instance and session
Key Benefits
| Feature | Tavily/Brave API | SearXNG (OpenClaw) | AgentWebSearch-MCP |
|---|---|---|---|
| API Key | Required | Not needed | Not needed |
| Cost | Paid/Limited | Free | Free |
| Setup | Get API key | Host SearXNG server | Just install Chrome |
| Bot Detection | N/A | Easily blocked | Bypassed (real browser) |
| Korean Portals | Limited | No Naver | Naver supported |
| MCP Support | ❌ | ❌ | ✅ Built-in |
Features
- No API keys - Direct Chrome CDP (DevTools Protocol) control
- MCP Server - Use as Claude Code / Cursor / LM Studio tool
- AgentCPM-Explore - Search-optimized 4B model from OpenBMB/THUNLP (optional)
- Parallel search - 3 Chrome instances for Naver/Google/Brave simultaneously
- Bot detection bypass - Session persistence + stealth flags
- CAPTCHA resistant - Real browser sessions avoid most CAPTCHA challenges
Installation
1. Install dependencies
python3 -m venv venv
source venv/bin/activate
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"agentwebsearch": {
"command": "python",
"args": ["/path/to/AgentWebSearch-MCP/mcp_server.py"],
"env": {}
}
}
}