SearXNG

by aeon-seraph

1 stars
Not rated
GitHub

About

Enables language models to perform web searches through SearXNG, a privacy-focused metasearch engine, with customizable parameters like categories, time ranges, and pagination.

Details

Author
aeon-seraph
Repository
aeon-seraph/searxng-mcp
GitHub stars
1
License
MIT License
Categories
AI, Design, Developer Tools, Search, Infrastructure, Frontend
Tags
#mobile, #web

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name SearXNG
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 build/index.js
    Environment
    • CACHE_TTL 600000
    • SEARXNG_HOST localhost
    • SEARXNG_PORT 8888
    • MAX_CACHE_SIZE 100
    • SEARXNG_PROTOCOL http

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The server can be configured using environment variables:

| Variable | Description | Default |
|----------|-------------|---------|
| SEARXNG_PROTOCOL | Protocol to use (http/https) | http |
| SEARXNG_HOST | SearXNG host | localhost |
| SEARXNG_PORT | SearXNG port | 8888 |
| CACHE_TTL | Cache time-to-live in milliseconds | 600000 (10 minutes) |
| MAX_CACHE_SIZE | Maximum number of cached queries | 100 |

npm install

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "searxng": {
            "env": {
                "CACHE_TTL": "600000",
                "SEARXNG_HOST": "localhost",
                "SEARXNG_PORT": "8888",
                "MAX_CACHE_SIZE": "100",
                "SEARXNG_PROTOCOL": "http"
            },
            "args": [
                "build/index.js"
            ],
            "command": "node"
        }
    }
}

Linux

{
    "env": {
        "CACHE_TTL": "600000",
        "SEARXNG_HOST": "localhost",
        "SEARXNG_PORT": "8888",
        "MAX_CACHE_SIZE": "100",
        "SEARXNG_PROTOCOL": "http"
    },
    "args": [
        "build/index.js"
    ],
    "command": "node"
}

Macos

{
    "env": {
        "CACHE_TTL": "600000",
        "SEARXNG_HOST": "localhost",
        "SEARXNG_PORT": "8888",
        "MAX_CACHE_SIZE": "100",
        "SEARXNG_PROTOCOL": "http"
    },
    "args": [
        "build/index.js"
    ],
    "command": "node"
}

Windows

{
    "env": {
        "CACHE_TTL": "600000",
        "SEARXNG_HOST": "localhost",
        "SEARXNG_PORT": "8888",
        "MAX_CACHE_SIZE": "100",
        "SEARXNG_PROTOCOL": "http"
    },
    "args": [
        "build/index.js"
    ],
    "command": "node"
}

SearXNG Model Context Protocol Server

A Model Context Protocol (MCP) server for interfacing language models with SearXNG search engine.

Description

This server enables language models to perform web searches through SearXNG using the Model Context Protocol standard. It provides a clean interface for language models to send search queries to SearXNG and receive formatted results.

Installation

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.