S
SearXNG
community
other
A Model Context Protocol Server for [SearXNG](https://docs.searxng.org)
SearXNG MCP Server
An MCP server implementation that integrates the SearXNG API, providing web search capabilities.
<a href="https://glama.ai/mcp/servers/0j7jjyt7m9"><img width="380" height="200" src="https://glama.ai/mcp/servers/0j7jjyt7m9/badge" alt="SearXNG Server MCP server" /></a>
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
- Inputs:
(string): The search query. This string is passed to external search services.query
(number, optional): Search page number, starts at 1 (default 1)pageno
(string, optional): Filter results by time range - one of: "day", "month", "year" (default: none)time_range
(string, optional): Language code for results (e.g., "en", "fr", "de") or "all" (default: "all")language
(number, optional): Safe search filter level (0: None, 1: Moderate, 2: Strict) (default: instance setting)safesearch
-
web_url_read
- Read and convert the content from a URL to markdown
- Inputs:
(string): The URL to fetch and processurl
Configuration
Setting the SEARXNG_URL
- Choose a SearxNG instance from the list of public instances or use your local environment.
- Set the
environment variable to the instance URL.SEARXNG_URL
- The default
value isSEARXNG_URL
.http://localhost:8080
Usage with Claude Desktop
Installing via Smithery
To install SearxNG Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ihor-sokoliuk/server-searxng --client claude
NPX
{ "mcpServers": { "searxng": { "command": "npx", "args": [ "-y", "mcp-searxng" ], "env": { "SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL" } } } }
NPM
npm install -g mcp-searxng
And then in your MCP config file:
{ "mcpServers": { "searxng": { "command": "mcp-searxng", "env": { "SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL" } } } }
Docker
Using Pre-built Image from Docker Hub
docker pull isokoliuk/mcp-searxng:latest
Add this to your
claude_desktop_config.json
:{ "mcpServers": { "searxng": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SEARXNG_URL", "isokoliuk/mcp-searxng:latest" ], "env": { "SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL" } } } }
Build Locally
docker build -t mcp-searxng:latest -f Dockerfile .
Use
Add this to your
claude_desktop_config.json
:{ "mcpServers": { "searxng": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SEARXNG_URL", "mcp-searxng:latest" ], "env": { "SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL" } } } }
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Related Servers
S
Sequential Thinking
reference
Dynamic and reflective problem-solving through thought sequences
View Details