Website Downloader is an MCP (Model Context Protocol) server designed to provide the capability to download an entire website. It implements website crawling through the wget tool, preserves the original website structure, and converts links in pages to local links for offline browsing.
Main capabilities:
- Recursively download a website, with unlimited depth by default, controllable via parameters.
- Include all resources required by pages, such as CSS, images, etc.
- Convert links into locally usable forms.
- Add appropriate extensions to files.
- Restrict the download scope to the same domain.
- Preserve the website structure.
How to use: This server provides a tool named download_website, which accepts the following parameters:
- url (required): the URL of the website to download.
- outputPath (optional): the download directory, defaulting to the current directory.
- depth (optional): the maximum recursive download depth, defaulting to unlimited. Set to 0 to download only the specified page, 1 to download directly linked pages, and so on.
wget must be installed on the system before use. Installation methods include:
- Use Homebrew (macOS).
- Use Chocolatey (Windows).
- Or from https://eternallybored.org/misc/wget/ Download the latest wget.exe and place it in a directory in PATH (such as C:\Windows\System32).
After building the server, it needs to be added to the MCP settings.
Applicable scenarios:
- Need to save website content offline for reference or analysis.
- Back up website structure for migration or archiving.
- Browse a downloaded website in a no-network environment.
Limitations:
- Depends on wget, which must be installed in advance.
- Only limited to downloading content under the same domain.
- No detailed information is provided about fees, pricing, platform support, or specific effects.