MCP-searxng
MCP server for connecting agentic systems to search systems via searXNG
Overview
MCP-searxng is a server designed to connect agentic systems to search systems using the searXNG framework, enabling efficient web searches.
To use MCP-searxng, configure your client JSON or clone the repository and run the server using the provided commands. Set the environment variable for the searXNG URL if needed.
- Connects agentic systems to search systems seamlessly. - Utilizes the searXNG framework for web searches. - Customizable server URL for flexibility.
- Integrating search capabilities into agentic systems.
- Enabling web searches for automated systems.
- Customizing search environments for specific applications.
Add to your AI client
Use these steps to connect MCP-searxng in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-searxng-secretiveshell": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-searxng-secretiveshell"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-searxng-secretiveshell": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-searxng-secretiveshell"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-searxng-secretiveshell": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-searxng-secretiveshell"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-searxng-secretiveshell": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-searxng-secretiveshell"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-searxng-secretiveshell": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-searxng-secretiveshell"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-searxng-secretiveshell": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-searxng-secretiveshell"
]
}
}
}FAQ
What is searXNG?
SearXNG is a metasearch engine that aggregates results from various search engines.
How do I run the server?
You can run the server using the command `uvx mcp-searxng` after configuring your client JSON.
Can I customize the search URL?
Yes! You can set the `SEARXNG_URL` environment variable to your desired URL.