原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Onion Search

作者:farbodghasemlu版本 1.0.1i★ –i在你的电脑上运行
注册名称io.github.farbodghasemlu/darkweb-mcp

安装

概览

作者提供的说明(英文原文)

Local, read-only onion search and text retrieval over Tor with content filtering.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CONTENT_FILTER, ENGINES, TOR_BRIDGES

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "darkweb": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CONTENT_FILTER",
        "-e",
        "ENGINES",
        "-e",
        "TOR_BRIDGES",
        "ghcr.io/farbodghasemlu/darkweb-mcp:1.0.1"
      ],
      "env": {
        "CONTENT_FILTER": "your-value",
        "ENGINES": "your-value",
        "TOR_BRIDGES": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add darkweb --env CONTENT_FILTER=your-value --env ENGINES=your-value --env TOR_BRIDGES=your-value -- docker run -i --rm -e CONTENT_FILTER -e ENGINES -e TOR_BRIDGES ghcr.io/farbodghasemlu/darkweb-mcp:1.0.1

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "darkweb": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CONTENT_FILTER",
        "-e",
        "ENGINES",
        "-e",
        "TOR_BRIDGES",
        "ghcr.io/farbodghasemlu/darkweb-mcp:1.0.1"
      ],
      "env": {
        "CONTENT_FILTER": "your-value",
        "ENGINES": "your-value",
        "TOR_BRIDGES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "darkweb": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "CONTENT_FILTER",
        "-e",
        "ENGINES",
        "-e",
        "TOR_BRIDGES",
        "ghcr.io/farbodghasemlu/darkweb-mcp:1.0.1"
      ],
      "env": {
        "CONTENT_FILTER": "your-value",
        "ENGINES": "your-value",
        "TOR_BRIDGES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CONTENT_FILTER env
    Default content filtering for all tools
  • ENGINES env
    Comma-separated engine identifiers, or all
  • TOR_BRIDGES env
    Bridge lines separated by newlines or semicolons

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 farbodghasemlu 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5662 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5662 个服务器的 62% 更新
  • 基础检查结果等于或优于此分类中其他 5662 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Onion Search 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.1)于24天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT2个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

darkweb-mcp (onion-search-mcp)

A local Python stdio MCP server for searching onion services and reading pages through Tor. It provides five tools, eight search adapters, memory caches, and two MCP resources.

[!IMPORTANT]

Privacy: Use a local model for sensitive searches. Cloud models may receive your queries and fetched content through the MCP client. Check the client's logging, telemetry, and cloud fallback settings.

[!WARNING]

User responsibility: You are responsible for your actions and compliance with applicable laws. The authors and contributors disclaim liability for use or misuse of this software to the extent permitted by law.

Run

The two-container setup gives the MCP process an internal Docker network. Only the Tor container has an external route.

docker compose build

docker compose up -d tor docker compose run --rm --no-deps -T server

Wait for `docker compose ps` to show Tor as healthy before starting the server. The server uses stdin and stdout for MCP messages. Keep stdout attached to the client.

For a single container with Tor included:

docker run -i --rm --read-only --cap-drop ALL --security-opt no-new-privileges:true --tmpfs /tmp:rw,noexec,nosuid,size=96m,uid=10001,gid=10001,mode=1770 --memory 768m --cpus 2 onion-search-mcp:local

The bundled container has an external route because Tor needs one. Use Compose for network isolation between the server and Tor. Initial Tor bootstrap can take several minutes. For a local Python installation on Linux, install Tor and libseccomp2, then:

uv sync --frozen

uv run onion-search-mcp --bundled-tor

To use an existing Tor process, configure `SocksPort 9050 IsolateSOCKSAuth`, `ControlPort 9051`, and control authentication, then run `uv run onion-search-mcp`. Set `TOR_CONTROL_PASSWORD` or `TOR_COOKIE_FILE` if needed.

Content filtering switch

Filtering is enabled by default. Turn it off or on for the process with either environment configuration or CLI options:

CONTENT_FILTER=false uv run onion-search-mcp

uv run onion-search-mcp --no-content-filter uv run onion-search-mcp --content-filter CONTENT_FILTER=false docker compose run --rm --no-deps -T server

Each content tool also accepts `content_filter`. Pass `false` to disable filtering for that call, `true` to enable it, or omit it to use the process setting.
{"name":"onion_fetch","arguments":{"url":"http://YOUR_56_CHARACTER_ADDRESS.onion/","content_filter":false}}

The switch controls domain blocklists and keyword rules. Tor routing, URL validation, text-only retrieval, parser limits, and untrusted-content wrapping always apply. Search engines may apply their own filtering. Cache entries are separated by filter setting.

MCP client configuration

Start the Tor sidecar with docker compose up -d tor, then configure a stdio client:

{

"mcpServers": { "onion-search": { "command": "docker", "args": ["compose", "--project-directory", "/absolute/path/to/onion", "run", "--rm", "--no-deps", "-T", "server"] } } }

For the bundled image, use `docker run -i --rm onion-search-mcp:local` as the command and arguments. For Python, use `uv --directory /absolute/path/to/onion run --frozen onion-search-mcp`. Tool approval is configured in the client.

Tools

ToolArgumentsOutput
onion_searchquery, engines, limit=20, page=1, content_filterRanked results, agreement, source records, failed engines
onion_fetchurl, max_chars=20000, include_links=true, content_filterMarkdown text, title, links, response metadata
onion_statusurl, timeout_s=30, content_filterReachability, HTTP status, latency, error code
onion_linksurl, onion_only=true, content_filterOnion and optional clearnet links, without following them
tor_healthnoneSOCKS handshake, bootstrap percentage, Tor version

onion://engines lists enabled adapters, addresses, verification state, and latest observed health. onion://history contains the last 100 queries in this process. Both are memory resources. Sources include the engine, URL, UTC fetch time, and circuit ID when Tor reports one. A missing circuit ID is null. Cached sources retain the original fetch time. up=true means an HTTP response was received, including 4xx and 5xx responses. exit_check=false means no clearnet exit check was performed; onion services use no exit relay. Search queries are trimmed and capped at 256 characters. Limits are 1 to 50 results, pages 1 to 10000, fetch text 1 to 200000 characters, and status timeout 1 to 120 seconds. Only HTTP(S) URLs with a 56-character base32 onion host are accepted. Credentials, v2 hosts, IP hosts, other schemes, and clearnet redirects are rejected. Non-text responses return metadata and UNSUPPORTED_CONTENT without consuming their body. Blocked fetches return blocked=true and empty content. Blocked results and outbound links are omitted. Required keyword matches suppress a whole page. Known blocked domains inside returned text are redacted.

Configuration

VariableDefaultPurpose
TOR_SOCKS127.0.0.1:9050Numeric proxy IP and port; no local DNS
TOR_CONTROL127.0.0.1:9051Numeric control IP and port
TOR_CONTROL_PASSWORDunsetControl password; Compose provides a local default
TOR_COOKIE_FILEunsetSAFECOOKIE authentication file
TOR_BRIDGESemptyBridge lines separated by newlines or semicolons
ENGINESallComma-separated configured engine identifiers
ENGINES_FILEengines.yamlEngine configuration, with packaged fallback
BLOCKLIST_PATHSblocklists/csam.txtComma-separated plain-domain or MD5 blocklists
CONTENT_FILTERtrueDefault for all content tools
TERMS_FILEblocklists/terms.txtRequired term list, with packaged fallback
KEYWORD_FILTERfalseEnable additional keyword rules
FILTER_KEYWORDSemptyAdditional comma-separated literal terms
MAX_FETCH_BYTES5242880Limit on raw and decompressed response bytes
CACHE_TTL_S900Search TTL; zero disables both caches
FETCH_CACHE_TTL_S600Fetch TTL
CACHE_MAX_ENTRIES128Maximum entries per cache
CACHE_MAX_BYTES33554432Maximum serialized bytes per cache
ENGINE_RATE_LIMIT_S3Minimum interval per engine
JITTER_S2Maximum randomized fan-out delay
ENGINE_TIMEOUT_S25Per-engine deadline
SEARCH_TIMEOUT_S40Whole fan-out deadline
REQUEST_TIMEOUT_S40Total request deadline
LOG_QUERIESfalsetrue is rejected; no disk history

All eight adapters are enabled: ahmia, torch, haystak, onionland, tor66, excavator, deep_search, onion_search_engine. Addresses and request parameters live in YAML. Edit that file and rebuild the image to change container defaults; no host directories are mounted. Verify current addresses against each operator's published address before use. --verify-engines checks reachability through Tor. It cannot establish operator identity. See engine verification for the evidence and current limitations. The blocklist is a snapshot. There are no automatic downloads or update checks. See blocklist provenance for its source and refresh procedure. Bridges are configured in the Tor container through TOR_BRIDGES. obfs4 and Snowflake executables are included. Supply current bridge lines from a trusted source, then recreate the sidecar.

Privacy and limits

All HTTP requests use remote DNS through SOCKS, with credentials derived from a random process session and each destination. Tor must use IsolateSOCKSAuth. A SOCKS credential separates streams but does not guarantee a new physical circuit for every request. NEWNYM is requested at shutdown; Tor may rate limit that signal. The HTTP client stores no cookies and sends no Referer. It performs GET requests only. It does not execute JavaScript, submit forms, follow links automatically, render images, or decode media. Responses are streamed with byte limits and read and total deadlines. Redirect targets are validated before a request is made. HTML parsing runs in a separate Linux process with a 384 MiB address-space limit, 8 seconds of CPU, a 10-second deadline, and seccomp rules that deny network syscalls. Scripts, styles, comments, embedded objects, and hidden elements are removed. Untrusted text is wrapped with a fresh delimiter. These measures do not prove that a page contains no prompt injection or that a link is legitimate. Query history and caches stay in memory and are cleared on shutdown. No telemetry, query logging, disk cache, or runtime update checks are implemented. The MCP client and model runtime have their own storage and network behavior; see the privacy notice above. Blocklists and literal keywords do not detect all abusive content. Links are research leads; engine agreement is a ranking signal.

Development

uv sync --frozen

uv run ruff check . uv run pytest -q -m 'not integration' docker compose config --quiet uv build

The unit suite uses saved parser fixtures and a local SOCKS simulator. The leak test stops the proxy and asserts that connections target only the local proxy, with no destination DNS or direct HTTP connection. CI runs integration on a private local Tor network. The test publishes a temporary onion service containing only fixtures. It never queries public search engines or reads third-party onion pages.
uv run python tests/integration/run.py

An existing test Tor instance can be supplied with TEST_TOR_SOCKS and TEST_TOR_CONTROL. Integration requires a usable Tor circuit and can fail when the network is unavailable. See testing. Stable errors include TOR_UNAVAILABLE, INVALID_ONION, BLOCKED, TIMEOUT, ALL_ENGINES_FAILED, UNSUPPORTED_CONTENT, INVALID_QUERY, INVALID_ENGINE, INVALID_INPUT, CONFIG_ERROR, RESPONSE_TOO_LARGE, REDIRECT_LIMIT, PARSE_FAILED, and PARSE_TIMEOUT. Tool errors contain scrubbed code and message JSON. Partial searches include per-engine codes and return completed results.

License

MIT. See LICENSE.

问 PopNx