MCP server for SearXNG integration
Mcp searxng mcp server connects MCP Searxng to AI assistants that speak the Model Context Protocol. MCP server for SearXNG integration.
An MCP server that integrates the SearXNG API, giving AI assistants web search capabilities.
Once connected, the assistant can call these 5 tools directly:
searxng_web_search — Execute web searches with paginationInputs — - query (string): The search query. This string is passed to external search servicessearxng_search_suggestions — Get autocomplete suggestions for refining search queriessearxng_instance_info — Discover categories aggregated from reachable configured SearXNG instances, optionally include engine names, and inspect defaults, locales, and plugins fromweb_url_read — Read URL content as markdown with content-type-aware handling and advanced extraction optionsThe server is distributed via npm as mcp-searxng, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Before the server will start you need to supply 6 environment variables: SEARXNG_URL, SEARXNG_HTML_FALLBACK, YOUR_SEARXNG_INSTANCE_URL, FLARESOLVERR_URL, BYPARR_URL, MCP_HTTP_HOST. Keep credentials in your client's env block or a secrets manager rather than committing them.
Knowledge and memory servers address the most frustrating trait of language models — walking into every conversation with no recollection of the last one. MCP Searxng sits in that group, and the shape of its toolset — searxng_web_search, Inputs, searxng_search_suggestions among others — tells you what it is really for. Worth comparing against the other knowledge memory servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| searxng_web_search | Execute web searches with pagination |
| Inputs | - query (string): The search query. This string is passed to external search services. |
| searxng_search_suggestions | Get autocomplete suggestions for refining search queries |
| searxng_instance_info | Discover categories aggregated from reachable configured SearXNG instances, optionally include engine names, and inspect defaults, locales, and plugins from the primary reachable instance. Categories—and engines when req |
| web_url_read | Read URL content as markdown with content-type-aware handling and advanced extraction options |
{
"mcpServers": {
"searxng": {
"command": "npx",
"args": ["-y", "mcp-searxng"],
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| SEARXNG_URL | Endpoint or connection string the server talks to. | Yes |
| SEARXNG_HTML_FALLBACK | Configuration value read at startup. | Optional |
| YOUR_SEARXNG_INSTANCE_URL | Endpoint or connection string the server talks to. | Yes |
| FLARESOLVERR_URL | Endpoint or connection string the server talks to. | Yes |
| BYPARR_URL | Endpoint or connection string the server talks to. | Yes |
| MCP_HTTP_HOST | Endpoint or connection string the server talks to. | Optional |
A knowledge graph your assistant keeps between sessions — entities, relations and observations that persist.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Your workspace, on speaking terms with AI — search, read and write Notion pages and databases.
A structured scratchpad for hard problems — stepwise reasoning with revisions, branches and visible logic.
Symbol-level code navigation, refactoring and memory for coding agents — the IDE brain your assistant has been missing.
Chat with your second brain — search, read and write vault notes through the Local REST API.