Content
# Tor Request MCP server
This is a simple MCP server, that allows your tools to do GET and POST requests to the internet through a Tor hidden service.
## Installation
```bash
pip install -r requirements.txt
```
## Running
```bash
brew services start tor
python server.py
```
## Adding it to your Claude Desktop
Locate the `~/.claude/config.json` file and add the following configuration:
```json
{
"mcpServers": {
"tor-request": {
"command": "python",
"args": ["/path/to/tor-request/server.py"]
}
}
}
```
Possible location for the Claude config file:
* macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
* Windows: `%APPDATA%\Claude\claude_desktop_config.json`
## Usage
Provides a `tor-request` tool that can be used in the chat.
Available commands:
* `tor-request get <url>`: Perform a GET request to the given URL through a Tor hidden service.
* `tor-request post <url> <data>`: Perform a POST request to the given URL through a Tor hidden service with the given data.
* `tor-request-with-headers get <url> <headers>`: Perform a GET request to the given URL through a Tor hidden service with the given headers.
* `tor-request-with-headers post <url> <data> <headers>`: Perform a POST request to the given URL through a Tor hidden service with the given data and headers.
Response contains the following fields in JSON format:
* `status_code`: The HTTP status code of the response.
* `body`: The body of the response.
* `headers`: The headers of the response.
Example:
```json
{
"status_code": 200,
"body": "Hello, world!",
}
```
Connection Info
You Might Also Like
awesome-mcp-servers
A collection of MCP servers.
git
A Model Context Protocol server for Git automation and interaction.
Appwrite
Build like a team of hundreds
TrendRadar
TrendRadar: Your hotspot assistant for real news in just 30 seconds.
oh-my-opencode
Background agents · Curated agents like oracle, librarians, frontend...
chatbox
User-friendly Desktop Client App for AI Models/LLMs (GPT, Claude, Gemini, Ollama...)