MCP ExplorerExplorer

Mcp Searxng

@SecretiveShellon 9 months ago
69 MIT
FreeCommunity
AI Systems
# MCP Server MCP Server is used to connect autonomous systems to search systems via searXNG.

Overview

What is Mcp Searxng

MCP-searxng is an MCP server designed to connect agentic systems to search systems through the use of searXNG, enabling efficient web searches.

Use cases

Use cases for MCP-searxng include enhancing search capabilities in agentic systems, providing a privacy-focused search experience, and enabling developers to integrate search functionalities into their applications.

How to use

To use MCP-searxng, configure your client JSON to include the MCP server details, either by using the ‘uvx’ command or by cloning the repository and running the main.py script. Ensure to set the SEARXNG_URL environment variable to point to your searXNG server.

Key features

Key features of MCP-searxng include seamless integration with searXNG for web searches, customizable server configurations, and the ability to run locally or through a client.

Where to use

undefined

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers