MCP File Downloader
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP File Downloader download the PDF from https://example.com/report.pdf as quarterly_report.pdf"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP File Downloader π
A Model Context Protocol (MCP) server that enables Claude Desktop to download files from the web, with automatic browser fallback for JavaScript-heavy sites.
π― Why This Exists
Claude Desktop can't natively download files. This MCP server bridges that gap, providing:
Direct HTTP downloads with smart redirect handling
Automatic browser-based fallback for complex sites
Seamless integration with Claude Desktop
Perfect for downloading datasets, documents, and files from sites that use JavaScript for download links.
Related MCP server: WebClone MCP Server
β¨ Features
Smart Download Strategy: Tries HTTP first, falls back to browser if needed
10-Level Redirect Support: Handles complex redirect chains
JavaScript Rendering: Uses Playwright for sites requiring browser execution
Flexible File Naming: Auto-names from URL or accepts custom names
Cross-Platform: Works on Windows, macOS, and Linux
π Quick Start
Prerequisites
Node.js 18+
Claude Desktop
Installation
Clone the repository:
git clone https://github.com/yourusername/mcp-file-downloader.git
cd mcp-file-downloaderInstall dependencies:
npm installAdd to Claude Desktop config:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"file-downloader": {
"command": "node",
"args": ["C:\\path\\to\\mcp-file-downloader\\download-server.js"]
}
}
}Restart Claude Desktop
π Usage
In Claude Desktop, you can now download files:
"Download this file: https://example.com/data.csv"
"Get the PDF from https://example.com/report.pdf and save it as quarterly_report.pdf"
"Download https://site-with-javascript.com/dynamic-file.xlsx"
(automatically uses browser if HTTP fails)Parameters
url (required): The URL to download from
filename (optional): Save as this filename. Can include full path
use_browser (optional): Force browser download method
π§ Advanced Usage
Force Browser Mode
For sites that always need JavaScript:
"Download https://complex-site.com/file.zip using browser mode"Custom Save Location
"Download https://example.com/data.csv to ~/Documents/mydata.csv"π Project Structure
mcp-file-downloader/
βββ download-server.js # MCP server implementation
βββ package.json # Dependencies
βββ LICENSE # MIT license
βββ README.md # This file
βββ CLAUDE_HINTS.md # Advanced documentationπ€ Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Development Setup
Fork the repository
Create your feature branch (
git checkout -b feature/AmazingFeature)Commit your changes (
git commit -m 'Add some AmazingFeature')Push to the branch (
git push origin feature/AmazingFeature)Open a Pull Request
π Troubleshooting
"Too many redirects" error
The site likely requires JavaScript. Use use_browser: true parameter.
Downloads failing
Check that Node.js has write permissions to your download directory.
Claude doesn't see the tool
Verify the path in claude_desktop_config.json is correct
Fully quit Claude Desktop (check system tray)
Restart Claude Desktop
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
Built for the Model Context Protocol ecosystem
Uses Playwright for browser automation
Inspired by the need to download ETF holdings data in Claude Desktop
π§ Contact
For questions or support, please open an issue on GitHub.
Note: This is an independent project and not officially affiliated with Anthropic or Claude.
Available Tools
1 tooldownload_fileC
Download a file from URL (supports redirects and browser download)
Inputs: url (required), filename, use_browser.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap between tools. The tool's purpose is clearly defined as downloading files from URLs, making it perfectly distinct by default.
Since there is only a single tool, naming consistency is inherently perfect. The tool name 'download_file' follows a clear verb_noun pattern, and there are no other tools to compare it against for inconsistency.
A single tool is too few for a server named 'MCP File Downloader', as it suggests a narrow scope that might lack essential operations like listing downloads, checking status, or handling errors. Typically, a downloader would benefit from 3-5 tools for basic functionality.
The tool surface is severely incomplete for a file downloader domain. While 'download_file' covers the core action, there are obvious gaps such as no tools for managing downloads (e.g., cancel, pause, resume), verifying file integrity, or handling authentication, which could lead to agent failures in real-world scenarios.
Related MCP Connectors
Your own computer's files from ChatGPT or Claude: folder rules, confirmations and undo.
Autonomous Website Intelligence & OSINT Suite for AI Agents (10 Tools) Surgically extract clean token-optimized Markdown for RAG, detect 65+ tech stacks, identify corporate mail providers (Google Workspace vs Microsoft 365), and audit SSL/security posture with hardened SSRF protection. Quick Install in Claude Desktop (claude_desktop_config.json): json { "mcpServers": { "webintel": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-fetch", "https://webintel-apis.vercel.app/api/mcp"] } } }
Turn any video or audio link into files, transcripts and metadata, right from your AI agent.
Download files from URL lists or every file linked on a page (images, PDFs, media); ZIP.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables users to download HuggingFace models through natural language requests with support for file filtering, size limits, and custom download directories. Supports various AI development environments including Claude Desktop, VS Code, and Cursor.452 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to clone entire websites, download files, manage authentication sessions, and analyze site information with support for JavaScript-heavy SPAs and dynamic content.11Apache 2.0
- FlicenseAqualityDmaintenanceEnables Claude Desktop to perform advanced web scraping and crawling operations, extracting structured data, analyzing website architectures, and discovering content relationships through natural conversation.54-
- AlicenseNot gradedqualityDmaintenanceBypasses Claude Desktop sandbox network restrictions by providing tools to fetch any URL, execute network-capable CLI commands (yt-dlp, curl, ffmpeg), and read files created by those tools.1MIT