An MCP server implementation that integrates the SearxNG API, providing web search capabilities.
- Web Search: General queries, news, articles, with pagination.
- Pagination: Control return size and result counts options.
- searxng_web_search
- Execute web searches with pagination
- Inputs:
query
(string): Search termscount
(number, optional): Results per page (default 20)offset
(number, optional): Pagination offset (default 0)
- Choose a SearxNG instance from the list of public instances or use your local environment.
- Set the
SEARXNG_URL
environment variable to the instance URL. - The default
SEARXNG_URL
value ishttp://localhost:8080
.
To install SearxNG Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ihor-sokoliuk/server-searxng --client claude
{
"mcpServers": {
"searxng": {
"command": "npx",
"args": [
"-y"
"<full path to mcp-searxng repo>/"
],
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}
docker build -t mcp-server-searxng:latest -f Dockerfile .
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"searxng": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SEARXNG_URL",
"mcp-server-searxng:latest"
],
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}
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.