OneSearch MCP Server

by yokingma
Verified

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Used for installation and distribution of the MCP server package, with support for running the server through npx commands.

  • Enables web search capabilities through SearXNG, allowing queries to be performed across multiple search engines through a single interface.

  • Supports installation and execution through shell commands, with environment variable configuration for different search providers and APIs.

🚀 OneSearch MCP サーバー: Web 検索 & クロール & スクレーパー & 抽出

Searxng/Tavily/DuckDuckGo/Bing と統合して、Web 検索、ローカル ブラウザー検索、Firecrawl によるスクレイピング機能を実現する Model Context Protocol (MCP) サーバー実装。

特徴

  • Web 検索、スクレイピング、クロール、および Web サイトからのコンテンツの抽出。
  • 複数の検索エンジンと Web スクレーパーをサポートします: SearXNGFirecrawlTavilyDuckDuckGoBingなど。
  • ローカルウェブ検索(ブラウザ検索)、 BingGoogleBaiduSogouなどの複数の検索エンジンをサポート。
    • puppeteer-coreを使用して、Web サイトからコンテンツをスクレイピングします。
    • ChromiumGoogle ChromeGoogle Chrome Canaryなどのローカル ブラウザーがインストールされている必要があります。
    • 無料、キーは必要ありません。
  • 有効なツール: one_searchone_scrapeone_map
  • セルフホストのサポート: SearXNG、Firecrawl など (デプロイを参照)

インストール

Smithery経由でインストール

Smithery経由で OneSearch for Claude Desktop を自動的にインストールするには:

npx -y @smithery/cli install @yokingma/one-search --client claude

手動インストール

# Manually install (Optional) npm install -g one-search-mcp
# using npx env SEARCH_API_URL=http://127.0.0.1:8080 FIRECRAWL_API_URL=http://127.0.0.1:3002 npx -y one-search-mcp

環境変数

検索エンジン:

  • SEARCH_PROVIDER (オプション): 使用する検索プロバイダーsearxngduckduckgobingtavilylocalサポートし、デフォルトはlocalです。
  • SEARCH_API_URL (オプション): searxngに必要な SearxNG API の URL。
  • SEARCH_API_KEY (オプション): 検索プロバイダーの API キーtavilybingに必要です。
// supported search providers export type SearchProvider = 'searxng' | 'duckduckgo' | 'bing' | 'tavily' | 'local';

ファイヤークロール:

  • FIRECRAWL_API_URL (オプション): firecrawlに必要な Firecrawl API の URL。
  • FIRECRAWL_API_KEY (オプション): クラウド サービスを使用する場合にfirecrawlに必要な、Firecrawl API の API キー。

カーソル上で実行

mcp.jsonファイルは次のようになります。

{ "mcpServers": { "one-search-mcp": { "command": "npx", "args": ["-y", "one-search-mcp"], "env": { "SEARCH_PROVIDER": "searxng", "SEARCH_API_URL": "http://127.0.0.1:8080", "SEARCH_API_KEY": "YOUR_API_KEY", "FIRECRAWL_API_URL": "http://127.0.0.1:3002", "FIRECRAWL_API_KEY": "YOUR_API_KEY" } } } }

ウィンドサーフィンで走る

これを./codeium/windsurf/model_config.jsonファイルに追加します。

{ "mcpServers": { "one-search-mcp": { "command": "npx", "args": ["-y", "one-search-mcp"], "env": { "SEARCH_PROVIDER": "searxng", "SEARCH_API_URL": "http://127.0.0.1:8080", "SEARCH_API_KEY": "YOUR_API_KEY", "FIRECRAWL_API_URL": "http://127.0.0.1:3002", "FIRECRAWL_API_KEY": "YOUR_API_KEY" } } } }

セルフホスト

SearXNGとFirecrawlのローカル展開については、 Deployを参照してください。

トラブルシューティング

  • [ReferenceError]: __name が定義されていません: これは Puppeteer にtsxの問題があるために発生します(esbuild#1031)

ライセンス

MIT ライセンス - 詳細についてはLICENSEファイルを参照してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

SearXNG、Firecrawl、Tavily などの複数のエンジンを通じて Web 検索、スクレイピング、クロール、コンテンツ抽出を可能にするモデル コンテキスト プロトコル サーバー。

  1. Features
    1. Installation
      1. Installing via Smithery
      2. Manual Installation
    2. Environment Variables
      1. Running on Cursor
        1. Running on Windsurf
          1. Self-host
            1. Troubleshooting
              1. License
                ID: rk8s2qldo1