MCP ExplorerExplorer

Searxng Mcp Server

@maccam912on 10 months ago
1 MIT
FreeCommunity
AI Systems
searxng-mcp-server runs a SearxNG instance using a specified URL.

Overview

What is Searxng Mcp Server

searxng-mcp-server is a server implementation of the SearxNG metasearch engine, designed to provide users with a privacy-focused search experience by aggregating results from various search engines.

Use cases

Use cases include creating a private search engine for a specific organization, integrating into applications that require search functionalities without compromising user privacy, and providing a customizable search experience for end-users.

How to use

To use searxng-mcp-server, run the command ‘uv run https://raw.githubusercontent.com/maccam912/searxng-mcp-server/refs/heads/main/server.py --url https://searxng.example.com’ in your terminal to start the server.

Key features

Key features include privacy protection, customizable search engine sources, and the ability to aggregate results from multiple search engines into a single interface.

Where to use

searxng-mcp-server can be used in various fields including web development, privacy-focused applications, and by organizations looking to provide secure search capabilities to their users.

Content

SearXNG MCP Server

A Model Control Protocol (MCP) server for SearXNG, allowing AI assistants to search the web through a SearXNG instance.

Features

  • Search the web using SearXNG via simple API calls
  • Get information about available search engines
  • Configure search parameters including categories, languages, and safe search settings

Usage in MCP Configuration

Docker Usage

You can run this MCP server using Docker:

# Build the Docker image
docker build -t searxng-mcp-server .

# Run the container
# Replace https://searxng.example.com with your actual SearXNG instance URL
docker run -p 8080:8080 searxng-mcp-server

API Tools

Search

def search(query: str, categories: Optional[str] = None, engines: Optional[str] = None, 
           language: Optional[str] = None, page: int = 1, time_range: Optional[str] = None,
           safe_search: int = 1)

Get Available Engines

def get_available_engines()

Local Development

Requirements:

  • Python 3.11+
  • uv (Python package manager)
# Install dependencies
uv sync

# Run the server
uv run server.py --url https://searxng.example.com

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers