Douyin MCP Server

by yzfly

Not rated
GitHub

About

Extract watermark-free video links and copy from Douyin.

Details

Author
yzfly
Categories
Web Scraping, Other

Setup

Install Douyin MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/yzfly/douyin-mcp-server

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

Extract watermark-free video links and copy from Douyin.

- 🎬无水印视频- 获取高质量无水印视频下载链接
- 🎙️AI 语音识别- 使用硅基流动 SenseVoice 自动提取文案
- 📑大文件支持- 自动分段处理超过 1 小时或 50MB 的音频
- 🌐WebUI- 现代化浏览器界面,无需命令行
- 🔌MCP 集成- 支持 Claude Desktop 等 AI 应用

# 1. 克隆项目 git clone https://github.com/yzfly/douyin-mcp-server.git cd douyin-mcp-server # 2. 安装依赖 uv sync # 3. 启动服务 uv run python web/app.py

- 打开 WebUI 页面
- 点击顶部的「API 未配置」按钮
- 在弹窗中输入 API Key 并保存
- API Key 保存在浏览器本地,刷新页面后仍有效

export API_KEY="sk-xxxxxxxxxxxxxxxx" uv run python web/app.py

- 粘贴链接- 将分享链接粘贴到输入框
- 点击按钮- 选择「获取信息」或「提取文案」
- 查看结果- 右侧显示视频信息和提取的文案
- 导出- 复制文案或下载 Markdown 文件

在 Claude Desktop、Cherry Studio 等支持 MCP 的应用中使用。

{ "mcpServers": { "douyin-mcp": { "command": "uvx", "args": ["douyin-mcp-server"], "env": { "API_KEY": "sk-xxxxxxxxxxxxxxxx" } } } }

💡API_KEY填写硅基流动的密钥。也兼容旧版配置:设置DASHSCOPE_API_KEY(阿里云百炼密钥)同样可用,两者设其一即可。

用户:帮我提取这个视频的文案 https://v.douyin.com/xxxxx/ Claude:我来帮你提取视频文案... [调用 extract_douyin_text 工具] 提取完成,文案内容如下: ...
git clone https://github.com/yzfly/douyin-mcp-server.git cd douyin-mcp-server uv sync
# 查看帮助 uv run python douyin-video/scripts/douyin_downloader.py --help # 获取视频信息(无需 API) uv run python douyin-video/scripts/douyin_downloader.py -l "分享链接" -a info # 下载无水印视频 uv run python douyin-video/scripts/douyin_downloader.py -l "分享链接" -a download -o ./videos # 提取文案(需要 API_KEY) export API_KEY="sk-xxx" uv run python douyin-video/scripts/douyin_downloader.py -l "分享链接" -a extract -o ./output # 提取文案并保存视频 uv run python douyin-video/scripts/douyin_downloader.py -l "分享链接" -a extract -o ./output --save-video
output/ └── 7600361826030865707/ ├── transcript.md # 文案文件 └── *.mp4 # 视频文件(可选)
# 视频标题 | 属性 | 值 | |------|-----| | 视频ID | 7600361826030865707 | | 提取时间 | 2026-01-30 14:19:00 | | 下载链接 | 点击下载 | --- ## 文案内容 这里是 AI 识别的语音文案...

- 检测音频时长和文件大小
- 使用 FFmpeg 分割成 9 分钟的片段
- 逐段调用 API 转录
- 合并所有文本结果

- 模型:FunAudioLLM/SenseVoiceSmall
- 限制:单次最大 1 小时 / 50MB(已自动处理)
- 费用:新用户有免费额度

- 🔧MCP Server 修复-API_KEY现在正确对应硅基流动密钥,与文档一致;同时兼容旧版DASHSCOPE_API_KEY配置
- ♻️恢复工具- 恢复recognize_audio_file/recognize_audio_url工具及extract_douyin_textcontext参数
- 🛡️WebUI 安全加固- 下载接口不再代理任意 URL,默认仅监听本机
- ⚡WebUI 性能- 提取文案不再阻塞其他请求
- 📦依赖精简- WebUI 依赖改为可选安装(pip install "douyin-mcp-server[web]"

- 🌐WebUI- 新增浏览器可视化界面
- 🔑浏览器配置 API Key- 无需环境变量
- 📑大文件支持- 自动分段处理长音频

- 本项目仅供学习和研究使用
- 使用者需遵守相关法律法规
- 禁止用于侵犯知识产权的行为
- 作者不对使用本项目产生的损失承担责任

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

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.