
MCP-SERXNG
SEARXNG的MCP服务器
1
Github Watches
8
Github Forks
51
Github Stars
SearXNG MCP Server
An MCP server implementation that integrates the SearxNG API, providing web search capabilities.
Features
- Web Search: General queries, news, articles, with pagination.
- Pagination: Control return size and result counts options.
Tools
-
searxng_web_search
- Execute web searches with pagination
- Inputs:
-
query
(string): Search terms -
count
(number, optional): Results per page (default 20) -
offset
(number, optional): Pagination offset (default 0)
-
Configuration
Setting the SEARXNG_URL
- 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
.
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
Build
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.
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Reviews

user_fEMA8U7l
As a devoted user of mcp-searxng, I am thoroughly impressed by its seamless integration and superb performance. Created by ihor-sokoliuk, mcp-searxng is a powerful tool that enhances my search experience with its efficient and privacy-focused features. Highly recommend checking it out at https://github.com/ihor-sokoliuk/mcp-searxng.