tor-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tor-mcpsearch Ahmia for 'secure drop' and fetch the first .onion result"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
THIS PROJECT IS MADE BY LLM
Tor Web MCP
Local MCP server for LM Studio with two tools:
tor_search(query, max_results=8)— searches Ahmia's indexed onion services.tor_fetch(url, max_chars=30000)— fetches a v3.onionURL through a local Tor SOCKS5 proxy.
Install
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtSet TOR_SOCKS_URL if your Tor SOCKS listener is not 127.0.0.1:9050. Tor Browser commonly uses a different port, so verify your setup.
Related MCP server: minimal-mcp-web-search
Test
mcp dev server.pyLM Studio
Configure a local stdio MCP server using absolute paths:
{
"mcpServers": {
"tor-web": {
"command": "/ABSOLUTE/PATH/tor-mcp/.venv/bin/python",
"args": ["/ABSOLUTE/PATH/tor-mcp/server.py"]
}
}
}Error semantics
The fetcher deliberately returns LLM-readable error categories. In particular, a search result that is no longer reachable becomes:
[SEARCH_RESULT_STALE]
This means the URL was indexed but is currently unreachable; it does not prove the address is invalid. The model can then try another search result.
Other categories include INVALID_ONION_URL, TOR_SEARCH_TIMEOUT, TOR_SEARCH_HTTP_ERROR, TOR_SEARCH_NETWORK_ERROR, NO_RESULTS, TOR_FETCH_NETWORK_ERROR, TOR_REDIRECT, and TOR_REDIRECT_BLOCKED.
Security boundaries
Only HTTP/HTTPS v3
.onionURLs are accepted bytor_fetch.No automatic redirects outside
.onion.Response size and network timeouts are bounded.
No generic arbitrary proxy tool is exposed.
Content returned by onion services must still be treated as untrusted web content.
This server cannot be installed
Maintenance
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
- FlicenseNot gradedqualityDmaintenanceEnables tool-calling LLMs to search the internet, capture website images, extract webpage text, and more via a local MCP server.14
- FlicenseAqualityDmaintenanceProvides local LLMs with web search and page fetching capabilities via MCP, with a focus on OWASP security best practices.2
- AlicenseNot gradedqualityAmaintenanceA 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.1MIT
- AlicenseBqualityCmaintenanceLocal MCP server providing web search, web scraping, YouTube metadata/subtitles/downloads, image generation (MFLUX on macOS), and Playwright CLI browser automation tools.15MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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