MCP server providing SearXNG-based web search functionality
Project description
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 10time_range(string): Time range filter ('day', 'week', 'month', 'year')
- Required parameters:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file searxng-0.0.0.dev0.tar.gz.
File metadata
- Download URL: searxng-0.0.0.dev0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4052f398a3e1281a3deb9b120da29986f2a8e91dc1f2981b78d32ffbf436f8a
|
|
| MD5 |
da29fbb5ee76d881d115f14fc381d8c1
|
|
| BLAKE2b-256 |
1c4c07ff0b1e8191a858c6ee24b02c94bfe264d0ada24199ecaa68f1a86f01fc
|
File details
Details for the file searxng-0.0.0.dev0-py3-none-any.whl.
File metadata
- Download URL: searxng-0.0.0.dev0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbe1aaa868e09c54ea1dbab1c15261fbfad6e546196b8d221224de8230381636
|
|
| MD5 |
c55d08c069862d976f991335af1feba6
|
|
| BLAKE2b-256 |
5aebfc8baeeb3e3f7052927c30840be1c978f4b3d8ad9fe29722e68f24c2b9aa
|