SearXNG MCP Server logo

SearXNG MCP Server

by ihor-sokoliuk

This is an MCP server implementation that integrates the SearxNG API, providing web search capabilities. It allows users to perform web searches with pagination support.

View on GitHub

Last updated: N/A

What is SearXNG MCP Server?

The SearXNG MCP Server is an implementation of the Model Context Protocol (MCP) that leverages the SearxNG API to enable web search functionality within MCP-compatible applications.

How to use SearXNG MCP Server?

To use the server, you need to configure the SEARXNG_URL environment variable to point to a SearxNG instance. You can install it via Smithery, NPX, NPM, or Docker, and then configure your MCP config file accordingly. The server provides a searxng_web_search tool that accepts a query, count, and offset as inputs.

Key features of SearXNG MCP Server

  • Web Search

  • Pagination

  • Configurable SearxNG Instance

  • Integration with MCP

Use cases of SearXNG MCP Server

  • General web search queries

  • News and article retrieval

  • Integrating web search into AI assistants

  • Automated information gathering

FAQ from SearXNG MCP Server

What is SearxNG?

SearxNG is a free internet metasearch engine which aggregates results from various search engines and databases while respecting users' privacy.

How do I set the SEARXNG_URL?

You can set the SEARXNG_URL environment variable to the URL of your chosen SearxNG instance. If you don't set it, the default value http://localhost:8080 will be used.

Can I use a local SearxNG instance?

Yes, you can run a SearxNG instance locally and point the SEARXNG_URL to it.

What inputs does the searxng_web_search tool accept?

The searxng_web_search tool accepts a query (string), count (number, optional), and offset (number, optional) as inputs.

What license is this server under?

This MCP server is licensed under the MIT License.