Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

searXNG

A network search server based on MCP technology, providing privacy-friendly web search functionality using the SearXNG search engine.

Features

This server provides the following main features:

  • Web search via multiple search engines
  • Supports various search categories (general, images, news, etc.)
  • Customizable search engine selection
  • Language filtering
  • Time range filtering
  • Control over the number of search results

Available Tools

  • web_search - Perform web search using SearXNG
    • Required parameters:
      • query (string): The search query
    • Optional parameters:
      • categories (array): Search categories, e.g. ['general', 'images', 'news']
      • engines (array): Search engines, e.g. ['google', 'bing', 'duckduckgo']
      • language (string): Language code for search, default is "en"
      • max_results (integer): Maximum number of results, default is 10
      • time_range (string): Time range filter ('day', 'week', 'month', 'year')

Installation

Install via pip

# Install
pip install searXNG

# Get the latest version
pip install -U searXNG

Usage Example

Configure as an MCP Service

Add the following to your MCP configuration:

"mcpServers": {
  "searxng": {
    "command": "uvx",
    "args": ["searxng", "--instance-url=https://searx.party"]
  }
}

Example Invocation

{
  "name": "web_search",
  "arguments": {
    "query": "climate change research",
    "categories": ["general"],
    "engines": ["google"],
    "language": "en",
    "max_results": 15,
    "time_range": "month"
  }
}

Debugging

You can use the MCP inspector to debug the server:

npx @modelcontextprotocol/inspector uv run searxng

License

AGPLv3+ License - see LICENSE for details.

Release files for searXNG 0.0.0.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for searXNG 0.0.0.dev0
File Size Uploaded
searxng-0.0.0.dev0.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for searXNG 0.0.0.dev0
File Interpreter ABI Platform
searxng-0.0.0.dev0-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / searxng-0.0.0.dev0.tar.gz

Download URL searxng-0.0.0.dev0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a4052f398a3e1281a3deb9b120da29986f2a8e91dc1f2981b78d32ffbf436f8a
BLAKE2b-256 checksum
How to use checksums
1c4c07ff0b1e8191a858c6ee24b02c94bfe264d0ada24199ecaa68f1a86f01fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / searxng-0.0.0.dev0-py3-none-any.whl

Download URL searxng-0.0.0.dev0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbe1aaa868e09c54ea1dbab1c15261fbfad6e546196b8d221224de8230381636
BLAKE2b-256 checksum
How to use checksums
5aebfc8baeeb3e3f7052927c30840be1c978f4b3d8ad9fe29722e68f24c2b9aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.0.0.dev0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page