How to use SearXNG instead of Google search #281
dipping5115
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
You can find the installation method suitable for you via the link above. Here we use Docker as an example.
You can execute the following code in the folder where you want to store the program data:
Enter the container
docker container exec -it --user root searxng /bin/sh -lEdit
/etc/searxng/settings.ymlusing your favorite editorAdd
- jsonbelowformats(line 77), it should look like this:Save and exit the container
Restart the container
Make sure you have Node.js installed
Add
"mcpServers": {}below"theme": "..."in~/.llxprt/settings.jsonAdd these contents inside the curly braces after
mcpServers:{ "mcpServers": { "searxng": { "command": "npx", "args": ["-y", "mcp-searxng"], "env": { "SEARXNG_URL": "http://127.0.0.1:8888" } } } }Execute the following command in the terminal:
Add these contents inside the curly braces after
mcpServers:{ "mcpServers": { "searxng": { "command": "mcp-searxng", "env": { "SEARXNG_URL": "http://127.0.0.1:8888" } } } }Additionally, if you find a SearXNG server that supports JSON format, you can ignore steps 1 and 2, and simply replace "http://127.0.0.1:8888" in step 3 with the server address.
Beta Was this translation helpful? Give feedback.
All reactions