MCP-Web-Fetch
A Model Context Protocol (MCP) server for fetching webpages including html/pdf/plain text type content.
Available Tools
fetch-web: Fetch URL and return content according to its content type.url: URL to fetchraw: Whether to return raw content
Installation
Using uv(recommended)
When using uv, no specific installation is needed. We will use uvx to directly run mcp-web-fetch.
Using pip
pip install mcp-web-fetch
After installation, you can run the server using
python -m mcp-web-fetch
Configuration
Add to your local client
{
"mcpServers": {
"mcp-web-fetch": {
"command": "uvx",
"args": ["mcp-web-fetch"]
}
}
}
or using docker(after publish done)
{
"mcpServers": {
"mcp-web-fetch": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mcp-servers/fetch:latest"
]
}
}
}
or Fetch and run from remote repository
{
"mcpServers": {
"mcp-web-fetch": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/pathintegral-institute/mcp.science#subdirectory=servers/web-fetch",
"mcp-web-fetch"
]
}
}
}
Customization
By default, the server will use a default user-agent for fetching web content. You can customize the user-agent by setting the user_agent in args
uvx mcp-web-fetch --user-agent "Your User-Agent"
Metadata
Release files for mcp-web-fetch 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcp_web_fetch-0.3.0.tar.gz | 2.6 kB | Without provenance | Details for mcp_web_fetch-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_web_fetch-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for mcp_web_fetch-0.3.0-py3-none-any.whl |
Total release size: 6.2 kB
Release files / mcp_web_fetch-0.3.0.tar.gz
| Download URL | mcp_web_fetch-0.3.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f76e969f316891839cc6009918fb5611fd79747d6f663dda9ab0e75e11722a41
|
|
BLAKE2b-256 checksum How to use checksums |
73b83eb390fc5fc5812cb15b70ff77689e8a00d2f740d9775274393b9a063d6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / mcp_web_fetch-0.3.0-py3-none-any.whl
| Download URL | mcp_web_fetch-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
addbf32e897824c75193b7a69f367a37530610578323e71c18d6a0f4ee92fb59
|
|
BLAKE2b-256 checksum How to use checksums |
39a5a6f4f21d44dde6f45f13990b190cb2690c429e4b9bb0e0c2e01b5e3619a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Security for mcp-web-fetch 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.