
One Search Mcp
io.github.yokingma由 GitHub 帳號 yokingma 發布v1.2.4更新於 Oct 24, 2026
Web search, URL discovery, scraping & extraction with agent-browser and search providers
概覽
一個本機 MCP 伺服器,透過搜尋服務商與本機瀏覽器,讓助理進行網頁搜尋、URL 探索、頁面擷取與內容提取。
- 可以做什麼
- 透過所選服務商搜尋網頁(本機瀏覽器、DuckDuckGo、SearXNG、Tavily、Bing、Google、智譜、Exa、博查或 You.com)。從起始 URL 載入頁面並擷取連結,探索網站連結。擷取單一頁面,回傳 markdown、HTML、原始 HTML、連結或截圖,並可在擷取前執行等待、點擊、輸入、按鍵與捲動等操作。從多個 URL 提取並預處理文字,供後續分析使用。
- 適用情境
- 適合助理需要最新網頁結果、頁面內容或連結清單,且希望擷取與本機搜尋在自己的機器上完成、不依賴付費擷取 API 的情境。適用於資料調查、內容收集,以及把網頁文字交給後續分析。
- 執行需求
- 透過 npx 或 Docker 在本機執行。npm 套件需要 Node.js;瀏覽器相關工具需要 Chromium 系瀏覽器(Chrome、Edge、Chromium 或 Chrome Canary),Docker 映像已內建 Chromium。SEARCH_PROVIDER 選擇服務商(預設 local)。tavily、bing、google、zhipu、exa、bocha 需要 SEARCH_API_KEY;searxng 需要 SEARCH_API_URL,google 另需搜尋引擎 ID;ydc 需要 YDC_API_KEY。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 One Search Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
🚀 OneSearch MCP Server: Web Search, URL Discovery, Scraper & Content Prep
A Model Context Protocol (MCP) server implementation that integrates with multiple search providers for web search, local browser search, URL discovery, and scraping capabilities with agent-browser.
Features
- Web search, scrape, discover URLs, and preprocess content from websites.
- Support multiple search engines and web scrapers: SearXNG, Tavily, DuckDuckGo, Bing, Google, Zhipu (智谱), Exa, Bocha (博查), You.com, etc.
- Local web search (browser search), support multiple search engines: Bing, Google, Baidu, Sogou, etc.
- Use
agent-browserfor browser automation. - Free, no API keys required.
- Use
- Enabled tools:
one_search,one_scrape,one_map,one_extract
Current Tool Surface
one_search- Returns search results from the configured provider.
one_map- Discovers links from a starting URL by loading the page in the browser and extracting links from its HTML.
- Supported input fields:
url,search,includeSubdomains,limit. - This is not a sitemap crawler; removed fields such as
ignoreSitemapandsitemapOnlyare rejected at the schema boundary.
one_scrape- Scrapes one page and returns content selected by
formats. - Supported input fields:
url,formats,waitFor,timeout,skipTlsVerification,allowExecuteJavascript,actions. - Supported formats:
markdown,html,rawHtml,links,screenshot,screenshot@fullPage. - Supported bounded pre-scrape actions:
wait,click,write,press,scroll. - Advanced pre-scrape action:
executeJavascript. IfactionscontainsexecuteJavascript, you must setallowExecuteJavascript: true. actionsrun serially before content capture and fail fast on the first action error.- Removed fields such as
onlyMainContent,extract, andlocationare rejected at the schema boundary.
- Scrapes one page and returns content selected by
one_extract- Accepts only
urlsand returns preprocessed text blocks for downstream tools or models.
- Accepts only
Migration from v1.1.0 and Earlier
Breaking Changes in v1.1.0:
- Firecrawl Removed: The Firecrawl integration has been removed in favor of
agent-browser, which provides similar functionality without requiring external API services. - New Browser Requirement: You must install Chromium browser (see Prerequisites section).
- Environment Variables:
FIRECRAWL_API_URLandFIRECRAWL_API_KEYare no longer used.
What Changed:
one_scrapeandone_mapnow useagent-browserinstead of Firecrawlone_extractnow preprocesses multi-URL page content for downstream analysis instead of performing built-in LLM extraction- All browser-based operations are now handled locally, providing better privacy and no API costs
Migration Steps:
- Install Chromium browser (see Prerequisites)
- Remove
FIRECRAWL_API_URLandFIRECRAWL_API_KEYfrom your environment variables - Update to the latest version:
npm install -g one-search-mcp@latest
Prerequisites
Browser Requirement: This server uses agent-browser for web scraping and local search, which requires a Chromium-based browser.
Good News: The server will automatically detect and use browsers already installed on your system:
- ✅ Google Chrome
- ✅ Microsoft Edge
- ✅ Chromium
- ✅ Google Chrome Canary
If you don't have any of these browsers installed, you can:
Installation
Using Claude Code CLI (Recommended)
Manual Installation
Local Debugging with MCP Inspector
Use the official MCP Inspector to interactively test tools, resources, and prompts against this server during local development.
Using Docker
Docker image includes all dependencies (Chromium browser) pre-installed, no additional setup required.
Pull the image:
Configure with Claude Desktop:
With custom search provider:
Environment Variables
Search Provider
- SEARCH_PROVIDER (Optional): The search provider to use, supports
searxng,duckduckgo,bing,tavily,google,zhipu,exa,bocha,ydc,local, default islocal. - SEARCH_API_URL (Optional): The URL of the SearxNG API, or Google Custom Search Engine ID for
google. - SEARCH_API_KEY (Optional): The API key for the search provider, required for
tavily,bing,google,zhipu,exa,bocha. - YDC_API_KEY (Optional): You.com API key for
SEARCH_PROVIDER=ydc.
Browser Network Security
- ALLOW_PRIVATE_NETWORK (Optional): Set to
trueto allow browser-backed tools (one_scrape,one_map,one_extract) to access private, loopback, and link-local network targets. Defaults tofalse.
Use ALLOW_PRIVATE_NETWORK=true only in trusted deployments. When enabled, prompt injection or untrusted tool inputs can make the MCP process fetch internal services that are otherwise blocked by default.
Search Provider Configuration
Configuration for Other MCP Clients
Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Cursor
Add to your mcp.json file:
Windsurf
Add to your ./codeium/windsurf/model_config.json file:
Self-hosting SearXNG (Optional)
If you want to use SearXNG as your search provider, you can deploy it locally using Docker:
Prerequisites:
- Docker installed and running (version 20.10.0 or higher)
- At least 4GB of RAM available
Quick Start:
After deployment, SearXNG will be available at http://127.0.0.1:8080 by default.
Configure OneSearch to use SearXNG:
For more details, see the official SearXNG Docker documentation.
Troubleshooting
Browser not found error
If you see an error like "Browser not found", the server couldn't detect any installed Chromium-based browser. Please install one of the following:
- Google Chrome: https://www.google.com/chrome/
- Microsoft Edge: https://www.microsoft.com/edge
- Chromium: https://www.chromium.org/getting-involved/download-chromium/
Or install via agent-browser:
License
MIT License - see LICENSE file for details.
來源:README.md,提交 16eb424
工具
0版本歷史
1- v1.2.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分