Skip to main content
Glama
neutron42-jp

tor-mcp

by neutron42-jp

本项目由 LLM 制作

Tor Web MCP

面向 LM Studio 的本地 MCP 服务器,提供两个工具:

  • tor_search(query, max_results=8) — 搜索 Ahmia 索引的洋葱服务。

  • tor_fetch(url, max_chars=30000) — 通过本地 Tor SOCKS5 代理获取 v3 .onion URL。

安装

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

如果您的 Tor SOCKS 监听地址不是 127.0.0.1:9050,请设置 TOR_SOCKS_URL。Tor Browser 通常使用不同的端口,请验证您的配置。

Related MCP server: minimal-mcp-web-search

测试

mcp dev server.py

LM Studio

使用绝对路径配置本地 stdio MCP 服务器:

{
  "mcpServers": {
    "tor-web": {
      "command": "/ABSOLUTE/PATH/tor-mcp/.venv/bin/python",
      "args": ["/ABSOLUTE/PATH/tor-mcp/server.py"]
    }
  }
}

错误语义

该抓取器有意返回 LLM 可读的错误类别。特别是,当搜索结果不再可达时,会变成:

[SEARCH_RESULT_STALE]

这意味着该 URL 曾被索引,但当前不可达;这并不证明该地址无效。模型随后可以尝试另一个搜索结果。

其他类别包括 INVALID_ONION_URLTOR_SEARCH_TIMEOUTTOR_SEARCH_HTTP_ERRORTOR_SEARCH_NETWORK_ERRORNO_RESULTSTOR_FETCH_NETWORK_ERRORTOR_REDIRECTTOR_REDIRECT_BLOCKED

安全边界

  • tor_fetch 仅接受 HTTP/HTTPS v3 .onion URL。

  • 不自动重定向到 .onion 之外。

  • 响应大小和网络超时均有上限。

  • 不暴露通用的任意代理工具。

  • 洋葱服务返回的内容仍必须视为不可信的 Web 内容。

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    A minimal MCP server that exposes a private SearXNG instance as a search tool over streamable-HTTP, enabling web search from the llama.cpp WebUI or any compatible MCP client.
    1
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Local MCP server providing web search, web scraping, YouTube metadata/subtitles/downloads, image generation (MFLUX on macOS), and Playwright CLI browser automation tools.
    15
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

  • MCP server exposing the Backtest360 engine API as tools for AI agents.

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/neutron42-jp/tor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server