# Sifthound [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/khsarvar/sifthound  
**GitHub Stars:** 3  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sifthound

## Description
Self-hosted, Tavily-compatible web search, extract, crawl and map tools for AI agents.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "sifthound": {
    "command": "uvx",
    "args": ["siftdog"],
    "env": {
      "SEARXNG_URL": "",
      "API_KEYS": "",
      "ANTHROPIC_API_KEY": "",
      "MCP_ALLOWED_HOSTS": ""
    }
  }
}
```

**Requires environment variables:** `SEARXNG_URL`, `API_KEYS`, `ANTHROPIC_API_KEY`, `MCP_ALLOWED_HOSTS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the Sifthound MCP server does

The Sifthound MCP server gives AI agents four read-only tools: `siftdog_search`, `siftdog_extract`, `siftdog_crawl`, and `siftdog_map`. Despite the directory listing name, the supplied project documentation identifies the implementation as Siftdog. The tools cover web search, extracting readable content from pages, recursively crawling sites, and building site maps.

Search is backed by a SearXNG metasearch instance, so the service does not require a dedicated search API key. Page content is processed with trafilatura and can be returned as clean Markdown or text. Search ranking combines BM25 relevance with the order supplied by the upstream search engine. The advanced search mode fetches pages and returns their most relevant chunks.

The server can also produce an answer from retrieved results when `include_answer` is requested and an Anthropic API key is configured. Crawling and mapping support depth, breadth, result limits, and regular-expression filters for paths or domains.

## How it works

The Sifthound MCP server is available in two deployment modes. A running HTTP instance exposes MCP at `/mcp` using Streamable HTTP. Local clients can instead start `siftdog mcp` over stdio, including through `uvx`, without separately launching the HTTP API. Search requires access to SearXNG; extraction, crawling, and mapping can operate without that search dependency.

The same application also provides Tavily-compatible REST endpoints at `/search`, `/extract`, `/crawl`, and `/map`. Existing Tavily client code can point its base URL at the self-hosted instance. MCP clients call the corresponding read-only tools rather than using those endpoints directly.

Requests that fetch caller-supplied URLs are protected against server-side request forgery. Private, loopback, and link-local addresses are blocked, including checks across redirects and DNS rebinding attempts. HTTP MCP access accepts localhost by default; additional hostnames must be listed in `MCP_ALLOWED_HOSTS`.

## Setup and configuration

A Docker Compose setup can launch the application together with SearXNG. The application can also run from the published container image or from Python after installing the `siftdog` package. For a standalone image or pip installation, set `SEARXNG_URL` to a SearXNG instance with JSON output enabled when search is needed.

Set `API_KEYS` to protect the API and MCP service with bearer authentication. Clients that cannot set headers may pass a key as the `api_key` query parameter, although headers are preferred because URLs can be logged. Configure `ANTHROPIC_API_KEY` only when answer generation is required. Configuration may come from environment variables or a `.env` file.

For stdio, configure the client to run `uvx siftdog mcp` and pass `SEARXNG_URL` in the process environment. For HTTP, connect the client to `http://host:8000/mcp` and add an authorization header when API keys are enabled.

## Tools and capabilities

- `siftdog_search`: searches through SearXNG, with standard and advanced depth options.
- `siftdog_extract`: retrieves readable page content as Markdown or text.
- `siftdog_crawl`: follows pages within crawl depth, breadth, limit, and filtering constraints.
- `siftdog_map`: discovers and maps pages within a site using similar controls.
- Optional answer generation uses retrieved search results and Claude when configured.

## Limitations and notes

The Sifthound MCP server does not render JavaScript, so pages that require browser execution may not provide complete content. Search quality depends on the configured SearXNG instance and the public engines it queries; upstream engines can rate-limit or challenge requests, causing partial results or a `502` response when all engines fail.

Its ranking uses BM25 rather than Tavily's neural reranking. The documented Tavily-compatible surface does not implement `/research`; some accepted Tavily fields, including crawl/map `instructions` and search `include_image_descriptions`, are ignored. Teams must also operate the application and, for search, a SearXNG instance themselves. The project is MIT licensed.

_Full upstream README: https://allmcps.com/mcp/sifthound/readme_

