
kevinwatt/mcp-server-searxng
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
SearXNGと統合するMCPサーバーの実装で、プライバシー重視のメタ検索機能を提供します.
概要
SearXNGと統合するMCPサーバーの実装で、プライバシー重視のメタ検索機能を提供します。 - : 複数の検索エンジンから結果を結合 - : トラッキングなし、ユーザープロファイリングなし - : 一般的な、ニュース、科学、ファイル、画像、ビデオなどのサポート - : 特定の言語またはすべての言語で検索 - : 日、週、月、または年ごとのフィルタ結果 - : 安全な検索フィルタリングの3つのレベル - : 信頼性のための複数のSearXNGインスタンス 1. 「+ MCP サーバーを追加」をクリック 2. この設定をコピーして貼り付けます。 3. 「保存」をクリックしてMCPサーバーをインストール - - - 複数のエンジン間でメタ検索を実行 - 入力: - クエリ(文字列): 検索条件 - ページ(番号、オプション): ページ番号(デフォルト: 1) - 言語(文字列、オプション): 言語コード(例).
概要(AI 翻訳)
SearXNGと統合するMCPサーバーの実装で、プライバシー重視のメタ検索機能を提供します。
##特徴
- メタ検索: 複数の検索エンジンから結果を結合
- プライバシー保護: 追跡無し、ユーザーのプロファイリング無し
- 複数のカテゴリ: 一般的な、ニュース、科学、ファイル、画像、ビデオなどのサポート -言語サポート:特定の言語またはすべての言語で検索
- 時間範囲のろ過:日、週、または年によるフィルター結果
- 安全調査: 3レベルの安全な検索フィルタリング
- フォールバックサポート:信頼性のための複数のSearXNGインスタンス
インストール
使用法
直接実行
ダイビング デスクトップと ## # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
-
ダイブデスクトップで「+ MCP サーバーを追加」をクリック
-
この設定をコピーして貼り付ける:
-
「保存」をクリックしてMCPサーバーをインストール
ツールドキュメント
- web search
- 複数のエンジン間でメタ検索を実行
- 入力:
query(文字列): 検索条件- [
page] (番号、オプション): ページ番号(デフォルト: 1) - [
language(文字列、オプション):言語コード(例えば、‘en’、‘all’、デフォルト:‘all’)) - [
categories(任意配列): 検索カテゴリ (デフォルト: [‘general’]))
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
SearXNG MCP Server
An MCP server implementation that integrates with SearXNG, providing privacy-focused meta search capabilities.
Features
- Meta Search: Combines results from multiple search engines
- Privacy-Focused: No tracking, no user profiling
- Multiple Categories: Support for general, news, science, files, images, videos, and more
- Language Support: Search in specific languages or all languages
- Time Range Filtering: Filter results by day, week, month, or year
- Safe Search: Three levels of safe search filtering
- Fallback Support: Multiple SearXNG instances for reliability
Installation
npm install -g @kevinwatt/mcp-server-searxng
Usage
Direct Run
mcp-server-searxng
With Dive Desktop
- Click “+ Add MCP Server” in Dive Desktop
- Copy and paste this configuration:
{
"mcpServers": {
"searxng": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/mcp-server-searxng"
]
}
}
}
- Click “Save” to install the MCP server
Tool Documentation
- web_search
- Execute meta searches across multiple engines
- Inputs:
query(string): Search termspage(number, optional): Page number (default: 1)language(string, optional): Language code (e.g., ‘en’, ‘all’, default: ‘all’)categories(array, optional): Search categories (default: [‘general’])- Available: “general”, “news”, “science”, “files”, “images”, “videos”, “music”, “social media”, “it”
time_range(string, optional): Time filter (all_time/day/week/month/year, default: ‘all_time’)safesearch(number, optional): Safe search level (0: None, 1: Moderate, 2: Strict, default: 1)
- Behavior:
- Instances listed in
SEARXNG_INSTANCESare tried in order; the first one that answers with results wins. - An instance that is reachable but has no matches returns
No results found for "".— an empty search is a normal result, not an error. - The error
All SearXNG instances failedis returned only when no instance was reachable at all: connection errors, non-2xx responses, or replies that aren’t a valid SearXNG JSON search response.
- Instances listed in
Development
git clone https://github.com/kevinwatt/mcp-server-searxng.git
cd mcp-server-searxng
npm install
npm run build # compiles to dist/src/
npm test # unit tests; HTTP is mocked, no live instance needed
node dist/src/index.js # run the server on stdio
Run a single test case with npm test -- -t "should resolve urls correctly".
License
This MCP server is licensed under the MIT License. See the LICENSE file for details.
Prerequisites
You need a local SearXNG instance running. To set it up:
Run SearXNG with Docker
Quick Start
# Create config directory
mkdir -p searxng
# Create config file
インストール
npx -y @kevinwatt/mcp-server-searxng設定
{
"mcpServers": {
"searxng": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/mcp-server-searxng"
]
}
}
}