Skip to content

A MCP server implementation for SearXNG, designed to enhance search result processing and context-aware querying.

License

Notifications You must be signed in to change notification settings

intMeric/searxng-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

searxng-mcp-server

A Model Context Protocol (MCP) server for SearXNG integration. Provides search tools for MCP-compatible clients and applications.

Requirements

  • Go 1.23+
  • Docker (for auto-launch)
  • SearXNG instance (auto-launched or external)

Installation

go build -o bin/searxng-mcp-server ./cmd/mcp-server

Usage

# Default (expects SearXNG on localhost:8888)
./bin/searxng-mcp-server

# Custom SearXNG URL
./bin/searxng-mcp-server -url http://your-searxng.com

# Auto-launch SearXNG container (Unix/Linux only)
./bin/searxng-mcp-server -auto-launch

MCP Tools

  • search - Simple web search
  • search_category - Search by category (images, videos, news, etc.)
  • search_advanced - Advanced search with language, time range, pagination

Claude Desktop Configuration

Add to your Claude Desktop config:

{
  "mcpServers": {
    "searxng": {
      "command": "/path/to/bin/searxng-mcp-server",
      "args": ["-auto-launch"]
    }
  }
}

Development

# Run tests
go test -v ./...

# Test specific package
go test -v ./pkg/searxng

# Test with coverage
go test -v -cover ./...

Architecture

  • /cmd/mcp-server/ - Main application
  • /pkg/searxng/ - SearXNG client library
  • /internal/mcp/ - MCP server and tools implementation

License

MIT

About

A MCP server implementation for SearXNG, designed to enhance search result processing and context-aware querying.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages