Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyWeb and browser

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

NameWhat it isRequired
SEARXNG_URLURL of your SearXNG instanceYes
AUTH_USERNAMELegacy global SearXNG Basic Auth usernameNo
AUTH_PASSWORDLegacy global SearXNG Basic Auth passwordNo

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 filters
  • searxng_search_suggestions: complete or refine a query
  • searxng_instance_info: see categories, engines and defaults
  • web_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

Node.js 22 or later (or Docker) and a SearXNG instance with JSON output enabled. Set its address in SEARXNG_URL.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

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.