SearXNG MCP Server
Provides web search capabilities through SearXNG instances, including general and category-specific search (images, videos, news, etc.), engine selection, time filtering, and engine discovery.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SearXNG MCP Serversearch the web for latest renewable energy news"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SearXNG MCP Server
A Model Context Protocol (MCP) server that provides web search capabilities through SearXNG instances.
Features
🔍 Web Search — Query any SearXNG instance for general web results
📁 Category-Specific Search — Search images, videos, news, music, science, etc.
⚙️ Engine Selection — Use specific search engines (Google, Bing, DuckDuckGo, etc.)
🕐 Time Filtering — Filter results by day, week, month, or year
📋 Engine Discovery — List all available SearXNG engines
Related MCP server: SearXNG MCP Server
Installation
From PyPI (when published)
pip install searxng-mcp-serverFrom Source
git clone https://github.com/<username>/searxng-mcp-server.git
cd searxng-mcp-server
pip install -e ".[dev]"Configuration
Set the following environment variables:
Variable | Description | Default |
| SearXNG instance URL |
|
| Comma-separated engine list | (none — uses all) |
| Search language code |
|
Example:
export SEARXNG_URL="http://localhost:8888"
export SEARXNG_ENGINES="google,bing,duckduckgo"
export SEARXNG_LANG="zh-TW"Usage with Hermes Agent
Add to ~/.hermes/config.yaml:
mcp_servers:
searxng:
command: "uv"
args: ["run", "--directory", "/path/to/searxng-mcp-server", "searxng-mcp"]
env:
SEARXNG_URL: "https://search.sapti.me"Usage with Claude Desktop / Cursor / VS Code
Add to your MCP configuration:
{
"mcpServers": {
"searxng": {
"command": "uv",
"args": ["run", "--directory", "/path/to/searxng-mcp-server", "searxng-mcp"],
"env": {
"SEARXNG_URL": "https://search.sapti.me"
}
}
}
}Available Tools
search_web
Search the web using a SearXNG instance.
Parameters:
query(string, required): The search querymax_results(int, optional): Maximum results to return (default: 10)time_range(string, optional): Filter by time — 'day', 'week', 'month', 'year'
search_specific
Search using specific categories and/or engines.
Parameters:
query(string, required): The search querycategories(list of strings, optional): Categories to search (general, images, videos, news, music, files, it, science, social media)engines(list of strings, optional): Specific engines to usemax_results(int, optional): Maximum results (default: 10)time_range(string, optional): Time filter
search_by_category
Search a specific SearXNG category.
Parameters:
query(string, required): The search querycategory(string, optional): Category to search (default: 'general')max_results(int, optional): Maximum results (default: 10)
list_engines
List all available SearXNG search engines from searxng.org.
Parameters: None
Development
# Install dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/
# Lint with ruff
ruff check src/ tests/Public SearXNG Instances
You can use any public or self-hosted SearXNG instance. Some public instances:
https://search.sapti.mehttps://searx.behttps://search.ononoki.org
⚠️ Note: Public instances may have rate limits or be unreliable. For production use, consider self-hosting your own SearXNG instance.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables privacy-respecting web searches through SearXNG metasearch engine with customizable parameters like language, time range, categories, and engines. Supports safe search levels, pagination control, and basic authentication for secure search operations.12MIT
- Flicense-qualityDmaintenanceEnables AI agents to perform privacy-respecting web searches through SearXNG, with support for multiple search engines, categories, and advanced filtering options.24
- AlicenseAqualityDmaintenanceEnables web search, image search, and news search through a self-hosted SearXNG instance. Provides privacy-focused meta-search capabilities aggregating results from multiple search engines.31MIT
- FlicenseAqualityDmaintenanceEnables web search capabilities via a SearXNG instance, allowing for filtered searches across categories like news, images, and science. It supports multi-language queries, time-range filtering, and safe search options to provide formatted results with metadata.1
Related MCP Connectors
x402-gated web search gateway. Tools: search, search_enriched.
Serper MCP — wraps the Serper Google Search API (serper.dev)
Web search, news, page retrieval, sitemaps, and trending topics through Search1API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Monday-coding/searxng-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server