Skip to main content

MCP URL Downloader

A Model Context Protocol (MCP) server that enables AI assistants to download files from URLs to the local filesystem.

Features

  • Download single or multiple files from URLs
  • File size validation (configurable, default 500MB)
  • Automatic filename sanitization
  • Unique filename generation to prevent overwrites
  • Concurrent downloads with limits
  • Security: SSRF protection, path traversal protection, MIME type validation

Installation

# Using uvx (recommended)
uvx mcp-url-downloader

# Using pip
pip install mcp-url-downloader

# From source
git clone https://github.com/dmitryglhf/mcp-url-downloader.git
cd mcp-url-downloader
uv sync

Configuration

Claude Desktop

Add to your configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "url-downloader": {
      "command": "uvx",
      "args": ["mcp-url-downloader"]
    }
  }
}

Usage

download_files

Download multiple files from URLs.

download_single_file

Download a single file with optional custom filename.

Rate Limits

  • Maximum 100 URLs per download_files request
  • Maximum 10 concurrent downloads
  • URL length limited to 2048 characters
  • Timeout range: 1-300 seconds
  • File size range: 1-5000 MB

Development

# Run tests
uv run pytest

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_url_downloader-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_url_downloader-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file mcp_url_downloader-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_url_downloader-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.3

File hashes

Hashes for mcp_url_downloader-0.1.0.tar.gz
Algorithm Hash digest
SHA256 caf02ccf3d490d32a98185d1c9c9d0a41cf5ec26b56b2242840fe5519ef09dee
MD5 d9bca6c3c9cd232ecf35dacbb999f22f
BLAKE2b-256 ced89c0266e38720299a5917def6d2a026ddf014dd6f03cc9eb350763d84c0b5

See more details on using hashes here.

File details

Details for the file mcp_url_downloader-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_url_downloader-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c49c4e3a9857ad4a7b52e0faafebe26b3f5193a721ea2f6418e7390bb3aa9a4a
MD5 fb0fbcf4ccd91ec50ad9bbd1cddb0210
BLAKE2b-256 8af9b535f3d953949742c697697d2514d4b6becbd1c0f8b814f97273567ea8b4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page