MCP Video Download URL Parser

by xhpxhpxhp

Not rated
GitHub

About

Download watermark-free videos from platforms like Douyin and TikTok.

Details

Author
xhpxhpxhp
Categories
Web Scraping, Other

Setup

Install MCP Video Download URL Parser in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/xhpxhpxhp/mcp_video_download_url_parser

Follow the installation instructions in the repository README, then restart your MCP client.

Download watermark-free videos from platforms like Douyin and TikTok.

这是一个基于MCP的视频下载工具,支持从抖音、TikTok等平台下载无水印视频。

- 支持从抖音、TikTok、哔哩哔哩等平台下载无水印视频
- 使用Playwright模拟浏览器环境,绕过网站的防爬措施
- 自动提取视频标题和下载链接
- 支持自定义下载路径
- 支持作为MCP服务运行

# 安装Python依赖 uv pip install -r requirements.txt # 安装Playwright浏览器 playwright install
uv run --index-url https://mirrors.aliyun.com/pypi/simple/ main.py
# MCP调用示例 result = await mcp_video_url_parser_download_video(url="https://v.douyin.com/your_video_id/", output_path="D:\\视频")
# 使用默认测试URL uv run direct_test.py # 指定视频URL uv run direct_test.py "https://v.douyin.com/your_video_id/"

- 直接向snapany.com的API发送请求
- 添加必要的请求头和参数
- 处理多种可能的响应格式

- 本工具仅用于学习和研究目的
- 请遵守相关平台的使用条款和版权规定
- 不要过于频繁地使用,以避免对目标网站造成压力

要通过Smithery为Claude Desktop自动安装MCP Video Download URL Parser:

npx -y @smithery/cli install @tansunyj/mcp_video_download_url_parser --client claude

- 克隆仓库:git clone https://github.com/tansunyj/mcp_video_download_url_parser.git
- 进入目录:cd mcp_video_download_url_parser
- 安装依赖:pip install -r requirements.txt
- 启动MCP服务器:python main.py

{ "mcpServers": { "video-url-parser": { "command": "python", "args": [ "/path/to/mcp_video_download_url_parser/main.py" ], "env": {} } } }

配置服务:在魔塔社区控制台中,找到"MCP服务配置"部分,添加以下配置信息:

{ "name": "video-url-parser", "description": "视频下载解析工具", "version": "1.0.0", "main": "main.py", "requirements": ["playwright", "asyncio", "aiohttp", "beautifulsoup4"], "environmentVariables": { "DOWNLOAD_PATH": "./downloads" } }

-

开启服务:在魔塔社区控制台中,找到已添加的服务,点击"开启服务"按钮

# 调用示例 result = await mcp_video_url_parser_download_video( url="https://v.douyin.com/your_video_id/", output_path="指定保存路径" )

- 常见问题排查

- 确保所有依赖项都已正确安装
- 检查环境变量是否正确配置
- 若出现网络问题,请确认服务器能够访问视频平台网站
- 若服务无法启动,检查日志获取详细错误信息

- "下载这个视频:[video_url]"
- "将这个视频保存到D:/videos目录:[video_url]"

- DOWNLOAD_PATH:保存下载视频的路径(默认:./downloads)

git clone https://github.com/tansunyj/mcp_video_download_url_parser.git cd mcp_video_download_url_parser python -m pytest tests/

此MCP服务器在您的本地机器上运行。虽然它不执行任意代码,但在解析来自不受信任来源的URL时请小心。

Extract watermark-free video links and copy from Douyin.

YouTube transcript extraction for AI agents. Clean text, timestamps, or structured JSON from any video. No API keys required.

Public MCP wrapper for SubDownload.Fetch YouTube transcripts, search videos, browse channels and playlists — instant YouTube data for your AI workflow.

Extract insights from YouTube videos, including subtitles, video discovery, and channel information.

Extract metadata and captions from YouTube videos and convert them to markdown.

Extracts transcripts from public YouTube videos.

Download transcripts directly from YouTube videos.

Fetch and summarize YouTube videos by extracting titles, descriptions, and transcripts.

100% Free AI audio and video transcription with speaker diarization and YouTube support.

Turn any video — YouTube, Instagram, TikTok, Loom, direct URLs, or local files — into transcripts, key frames, OCR text, and metadata for AI agents.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.