MCP Server for SearxNG
Project description
SearxNG MCP Server
A Model Context Protocol (MCP) server that provides search capabilities through SearxNG, the privacy-respecting metasearch engine.
PyPi: https://pypi.org/project/searxng-mcp-server/#description
Usage
Using uvx
You can also just pip install this but we recommend using uv.
# With command line argument
uvx searxng-mcp-server --searxng-url https://searx.be
# With environment variable
SEARXNG_URL=https://searx.be uvx searxng-mcp-server
Package link: https://pypi.org/project/searxng-mcp-server/
Using Docker/Podman
# With command line argument
podman run --rm -i docker.io/icewreck/searxng-mcp-server:latest --searxng-url https://searx.be
# With environment variable
podman run --rm -i -e SEARXNG_URL=https://searx.be docker.io/icewreck/searxng-mcp-server:latest
Usage as Library
You can also use the SearxNG client directly in your Python projects. The client is fully async and requires async/await syntax.
For detailed examples, see the examples/client_example.py file in the repository.
The SearxNGClient can be easily integrated into custom AI agents as a search tool. All search methods are async and return structured response objects.
Available Tools
search_web: General web search with language and time filteringsearch_images: Image search across multiple search enginessearch_videos: Video search from various platformssearch_news: News search with time range filteringfetch_url: Fetch content from a URL and convert it to markdown
Configuration
The server requires a SearxNG instance URL. You can provide it via:
- Environment Variable:
SEARXNG_URL=https://your-searxng-instance.com - Command Line Argument:
--searxng-url https://your-searxng-instance.com
Optional: SEARXNG_TIMEOUT (default: 30), SEARXNG_USER_AGENT, LOG_LEVEL
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_mcp_server-0.1.5.tar.gz.
File metadata
- Download URL: searxng_mcp_server-0.1.5.tar.gz
- Upload date:
- Size: 89.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80a6c42672000c0b9ecbcdb5c1b894bcfe4a806da5707dedc5e9ddc3cc973e2f
|
|
| MD5 |
974d060489e68629a8a519b5b7d5d87b
|
|
| BLAKE2b-256 |
f507a1e6da8dbf30ac95dec4da621c8bdfbedd2f395c4519222a88046e02e4fb
|
File details
Details for the file searxng_mcp_server-0.1.5-py3-none-any.whl.
File metadata
- Download URL: searxng_mcp_server-0.1.5-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ffa72d3468d0119ed4cb5dfa259cf15091d518434aa832efe3a6b33a5cb4349
|
|
| MD5 |
dfc2d83fcb182f5caea99a8c99e881ff
|
|
| BLAKE2b-256 |
93d2ed515a59f48eb2ad0be896b47b14e6db045d147dfcd6e023cdb224d50fae
|