mcp-searxng

mcp-searxng

101

SearXNG MCP Server integrates the SearXNG API to offer robust web search capabilities with features like pagination, time filtering, and language selection. It supports configuration through Smithery, Docker, and can be used with Claude Desktop. The project is licensed under the MIT License.

SearXNG MCP Server

An MCP server implementation that integrates the SearXNG API to provide web search capabilities.

Features

  • Web Search: General queries, news, articles, with pagination.
  • Pagination: Control which page of results to retrieve.
  • Time Filtering: Filter results by time range (day, month, year).
  • Language Selection: Filter results by preferred language.
  • Safe Search: Control content filtering level for search results.

Tools

  • searxng_web_search: Execute web searches with pagination.
  • web_url_read: Read and convert the content from a URL to markdown.

Configuration

Setting the SEARXNG_URL

  1. Choose a SearxNG instance or use your local environment.
  2. Set the SEARXNG_URL environment variable to the instance URL.
  3. Default SEARXNG_URL: http://localhost:8080.

Using Authentication

  • Set AUTH_USERNAME and AUTH_PASSWORD for HTTP Basic Auth on a protected instance.

Usage with Claude Desktop

Installation

  • Smithery: Install via Smithery CLI.
  • NPX/NPM: Use NPX or NPM to install and configure.
  • Docker: Pull pre-built image or build locally for setup.