Fetch data from ANY website
Project description
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"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_web_fetch-0.3.0.tar.gz.
File metadata
- Download URL: mcp_web_fetch-0.3.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f76e969f316891839cc6009918fb5611fd79747d6f663dda9ab0e75e11722a41
|
|
| MD5 |
e153204de96891303ffe1a6ef1fe0955
|
|
| BLAKE2b-256 |
73b83eb390fc5fc5812cb15b70ff77689e8a00d2f740d9775274393b9a063d6e
|
File details
Details for the file mcp_web_fetch-0.3.0-py3-none-any.whl.
File metadata
- Download URL: mcp_web_fetch-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
addbf32e897824c75193b7a69f367a37530610578323e71c18d6a0f4ee92fb59
|
|
| MD5 |
e1a8e59b51bfa784c8e8a31c82312ee1
|
|
| BLAKE2b-256 |
39a5a6f4f21d44dde6f45f13990b190cb2690c429e4b9bb0e0c2e01b5e3619a0
|