SearXNG

v1.0.0Search & Data Extractionstable

Integrates with SearXNG metasearch engine to provide powerful web search capabilities across multiple search engines with filtering options for categories, languages, time ranges, and safe search levels. Enables comprehensive web searches, autocomple

mcpsearxngsearchmeta-searchclaude
Share:
41
Stars
0
Downloads
0
Weekly
0/5

What is SearXNG?

SearXNG is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to integrates with searxng metasearch engine to provide powerful web search capabilities across multiple search engines with filtering options for categories, languages, time ranges, and safe search leve...

Integrates with SearXNG metasearch engine to provide powerful web search capabilities across multiple search engines with filtering options for categories, languages, time ranges, and safe search levels. Enables comprehensive web searches, autocomple

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Integrates with SearXNG metasearch engine to provide powerfu

Use Cases

Search across multiple engines with SearXNG metasearch.
Filter results by category, language, and time range.
Perform comprehensive web searches with safe search options.
tisDDM

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedMay 16, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @kevinwatt/mcp-server-searxng

Manual Installation

npx -y @kevinwatt/mcp-server-searxng

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use SearXNG

The SearXNG MCP Server bridges AI assistants with the SearXNG privacy-respecting metasearch engine, which aggregates results from dozens of search engines simultaneously. It exposes a single configurable search tool that supports filtering by language, time range, category, safe search level, and specific engines, with results paginated and capped at 50 per query. You would use this server when you want AI-powered web search without sending queries to a single commercial provider, either using a public SearXNG instance or your own self-hosted one.

Prerequisites

  • Node.js v16 or higher and npm v7 or higher
  • A SearXNG instance URL (public instances available; a self-hosted instance is recommended for reliability)
  • Claude Desktop or another MCP-compatible client
  • Optional: basic auth credentials if using a password-protected private SearXNG instance
1

Install via npm

Install the SearXNG MCP server package from npm. You can install it globally or use npx to run it on demand.

# Install globally
npm install -g @kevinwatt/mcp-server-searxng

# Or run directly with npx (no install)
npx -y @kevinwatt/mcp-server-searxng
2

Identify your SearXNG instance URL

Choose a SearXNG instance. For production use, self-hosting is recommended since public instances can return 429 errors under load. If you do not set SEARXNG_URL, the server selects a random public instance automatically.

# Example public instances (may have rate limits)
https://searx.be
https://search.disroot.org

# Self-hosted (recommended)
https://your-searxng.example.com
3

Configure Claude Desktop

Add the server to your Claude Desktop config. Set SEARXNG_URL to point to your chosen instance. Omit it to use automatic public instance selection.

{
  "mcpServers": {
    "searxng": {
      "command": "npx",
      "args": ["-y", "@kevinwatt/mcp-server-searxng"],
      "env": {
        "SEARXNG_URL": "https://your-searxng-instance.example.com",
        "USE_RANDOM_INSTANCE": "false"
      }
    }
  }
}
4

Restart Claude Desktop

Quit and reopen Claude Desktop so the new server configuration is loaded and the searxngsearch tool becomes available.

5

Test a basic search

Ask Claude to search for something. The searxngsearch tool will be called with your query and the configured instance URL.

SearXNG Examples

Client configuration

Claude Desktop config using npx with a specific SearXNG instance URL for reliable results.

{
  "mcpServers": {
    "searxng": {
      "command": "npx",
      "args": ["-y", "@kevinwatt/mcp-server-searxng"],
      "env": {
        "SEARXNG_URL": "https://your-searxng-instance.example.com",
        "USE_RANDOM_INSTANCE": "false",
        "SEARXNG_USERNAME": "",
        "SEARXNG_PASSWORD": ""
      }
    }
  }
}

Prompts to try

Example prompts that exercise the searxngsearch tool's filtering parameters.

- "Search for recent news about AI regulation published in the last month"
- "Find technical articles about Kubernetes networking, limit to 10 results"
- "Search for Python tutorials with safe search enabled"
- "Look up climate change research using only academic and science categories"
- "Search for 'open source LLMs' and filter results to English language only"

Troubleshooting SearXNG

Search returns 429 Too Many Requests error

Public SearXNG instances have rate limits. Set SEARXNG_URL to a self-hosted instance or a less-popular public instance. Setting USE_RANDOM_INSTANCE to true allows the server to try different public instances automatically.

No results returned for a valid query

The configured SearXNG instance may be offline or filtering your query. Test the instance URL directly in a browser. If using a private instance with auth, confirm SEARXNG_USERNAME and SEARXNG_PASSWORD are set correctly in the env config.

Tool not appearing after configuration

Ensure Node.js v16+ is installed and the npx command is accessible. Run 'npx -y @kevinwatt/mcp-server-searxng' in a terminal to verify it starts without errors, then restart Claude Desktop.

Frequently Asked Questions about SearXNG

What is SearXNG?

SearXNG is a Model Context Protocol (MCP) server that integrates with searxng metasearch engine to provide powerful web search capabilities across multiple search engines with filtering options for categories, languages, time ranges, and safe search levels. enables comprehensive web searches, autocomple It connects AI assistants to external tools and data sources through a standardized interface.

How do I install SearXNG?

Install via npm with the command: npx -y @kevinwatt/mcp-server-searxng. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with SearXNG?

SearXNG works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is SearXNG free to use?

Yes, SearXNG is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

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

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use SearXNG?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides