by ihor-sokoliuk
mcp-searxng is an MCP (Model Context Protocol) server that integrates with SearXNG to provide web search capabilities for AI models and applications.
mcp-searxng is an MCP (Model Context Protocol) server designed to integrate the SearXNG API, enabling AI models and applications to perform web searches. It acts as a bridge, allowing AI agents to leverage SearXNG's search functionalities.
mcp-searxng can be used by setting up the SEARXNG_URL
environment variable to point to a SearXNG instance (either public or local). Authentication can be configured using AUTH_USERNAME
and AUTH_PASSWORD
for protected instances. It can be installed and used via Smithery, NPX, NPM, or Docker, with detailed instructions provided for each method, including configuration examples for claude_desktop_config.json
.
searxng_web_search
for executing web searches and web_url_read
for reading and converting URL content to markdown.Q: What is SearXNG? A: SearXNG is a free internet metasearch engine which aggregates results from various search services and databases.
Q: Do I need my own SearXNG instance to use mcp-searxng? A: No, you can use a public SearXNG instance from searx.space or set up your own local instance.
Q: How do I configure authentication for a protected SearXNG instance?
A: You can set the AUTH_USERNAME
and AUTH_PASSWORD
environment variables with your credentials.
Q: What is the web_url_read
tool used for?
A: The web_url_read
tool is used to fetch content from a given URL and convert it into markdown format, which can be useful for AI models to process web page content.
An MCP server implementation that integrates the SearXNG API, providing web search capabilities.
searxng_web_search
query
(string): The search query. This string is passed to external search services.pageno
(number, optional): Search page number, starts at 1 (default 1)time_range
(string, optional): Filter results by time range - one of: "day", "month", "year" (default: none)language
(string, optional): Language code for results (e.g., "en", "fr", "de") or "all" (default: "all")safesearch
(number, optional): Safe search filter level (0: None, 1: Moderate, 2: Strict) (default: instance setting)web_url_read
url
(string): The URL to fetch and processSEARXNG_URL
environment variable to the instance URL.SEARXNG_URL
value is http://localhost:8080
.If you are using a password protected SearxNG instance you can set a username and password for HTTP Basic Auth:
AUTH_USERNAME
environmental variable to your usernameAUTH_PASSWORD
environmental variable to your passwordTo install SearxNG Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ihor-sokoliuk/server-searxng --client claude
{
"mcpServers": {
"searxng": {
"command": "npx",
"args": [
"-y",
"mcp-searxng"
],
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}
npm install -g mcp-searxng
And then in your MCP config file:
{
"mcpServers": {
"searxng": {
"command": "mcp-searxng",
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}
docker pull isokoliuk/mcp-searxng:latest
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"searxng": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SEARXNG_URL",
"isokoliuk/mcp-searxng:latest"
],
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}
docker build -t mcp-searxng:latest -f Dockerfile .
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"searxng": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"SEARXNG_URL",
"mcp-searxng:latest"
],
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by exa-labs
Provides a Model Context Protocol server that enables AI assistants to perform real‑time web searches via the Exa AI Search API, with optional company research, LinkedIn lookup, and deep research workflows.
by perplexityai
Provides real-time web search capabilities to AI models via the Perplexity Sonar API, enabling seamless integration within the Model Context Protocol ecosystem.
by brightdata
Provides real‑time web access, bypasses geo‑restrictions, handles bot detection, and offers browser automation for LLMs and AI agents via the Model Context Protocol.
by mamertofabian
mcp-everything-search is a cross-platform MCP server that provides fast and flexible file searching capabilities. It leverages native system tools to efficiently locate files and folders across Windows, macOS, and Linux.
by kagisearch
Provides web search and video summarization capabilities via the Model Context Protocol, integrating with Claude and other AI tools.
by apify
mcp-server-rag-web-browser is an MCP server for the RAG Web Browser Actor, enabling AI agents and LLMs to perform web searches and extract information from web pages.
by fatwang2
Provides web and news search, URL crawling, sitemap extraction, reasoning, and trending tools via Search1API, exposed as an MCP server for seamless integration with clients such as LibreChat, Claude Desktop, Cursor, and other MCP‑compatible tools.
by meilisearch
Enables LLMs to manage Meilisearch indexes, perform searches, and handle documents through natural‑language conversations via a Model Context Protocol server.
by adityak74
mcp-scholarly is a MCP server designed to facilitate the search for accurate academic articles, initially supporting arXiv and with plans to integrate more scholarly vendors.