MCP-searxng

MCP-searxng

By SecretiveShell GitHub

MCP server for connecting agentic systems to search systems via searXNG

mcp-searxng search-system
Overview

what is MCP-searxng?

MCP-searxng is a server designed to connect agentic systems to search systems using the searXNG framework, enabling efficient web searches.

how to use MCP-searxng?

To use MCP-searxng, configure your client JSON or clone the repository and run the server using the provided commands. Set the environment variable for the searXNG URL if needed.

key features of MCP-searxng?

  • Connects agentic systems to search systems seamlessly.
  • Utilizes the searXNG framework for web searches.
  • Customizable server URL for flexibility.

use cases of MCP-searxng?

  1. Integrating search capabilities into agentic systems.
  2. Enabling web searches for automated systems.
  3. Customizing search environments for specific applications.

FAQ from MCP-searxng?

  • What is searXNG?

SearXNG is a metasearch engine that aggregates results from various search engines.

  • How do I run the server?

You can run the server using the command uvx mcp-searxng after configuring your client JSON.

  • Can I customize the search URL?

Yes! You can set the SEARXNG_URL environment variable to your desired URL.

Content

MCP-searxng

An MCP server for connecting agentic systems to search systems via searXNG.

MCP SearxNG Badge

Tools

Search the web with SearXNG

Prompts

search(query: str) -> f"Searching for {query} using searXNG"

Usage

via uvx

  1. configure your client JSON like
{
  "mcpServers": {
    "searxng": {
      "command": "uvx", 
      "args": [
        "mcp-searxng"
      ]
    }
  }
}

via git clone

  1. Add the server to claude desktop (the entrypoint is main.py)

Clone the repo and add this JSON to claude desktop

you can run this server with uvx mcp-searxng, or use a local copy of the repo

{
  "mcpServers": {
    "searxng": {
      "command": "uv", 
      "args": [
        "--project",
        "/absoloute/path/to/MCP-searxng/",
        "run",
        "/absoloute/path/to/MCP-searxng/mcp-searxng/main.py"
      ]
    }
  }
}

you will need to change the paths to match your environment

Custom SearXNG URL

  1. set the environment variable SEARXNG_URL to the URL of the searxng server (default is http://localhost:8080)

  2. run your MCP client and you should be able to search the web with searxng

Note: if you are using claude desktop make sure to kill the process (task manager or equivalent) before running the server again

No tools information available.
mcp-searxng
mcp-searxng by erhwenkuo

About 一個用來讓 AI Agent 可透過 SearXNG 服務來搜尋外部網站內容與資訊的 MCP server 。

mcp-searxng meta-search
View Details