Skip to main content
Glama

SearXNG MCP サーバー

SearXNG用のモデル制御プロトコル (MCP)サーバー。AI アシスタントが SearXNG インスタンスを通じて Web を検索できるようになります。

特徴

  • シンプルなAPI呼び出しでSearXNGを使用してWebを検索する

  • 利用可能な検索エンジンに関する情報を取得する

  • カテゴリ、言語、セーフサーチ設定などの検索パラメータを設定します

Related MCP server: drupal-modules-mcp MCP Server

MCP構成での使用

 "searxng-mcp-server": {
      "command": "uv",
      "args": [
        "run",
        "https://raw.githubusercontent.com/maccam912/searxng-mcp-server/refs/heads/main/server.py",
        "--url",
        "https://searxng.example.com"
      ]
    }

Dockerの使用

この MCP サーバーは Docker を使用して実行できます。

# Build the Docker image
docker build -t searxng-mcp-server .

# Run the container
# Replace https://searxng.example.com with your actual SearXNG instance URL
docker run -p 8080:8080 searxng-mcp-server

APIツール

検索

def search(query: str, categories: Optional[str] = None, engines: Optional[str] = None, 
           language: Optional[str] = None, page: int = 1, time_range: Optional[str] = None,
           safe_search: int = 1)

利用可能なエンジンを取得する

def get_available_engines()

地域開発

要件:

  • Python 3.11以上

  • uv (Python パッケージ マネージャー)

# Install dependencies
uv sync

# Run the server
uv run server.py --url https://searxng.example.com
-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

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/maccam912/searxng-mcp-server'

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