mcp-searxng-tool

mcp-searxng-tool

3.3

mcp-searxng-tool is an MCP server that enables AI Agents to search external website content and information using the SearXNG service.

The mcp-searxng-tool is a Model Context Protocol (MCP) server designed to facilitate AI Agents in accessing and retrieving information from external websites through the SearXNG service. SearXNG is a privacy-respecting, open-source metasearch engine that aggregates results from various search engines. This tool allows AI Agents to perform searches and gather data efficiently, enhancing their ability to provide accurate and comprehensive responses. By integrating with SearXNG, the mcp-searxng-tool ensures that AI Agents can access a wide range of information sources while maintaining user privacy and data security.

Features

  • Integration with SearXNG: Connects AI Agents to the SearXNG metasearch engine for comprehensive search capabilities.
  • Privacy-focused: Ensures user privacy by utilizing SearXNG's privacy-respecting search features.
  • Open-source: Built on open-source technology, allowing for transparency and community-driven improvements.
  • Efficient data retrieval: Enables AI Agents to quickly access and process information from multiple sources.
  • Customizable search parameters: Allows for tailored search queries to meet specific information needs.

Usage with Different Platforms

python

python
import requests

class MCP_SearXNG_Tool:
    def __init__(self, searxng_url):
        self.searxng_url = searxng_url

    def search(self, query):
        params = {'q': query, 'format': 'json'}
        response = requests.get(self.searxng_url, params=params)
        return response.json()

# Example usage
searxng_tool = MCP_SearXNG_Tool('https://searxng.example.com')
results = searxng_tool.search('AI technology')
print(results)