Skip to content
MCP server

SearXNG MCP Server

Thirteen search and crawl tools for a self-hosted SearXNG instance, no API keys

Runs locally

SearXNG MCP Server is an open-source MCP server for web search and scraping. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted
Runs
Locally
Version
1.1.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add searxng-mcp-server -- npx -y searxng-mcp-server

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "searxng-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "searxng-mcp-server"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "searxng-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "searxng-mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "searxng-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "searxng-mcp-server"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "searxng-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "searxng-mcp-server"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add searxng-mcp-server -- npx -y searxng-mcp-server

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.searxng-mcp-server]
command = "npx"
args = ["-y", "searxng-mcp-server"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "searxng-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "searxng-mcp-server"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "searxng-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "searxng-mcp-server"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user searxng-mcp-server npx -- -y searxng-mcp-server

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "searxng-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "searxng-mcp-server"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "searxng-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "searxng-mcp-server"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "searxng-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "searxng-mcp-server"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "searxng-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "searxng-mcp-server"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "searxng-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "searxng-mcp-server"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "searxng-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "searxng-mcp-server"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "searxng-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "searxng-mcp-server"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • SEARXNG_URLBase URL of the SearXNG instance
  • SEARXNG_TRANSPORTTransport: stdio (default) or http (Streamable HTTP, 2026-07-28 revision only)

About SearXNG MCP Server

The server sits between an MCP client and a SearXNG metasearch instance you run yourself, normally in Docker on localhost. Because queries go only to your own instance, the README says there are no signups, keys, rate limits or provider-side tracking.

Search results carry stable citation refs, so a model can call fetch_content with ref:N rather than repeat URLs. Beyond web search there are image, news, video, music and paper searches, a search-and-fetch combo, a robots-aware site crawler, query autocomplete, an instance doctor and an iterative deep_search that produces a cited dossier. Page fetches go straight to the public web with SSRF and DNS-rebind guards on every redirect, and web output is wrapped against prompt injection.

It runs over stdio by default; Streamable HTTP is opt-in, with an auth token and DNS-rebinding protection described in its HTTP guide. Node 22.19 or newer and Docker for SearXNG are required.

Tools this server provides (12)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 9 of 12 tools read data; 3 names don't say.

From the server's own tool labels and tool names; not verified by us.

searchName suggests: reads
Web search with ranked results and citation refs
image_searchName suggests: reads
Image search with links, thumbnails and metadata
news_searchName suggests: reads
News articles with dates and a freshness filter
video_searchName suggests: reads
Video search with thumbnails and duration
music_searchName suggests: reads
Music search with page and audio links
paper_searchName suggests: reads
Scientific publications with abstracts and DOI data
fetch_contentName suggests: reads
Fetch a page or ref as clean Markdown
search_and_fetchName suggests: reads
Search and fetch top results in one call
crawl_site
Crawl a site into a ref-addressed manifest
autocomplete
Query suggestions for a prefix
doctor
Check whether the SearXNG instance is the problem
deep_searchName suggests: reads
Iterative cited dossier for a question

What it does

Citation refs
Each result gets a session-stable ref that fetch_content can resolve to clean Markdown.
Many search types
Covers web, image, news, video, music and scientific paper search.
Search and fetch
search_and_fetch returns the full content of top results in one call.
Site crawling
crawl_site walks a site same-origin from a seed URL, honouring robots rules.
Deep search dossier
deep_search iterates over a question and returns a cited dossier.
Instance doctor
doctor checks whether the SearXNG instance is the problem.
Hardened output
SSRF guarding on redirects and prompt-injection wrapping on web output.

Good for

  • Give an assistant private web search backed by your own SearXNG
  • Search for research papers and read their abstracts and PDF links
  • Crawl a documentation site into a manifest for later reading
  • Research a question and get a dossier with citations

Pricing

Open source

Free; you host SearXNG yourself

SearXNG MCP Server FAQ

Does SearXNG MCP Server need API keys?

No. It talks to your own SearXNG instance, which needs none.

What do I need to run SearXNG MCP Server?

Node 22.19 or newer, plus Docker for the bundled SearXNG stack.

Can I use SearXNG MCP Server remotely?

Yes. Streamable HTTP is opt-in via the --transport http flag; stdio is the default.

Is the SearXNG API safe to expose?

The README warns that the API is unauthenticated, so the bundled compose file binds to 127.0.0.1 only.

Is SearXNG MCP Server free?

Yes. SearXNG MCP Server is open source, so you can use and self-host it for free.

How do I add SearXNG MCP Server to Claude Code?

Run this command in your terminal: claude mcp add searxng-mcp-server -- npx -y searxng-mcp-server

What are the best alternatives to SearXNG MCP Server?

The closest alternatives to SearXNG MCP Server are Scrapling MCP Server, Firecrawl MCP Server, Douyin_TikTok_Download_API, SearXNG Search and acrawl.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers