Skip to main content
Glama

SearXNG Model Context Protocol Server

by aeon-seraph

SearXNG モデルコンテキストプロトコルサーバー

言語モデルを SearXNG 検索エンジンとインターフェースするためのモデル コンテキスト プロトコル (MCP) サーバー。

説明

このサーバーは、モデルコンテキストプロトコル標準を用いて、言語モデルがSearXNG経由でウェブ検索を実行できるようにします。言語モデルがSearXNGに検索クエリを送信し、フォーマットされた結果を受け取るための、簡潔なインターフェースを提供します。

インストール

# Clone the repository git clone https://github.com/aeon-seraph/searxng-mcp.git cd searxng-mcp # Install dependencies npm install # Build the project npm run build

要件

使用法

# Run the server node build/index.js

サーバーは stdio 上で実行されるため、MCP 互換言語モデルとの統合に適しています。

構成

サーバーは環境変数を使用して設定できます。

変数説明デフォルト
SEARXNG_プロトコル使用するプロトコル(http/https)http
検索ホストSearXNGホストローカルホスト
検索ポートSearXNGポート8888
キャッシュTTLキャッシュの有効期間(ミリ秒)600000(10分)
最大キャッシュサイズキャッシュされるクエリの最大数100

例:

SEARXNG_HOST=mysearx.example.com SEARXNG_PORT=443 SEARXNG_PROTOCOL=https node build/index.js

ドッカー

このプロジェクトには、簡単にデプロイできる Dockerfile が含まれています。

# Build the Docker image docker build -t searxng-mcp . # Run the container docker run -e SEARXNG_HOST=mysearx.example.com -e SEARXNG_PROTOCOL=https searxng-mcp

検索パラメータ

検索機能は次のパラメータをサポートしています。

  • query (必須): 検索クエリ文字列
  • categories : 検索カテゴリのカンマ区切りリスト
  • pageno : 検索ページ番号(デフォルト: 1)
  • time_range : 結果の時間範囲(「日」、「週」、「月」、「年」)
  • raw_json : フォーマットされたテキストの代わりに生の JSON レスポンスを返します (デフォルト: false)

ライセンス

マサチューセッツ工科大学

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

hybrid server

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

モデル コンテキスト プロトコル標準を使用して、言語モデルが SearXNG を通じて Web 検索を実行できるようにするサーバー。

  1. 説明
    1. インストール
      1. 要件
        1. 使用法
          1. 構成
            1. ドッカー
              1. 検索パラメータ
                1. ライセンス

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    An MCP server implementation that integrates the SearxNG API, providing web search capabilities.
                    Last updated -
                    2
                    566
                    107
                    JavaScript
                    MIT License
                    • Linux
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables Large Language Models to seamlessly interact with ClickHouse databases, supporting resource listing, schema retrieval, and query execution.
                    Last updated -
                    1
                    Python
                    MIT License
                    • Linux
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables Large Language Models to search and access IETF RFC documents with pagination support.
                    Last updated -
                    Python
                    MIT License
                  • -
                    security
                    A
                    license
                    -
                    quality
                    "primitive" RAG-like web search model context protocol server that runs locally. ✨ no APIs ✨
                    Last updated -
                    43
                    Python
                    MIT License
                    • Linux
                    • Apple

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/aeon-seraph/searxng-mcp'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server