SearXNG Model Context Protocol Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides containerization support for easy deployment of the MCP server with configurable environment variables for connecting to SearXNG instances.

  • Enables language models to perform web searches through SearXNG, allowing search queries with customizable parameters like categories, page numbers, time ranges, and result formatting.

SearXNG 모델 컨텍스트 프로토콜 서버

SearXNG 검색 엔진과 언어 모델을 인터페이싱하기 위한 MCP(모델 컨텍스트 프로토콜) 서버입니다.

설명

이 서버는 언어 모델이 모델 컨텍스트 프로토콜(Model Context Protocol) 표준을 사용하여 SearXNG를 통해 웹 검색을 수행할 수 있도록 지원합니다. 언어 모델이 SearXNG에 검색 쿼리를 전송하고 형식화된 결과를 받을 수 있도록 깔끔한 인터페이스를 제공합니다.

설치

지엑스피1

요구 사항

용법

# Run the server node build/index.js

서버는 stdio에서 실행되므로 MCP 호환 언어 모델과 통합하는 데 적합합니다.

구성

서버는 환경 변수를 사용하여 구성할 수 있습니다.

변하기 쉬운설명기본
검색 프로토콜사용할 프로토콜(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)

특허

MIT

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

SearXNG를 사용하여 모델 컨텍스트 프로토콜 표준을 사용하여 언어 모델이 웹 검색을 수행할 수 있도록 하는 서버입니다.

  1. Description
    1. Installation
      1. Requirements
        1. Usage
          1. Configuration
            1. Docker
              1. Search Parameters
                1. License
                  ID: ddmcps77gn