tor-onionoo-relay-intel-mcp
# tor-onionoo-relay-intel-mcp
Live Tor Project Onionoo relay and exit node lookup over Model Context Protocol (MCP). Fraud prevention teams, SOC analysts, WAF engineers, and network security researchers can check whether an IP belongs to a Tor exit node, inspect relay fingerprints and exit policies, filter relays by ASN or country, and track network concentration with zero API keys and zero sign-up. It connects right away.
## Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
```text
https://tor-onionoo-relay-intel-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `check_tor_ip` | Check whether an IPv4 or IPv6 address is currently a Tor relay or exit node via Tor Project Onionoo |
| `search_tor_relays` | Search Tor relays by nickname, fingerprint, IP, flag, country code, ASN, or running status |
| `get_tor_relay_by_fingerprint` | Fetch full Tor relay details, OR addresses, exit addresses, exit policy summary, and bandwidth by fingerprint |
| `list_top_tor_exit_nodes` | List top running Tor exit nodes ranked by consensus weight or observed bandwidth |
| `get_tor_network_stats` | Summarize running Tor relay counts and aggregate top countries or ASNs by consensus weight |
## Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
```json
{
"mcpServers": {
"tor-onionoo-relay-intel": {
"url": "https://tor-onionoo-relay-intel-mcp.lipmichal.workers.dev/mcp"
}
}
}
```
## Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
```bash
npm install
npm run build
npm start
```
## Reliability and caching
Every upstream request queries `onionoo.torproject.org` with a polite `User-Agent` header (`mcpstamp-tor-onionoo-relay-intel/1.0.1 (hello@mcpstamp.com)`) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses for 5 to 10 minutes, so relay status changes propagate cleanly and upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.
## More MCP servers and readiness check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.tor-onionoo-relay-intel-mcp) with hosted commercial servers and priority endpoints.
TDQS
Scored across 5 tools
Each tool has a distinct primary purpose: IP lookup, relay search, fingerprint detail, top exit ranking, and aggregate network statistics. There is minor overlap between search_tor_relays and list_top_tor_exit_nodes, since both return relay lists and search can filter exits, but the ranking/aggregation distinction is clear.
All tools use a consistent snake_case verb_noun pattern with predictable domain terms: check_tor_ip, search_tor_relays, get_tor_relay_by_fingerprint, list_top_tor_exit_nodes, get_tor_network_stats. The naming is highly readable and predictable.
Five tools are well-scoped for a focused Tor relay intelligence server. Each tool covers a distinct query type without unnecessary bloat.
The surface covers core workflows: IP reputation/existence checks, relay search, detailed relay lookup, top exit ranking, and network statistics. Minor gaps exist around historical relay data or bandwidth trends, but agents can accomplish the main relay-intelligence tasks.