MCP ExplorerExplorer

Tor Request Mcp

@jirikneslon a year ago
5 MIT
FreeCommunity
AI Systems
A simple MCP server for GET and POST requests via Tor hidden services.

Overview

What is Tor Request Mcp

tor-request-mcp is a simple MCP server that enables tools to perform GET and POST requests to the internet through a Tor hidden service, providing anonymity and privacy for web requests.

Use cases

Use cases include anonymous web scraping, secure data submission, accessing hidden services, and conducting research without revealing the user’s identity.

How to use

To use tor-request-mcp, install the required packages with ‘pip install -r requirements.txt’, start the Tor service, and run the server using ‘python server.py’. Configure it in your Claude Desktop by adding the server details to the config.json file.

Key features

Key features include the ability to perform GET and POST requests through a Tor hidden service, support for custom headers, and JSON formatted responses containing status codes, body, and headers.

Where to use

tor-request-mcp can be used in fields requiring privacy and anonymity, such as secure communications, research on sensitive topics, and accessing restricted content.

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

pip install -r requirements.txt

Running

brew services start tor
python server.py

Adding it to your Claude Desktop

Locate the ~/.claude/config.json file and add the following configuration:

{
  "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:

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers