SearXNG Search
Lets your AI agent search the web through a SearXNG instance and read web pages and PDFs.
1.3k stars on GitHubby Ihor SokoliukLicense MITUpdated 20 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add searxng -e SEARXNG_URL="<your value>" -- npx -y mcp-searxng
What to fill in
| Name | What it is | Required |
|---|---|---|
SEARXNG_URL | URL of your SearXNG instance | Yes |
AUTH_USERNAME | Legacy global SearXNG Basic Auth username | No |
AUTH_PASSWORD | Legacy global SearXNG Basic Auth password | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Search for the latest SearXNG documentation and summarize the first results.
Read this URL and give me the main points.
What it is
This server connects your AI assistant to a SearXNG search instance, so it can run web searches without a paid search API. It can also read a web page or PDF as text. It does not install SearXNG; you use your own or a trusted one.
What it can do
searxng_web_search: search with pagination and filterssearxng_search_suggestions: complete or refine a querysearxng_instance_info: see categories, engines and defaultsweb_url_read: read a known URL as text or Markdown
When to use
- βΊWhen you want your agent to search the web without a paid search API key.
- βΊWhen you want searches to go through a SearXNG instance you control.
- βΊWhen you want the agent to read a specific page or PDF.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
searxngHelps your agent search the web privately through a SearXNG instance, choosing the right category and citing sources.keenable-searchLets your agent search the web and read pages without an API key, returning a text snippet for each result and full text for any known URL.searxng-searchLets your agent run free web searches through SearXNG, which combines results from more than 70 search engines.Frequently asked questions
Is it free?
The readme says this server needs no paid search-vendor API key. You still operate or choose the SearXNG instance.
Does it include SearXNG?
No. It connects to an existing SearXNG instance with JSON search enabled.
Is it private?
Privacy depends on the SearXNG instance. A public instance receives and may log your queries.
How do I install it?
Use npx -y mcp-searxng, the npm global install, or the Docker image isokoliuk/mcp-searxng.
Can it run over HTTP?
Yes, with Streamable HTTP and optional bearer or OAuth protection.
Why do I get 403 Forbidden?
JSON output may be disabled on SearXNG, or an access rule blocked the request.
If it does not work
- βΊSet SEARXNG_URL to your instance base URL and make sure JSON output is enabled in SearXNG.
- βΊIf the tools appear but search fails, test the SearXNG connection first; listing tools does not test it.
- βΊFor Docker, forward the variable with -e SEARXNG_URL and add it to env.
5 new skills a week. 1 minute to read.