by xxxbrian
A Model Context Protocol (MCP) server that provides advanced HTTP request capabilities for Claude and other LLMs, enabling realistic browser emulation and document conversion.
mcp-rquest is a Model Context Protocol (MCP) server designed to enhance the capabilities of large language models (LLMs) like Claude. It provides advanced HTTP request functionalities, allowing LLMs to interact with websites more realistically by emulating browser behavior with accurate TLS/JA3/JA4 fingerprints. This helps in bypassing anti-bot measures. Additionally, mcp-rquest supports converting PDF and HTML documents into Markdown format, making them easier for LLMs to process.
mcp-rquest can be installed using pip
or uv
. After installation, it can be run as a Python script. For integration with Claude.app, you can configure it in your Claude settings by specifying the command and arguments for mcp-rquest
.
uvx
to directly run mcp-rquest
.pip install mcp-rquest
then python -m mcp_rquest
to run.Add the following to your Claude settings JSON, adjusting the command
and args
based on your installation method (uvx, pip, or pipx):
{
"mcpServers": {
"http-rquest": {
"command": "uvx",
"args": ["mcp-rquest"]
}
}
}
get_stored_response
tool to retrieve stored large responses, optionally by line range.get_stored_response_with_markdown
tool, which works for both HTML and PDF files.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.
HTTP Request Tools:
http_get
- Perform GET requests with optional parametershttp_post
- Submit data via POST requestshttp_put
- Update resources with PUT requestshttp_delete
- Remove resources with DELETE requestshttp_patch
- Partially update resourceshttp_head
- Retrieve only headers from a resourcehttp_options
- Retrieve options for a resourcehttp_trace
- Diagnostic request tracingResponse Handling Tools:
get_stored_response
- Retrieve stored large responses, optionally by line rangeget_stored_response_with_markdown
- Convert HTML or PDF responses to Markdown format for better LLM processingget_model_state
- Get the current state of the PDF models loading processrestart_model_loading
- Restart the PDF models loading process if it failed or got stuckmcp-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:
get_stored_response_with_markdown
tool works for both HTML and PDF filesWhen using uv
no specific installation is needed. We will
use uvx
to directly run mcp-rquest.
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
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
:
{
"mcpServers": {
"http-rquest": {
"command": "pipx",
"args": ["run", "mcp-rquest"]
}
}
}
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:
This ensures that requests sent through mcp-rquest appear as legitimate browser traffic rather than bot requests.
uv venv
# Unix/macOS
source .venv/bin/activate
# Windows
.venv\Scripts\activate
uv pip install -e ".[dev]"
Reviews feature coming soon
Stay tuned for community discussions and feedback