R
Rquest
community
other
An MCP server providing realistic browser-like HTTP request capabilities with accurate TLS/JA3/JA4 fingerprints for bypassing anti-bot measures.
mcp-rquest
A Model Context Protocol (MCP) server that provides advanced HTTP request capabilities for Claude and other LLMs. Built on rquest, this server enables realistic browser emulation with accurate TLS/JA3/JA4 fingerprints, allowing models to interact with websites more naturally and bypass common anti-bot measures. It also supports converting PDF and HTML documents to Markdown for easier processing by LLMs.
Features
- Complete HTTP Methods: Support for GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS, and TRACE
- Browser Fingerprinting: Accurate TLS, JA3/JA4, and HTTP/2 browser fingerprints
- Content Handling:
- Automatic handling of large responses with token counting
- HTML to Markdown conversion for better LLM processing
- PDF to Markdown conversion using the Marker library
- Secure storage of responses in system temporary directories
- Authentication Support: Basic, Bearer, and custom authentication methods
- Request Customization:
- Headers, cookies, redirects
- Form data, JSON payloads, multipart/form-data
- Query parameters
- SSL Security: Uses BoringSSL for secure connections with realistic browser fingerprints
Available Tools
-
HTTP Request Tools:
- Perform GET requests with optional parametershttp_get
- Submit data via POST requestshttp_post
- Update resources with PUT requestshttp_put
- Remove resources with DELETE requestshttp_delete
- Partially update resourceshttp_patch
- Retrieve only headers from a resourcehttp_head
- Retrieve options for a resourcehttp_options
- Diagnostic request tracinghttp_trace
-
Response Handling Tools:
- Retrieve stored large responses, optionally by line rangeget_stored_response
- Convert HTML or PDF responses to Markdown format for better LLM processingget_stored_response_with_markdown
- Get the current state of the PDF models loading processget_model_state
- Restart the PDF models loading process if it failed or got stuckrestart_model_loading
PDF Support
mcp-rquest now supports PDF to Markdown conversion, allowing you to download PDF files and convert them to Markdown format that's easy for LLMs to process:
- Automatic PDF Detection: PDF files are automatically detected based on content type
- Seamless Conversion: The same
tool works for both HTML and PDF filesget_stored_response_with_markdown
- High-Quality Conversion: Uses the Marker library for accurate PDF to Markdown transformation
- Optimized Performance: Models are pre-downloaded during package installation to avoid delays during request processing
Installation
Using uv (recommended)
Using pip
Alternatively you can install
mcp-rquest
via pip:pip install mcp-rquest
After installation, you can run it as a script using:
python -m mcp_rquest
Configuration
Configure for Claude.app
Add to your Claude settings:
Using
uvx
:{ "mcpServers": { "http-rquest": { "command": "uvx", "args": ["mcp-rquest"] } } }
Using
pip
:{ "mcpServers": { "http-rquest": { "command": "python", "args": ["-m", "mcp_rquest"] } } }
Using
pipx
:</details>{ "mcpServers": { "http-rquest": { "command": "pipx", "args": ["run", "mcp-rquest"] } } }
Browser Emulation
mcp-rquest leverages rquest's powerful browser emulation capabilities to provide realistic browser fingerprints, which helps bypass bot detection and access content normally available only to standard browsers. Supported browser fingerprints include:
- Chrome (multiple versions)
- Firefox
- Safari (including iOS and iPad versions)
- Edge
- OkHttp
This ensures that requests sent through mcp-rquest appear as legitimate browser traffic rather than bot requests.
Development
Setting up a Development Environment
- Clone the repository
- Create a virtual environment using uv:
uv venv
- Activate the virtual environment:
# Unix/macOS source .venv/bin/activate # Windows .venv\Scripts\activate
- Install development dependencies:
uv pip install -e ".[dev]"
Acknowledgements
Related Servers
S
Sequential Thinking
reference
Dynamic and reflective problem-solving through thought sequences
View Details