Sicry 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
Sicry 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Sicry 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/JacobJandon/Sicry
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"sicry": {
"command": "npx",
"args": ["-y", "sicry"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Sicry 执行以下任务... Claude: [自动调用 Sicry MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"sicry": {
"command": "npx",
"args": ["-y", "sicry"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
by JacobJandon · github.com/JacobJandon/Sicry
One Python file. Drop it into any project and your AI agent gets full access to the Tor/.onion dark web — the same clean tool interface agents use for the regular internet, just now for hidden services.
Robin's complete search engine catalogue (18 engines) and OSINT pipeline are baked in directly. No Robin install needed. No extra processes. No config beyond a .env file.
pip install requests[socks] beautifulsoup4 python-dotenv stem
apt install tor && tor &
cp .env.example .env # add one API key (or use Ollama — no key needed)
python sicry.py check # → CONNECTED via Tor | exit IP: 185.220.101.5
---
pip install -r requirements.txt
Or manually: ```bash pip install requests[socks] beautifulsoup4 python-dotenv stem
Linux (Debian/Ubuntu):
apt install tor
tor &
macOS:
brew install tor
tor &
Custom DataDirectory (recommended for renew_identity):
cat > /tmp/sicry_tor.conf << 'EOF'
SocksPort 9050
ControlPort 9051
CookieAuthentication 1
DataDirectory /tmp/tor_data
EOF
tor -f /tmp/sicry_tor.conf & When using a custom config, set TOR_DATA_DIR=/tmp/tor_data in your .env.
```bash
pip install mcp
pip install openai # for OpenAI pip install anthropic # for Anthropic/Claude pip install google-generativeai # for Gemini ```
cp .env.example .env
Minimum config — pick one LLM: ```dotenv
LLM_PROVIDER=ollama OLLAMA_MODEL=llama3.2
Copy .env.example to .env. All variables are optional — configure only what you need.
| Variable | Default | Description |
|---|---|---|
TOR_SOCKS_HOST | 127.0.0.1 | Tor SOCKS5 proxy host |
TOR_SOCKS_PORT | 9050 | Tor SOCKS5 proxy port |
TOR_CONTROL_HOST | 127.0.0.1 | Tor control port host |
TOR_CONTROL_PORT | 9051 | Tor control port |
TOR_CONTROL_PASSWORD | *(unset)* | Password for HashedControlPassword |
TOR_DATA_DIR | *(unset)* | Path to Tor DataDirectory — used to find cookie file for renew_identity |
TOR_TIMEOUT | 45 | Per-request timeout in seconds |
LLM_PROVIDER | *(unset)* | openai / anthropic / gemini / ollama / llamacpp |
OPENAI_API_KEY | *(unset)* | OpenAI API key |
OPENAI_MODEL | gpt-4o | OpenAI model |
ANTHROPIC_API_KEY | *(unset)* | Anthropic API key |
ANTHROPIC_MODEL | claude-opus-4-6 | Anthropic model |
GEMINI_API_KEY | *(unset)* | Google Gemini API key |
GEMINI_MODEL | gemini-2.5-flash | Gemini model |
OLLAMA_BASE_URL | http://127.0.0.1:11434 | Ollama API base URL |
OLLAMA_MODEL | llama3.2 | Ollama model name |
LLAMACPP_BASE_URL | http://127.0.0.1:8080 | llama.cpp server base URL |
SICRY_MAX_CHARS | 8000 | Max characters of content passed to LLM |
TOR_DATA_DIR is the most important Tor variable. Set it to Tor's DataDirectory path so renew_identity() can find the cookie file for authentication.
---
TOR_CONTROL_PASSWORD=mypassword ```
When SICRY_POOL_SIZE=N (recommended 2–4), SICRY™ spawns N independent Tor processes and round-robins requests across them for higher throughput:
sicry_search ─→ TorPool
├── tor[0] :9050 ← SOCKS5 proxy 0
├── tor[1] :9052 ← SOCKS5 proxy 1
└── tor[N-1]:... ← SOCKS5 proxy N-1
Set in .env:
SICRY_POOL_SIZE=3 # 2–4 recommended; each uses ~50 MB RAM
```
.onion fetch returns status: 0 The hidden service is down or Tor is slow. Try another URL from search(), or call check_search_engines() first to confirm Tor is reachable.
Search returns 0 results Dark web indexes go down frequently. Run check_search_engines() to find live engines, then pass them explicitly: search(query, engines=["Ahmia", "Ahmia-clearnet"]).
[SICRY™: OPENAI_API_KEY not set...] Set LLM_PROVIDER=ollama to use local inference with no key, or add the relevant key to .env. search(), fetch(), check_tor(), renew_identity(), scrape_all(), and check_search_engines() all work without any LLM key.
Slow searches Tor has variable latency. Use check_search_engines() to find the fastest live engines. engines=["Ahmia", "Ahmia-clearnet"] is the fastest reliable configuration.
Log spam / stem DEBUG output SICRY™ suppresses urllib3 and all stem sub-loggers (stem, stem.control, stem.response, stem.socket, stem.connection, stem.util) completely on import, set to CRITICAL with NullHandler and propagate=False. If you still see debug output, ensure you import sicry before configuring any root log handlers.
---
python sicry.py <command> [options]
| Command | Options | Description |
|---|---|---|
check | Verify Tor is running, show exit IP | |
renew | Rotate Tor circuit | |
search <query> | --max N (default 10), --engine NAME (repeatable) | Search dark web |
fetch <url> | Fetch URL via Tor, print text | |
tools | --format anthropic\|openai\|gemini | Print tool schemas as JSON |
serve | Start MCP server |
Examples:
python sicry.py check
python sicry.py renew
python sicry.py search "ransomware healthcare" --max 15
python sicry.py search "bitcoin mixer" --engine Ahmia --engine Tor66
python sicry.py fetch http://juhanurmihxlp77nkq76byazcldy2hlmovfu2epvl5ankdibsot4csyd.onion
python sicry.py tools --format openai | python -m json.tool
python sicry.py serve
---
This is the recommended workflow. Each step applies a Robin pattern that makes a measurable difference in result quality:
```python import sicry
The recommended 7-step pipeline (pipeline.py / The full OSINT pipeline section below):
User query
│
▼
[1] check_tor() → verify Tor is active (abort if not)
│
▼
[2] check_search_engines() → ping all 18, collect live engine list
│
▼
[3] refine_query() → LLM: natural language → ≤5 search keywords
│
▼
[4] search() → query all live engines in parallel over Tor
│ ┌── Ahmia ──→ results
│ ├── Tor66 ──→ results
│ └── ...16 more (concurrent ThreadPoolExecutor)
│
▼
[5] filter_results() → LLM: pick top 20 most relevant results
│
▼
[6] scrape_all() → concurrent batch-fetch top pages over Tor
│
▼
[7] ask() → LLM OSINT report (threat_intel / ransomware
│ / personal_identity / corporate)
▼
Structured report
tor_active: False ```bash
Sicry 是专为 AI Agents 设计的 Tor/Onion 网络访问层。它通过 Python 实现,旨在为智能体提供安全、匿名的暗网访问能力,使其能够无缝接入 Tor 网络进行信息检索与数据采集。
运行本项目需要 Python 3.10 或更高版本,并且必须在本地运行 Tor daemon。此外,还需要通过 pip 安装必要的依赖包,包括 requests[socks]、beautifulsoup4、python-dotenv 以及 stem。
首先需根据操作系统安装 Tor(Linux 使用 apt,macOS 使用 brew)。为了支持 `renew_identity` 功能,强烈建议通过自定义配置文件启动 Tor,并设置 `TOR_DATA_DIR` 环境变量。最后,通过 `pip install -r requirements.txt` 完成 Python 依赖的安装。
项目提供了快速启动指南。你可以通过命令行工具进行操作,例如使用 `python sicry.py check` 验证 Tor 状态,或使用 `search` 命令在暗网中进行关键词检索。
如果需要使用 MCP server 功能,请安装 `mcp` 包。若要集成 OpenAI、Anthropic/Claude 或 Gemini 等 LLM,需安装对应的 SDK。配置时请将 `.env.example` 复制为 `.env`,并根据需求填入相应的 API Key。
Sicry 提供 CLI 命令行界面。支持 `check`(验证 Tor 运行状态及出口 IP)、`renew`(轮换 Tor 线路)、`search`(在暗网中搜索,支持指定引擎及结果数量限制)以及 `fetch`(抓取指定 URL 内容)等命令。
Sicry 提供了一套完整的 OSINT(开源情报)流水线。推荐的工作流采用 Robin 模式,通过 7 个步骤实现从用户自然语言查询到 LLM 精炼关键词,再到自动化搜索与数据采集的闭环,确保情报获取的质量与安全性。
针对常见问题,如遇到 `tor_active: False` 错误,通常意味着本地 Tor 服务未正常启动或配置不当,请检查 Tor daemon 的运行状态及端口设置。
功能丰富,支持多搜索引擎
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,Sicry 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | Sicry |
| 原始描述 | 开源MCP工具:Single-file Tor/.onion access layer for AI agents — 18 search engines, Robin OSI。⭐11 · Python |
| Topics | ai-agentsdark-webhidden-servicesllmmcp-server |
| GitHub | https://github.com/JacobJandon/Sicry |
| License | NOASSERTION |
| 语言 | Python |
收录时间:2026-05-28 · 更新时间:2026-05-30 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端