YO

yokingma/one-search-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

149 stars 19 forks 质量 77 趋势 4MIT

yokingma/one-search-mcp 是从 https://github.com/yokingma/one-search-mcp. 导入的 MCP 服务器候选

概览

yokingma/one-search-mcp 是从 https://github.com/yokingma/one-search-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

这是一种模型上下文协议(MCP)服务器实现,集成多个搜索提供商,支持网页搜索、本地浏览器搜索、URL 发现以及通过代理浏览器进行爬取功能。

特色

  • 网页搜索、抓取、发现URL以及对网站内容进行预处理。
  • 支持多个搜索引擎和网页抓取工具:SearXNG、Tavily、DuckDuckGo、Bing、Google、Zhipu(智谱)、Exa、Bocha(博查)、**You.com****等。
  • 本地网页搜索(浏览器搜索),支持多个搜索引擎:Bing、Google、百度、索沟等。
  • 使用 agent-browser 进行浏览器自动化。
  • 免费,无需API密钥。
  • 启用工具: one_search, one_scrape, one_map, one_extract

当前工具表面

  • one_search
  • 返回配置提供者的搜索结果。
  • one_map
  • 通过在浏览器加载页面并从其HTML中提取链接,发现起始URL的链接。
  • 支持的输入字段:url、search、includeSubdomains、limit。
  • 这不是站图爬虫;移除的字段如ignoreSitemap和sitemapOnly在模式边界处被拒绝。
  • one_scrape

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 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-browser for browser automation.
    • Free, no API keys required.
  • 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 ignoreSitemap and sitemapOnly are 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. If actions contains executeJavascript, you must set allowExecuteJavascript: true.
    • actions run serially before content capture and fail fast on the first action error.
    • Removed fields such as onlyMainContent, extract, and location are rejected at the schema boundary.
  • one_extract
    • Accepts only urls and returns preprocessed text blocks for downstream tools or models.

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_URL and FIRECRAWL_API_KEY are no longer used.

What Changed:

  • one_scrape and one_map now use agent-browser instead of Firecrawl
  • one_extract now 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:

  1. Install Chromium browser (see Prerequisites)
  2. Remove FIRECRAWL_API_URL and FIRECRAWL_API_KEY from your environment variables
在 GitHub 查看完整 README

安装

docker run -i --rm ghcr.io/yokingma/one-search-mcp:latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "one-search-mcp": { "command": "docker", "args": ["run", "-i", "--rm", "ghcr.io/yokingma/one-search-mcp:latest"], "env": { "SEARCH_PROVIDER": "local" } } } }