A Model Context Protocol (MCP) server for SearXNG integration. Provides search tools for MCP-compatible clients and applications.
- Go 1.23+
- Docker (for auto-launch)
- SearXNG instance (auto-launched or external)
go build -o bin/searxng-mcp-server ./cmd/mcp-server# Default (expects SearXNG on localhost:8888)
./bin/searxng-mcp-server
# Custom SearXNG URL
./bin/searxng-mcp-server -url http://your-searxng.com
# Auto-launch SearXNG container (Unix/Linux only)
./bin/searxng-mcp-server -auto-launchsearch- Simple web searchsearch_category- Search by category (images, videos, news, etc.)search_advanced- Advanced search with language, time range, pagination
Add to your Claude Desktop config:
{
"mcpServers": {
"searxng": {
"command": "/path/to/bin/searxng-mcp-server",
"args": ["-auto-launch"]
}
}
}# Run tests
go test -v ./...
# Test specific package
go test -v ./pkg/searxng
# Test with coverage
go test -v -cover ./.../cmd/mcp-server/- Main application/pkg/searxng/- SearXNG client library/internal/mcp/- MCP server and tools implementation
MIT