SearxNG MCP Server for Cline¶
Build your own SearxNG¶
- Install docker & docker-compose on your linux
- Clone https://github.com/searxng/searxng-docker
- Edit .env
- Edit searxng/settings.yml
# see https://docs.searxng.org/admin/settings/settings.html#settings-use-default-settings use_default_settings: true server: # base_url is defined in the SEARXNG_BASE_URL environment variable, see .env and docker-compose.yml secret_key: "xxxx" # change this! limiter: false # can be disabled for a private instance image_proxy: true ui: static_use_hash: true redis: url: redis://redis:6379/0 search: # remove format to deny access, use lower case. # formats: [html, csv, json, rss] formats: - html - json # <-- MCP need this format
- First time to start containers, need change docker-compose.yaml
- Start docker for searxng, caddy, redis, etc.
- Add A record in route53 to point the public ip of EC2
- Open 80, 443 port for this EC2
- Access your www.hostname.domainname
MCP for SearxNG¶
- you need node 20/22 on you laptop (nodejs-cmd)
- clone https://github.com/ihor-sokoliuk/mcp-searxng
-
build it
-
MCP settings in Cline
Refer¶
https://docs.searxng.org/admin/installation-searxng.html#configuration
what is mcp¶
compare to traditional¶
workflow¶
another sample¶
{
"mcpServers": {
"searxng": {
"timeout": 60,
"command": "uvx",
"args": [
"mcp-searxng"
],
"env": {
"SEARXNG_URL": "https://www.hostname.domainname"
},
"transportType": "stdio"
}
}
}