Douyin TikTok Download API MCP
Douyin_TikTok_Download_API
A self-hosted Douyin and TikTok data service with a REST API, MCP server and CLI, watermark-free
- 21,370 ★ on the repository
- Last commit
- Apache-2.0
Extended access
Why this level
- Collects data from external platforms and downloads media
- Stores what it collects in a database and depends on platform-side changes
Install
- Works in
Manual install
docker compose -p dtk -f docker/compose.yml up -dRecommended way to start the whole stack, including the MCP server. The setup token is printed in the api container logs.
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Collects data from external platforms and downloads media
- Stores what it collects in a database and depends on platform-side changes
This is third-party code. Review the repository files before installing.
What it does
The service runs on your machine and collects posts, authors, comments and search results from Douyin and TikTok, and downloads videos and image albums without a watermark by picking the clean stream the platform already publishes. On top of it sit a REST API, a web console and an MCP server through which an agent reaches the same data. An identity pool maintains itself, and what it collects is kept in your own PostgreSQL. It deploys with a single docker compose command or from Python source.
Who it is for. For SMM and marketers who need to collect Douyin and TikTok content and data through an agent.
Good fit when
- You want the agent to pull posts, authors or comments from a link
- You need watermark-free videos in your pipeline
- You want a single self-hosted Douyin and TikTok data source over MCP
Not a fit when
- You need a cloud service without your own server and database
- You plan usage that breaks platform rules or creators' rights
Example request
Use the local service to pull this TikTok author's posts and download the videos without a watermarkMCP
- Transport
- http
- Authentication
- not required
Limitations
You self-host the service and run PostgreSQL. Reliability depends on Douyin and TikTok availability and can change when the platforms change. Compliance with platform rules and copyright is the user's responsibility.
How to disable. Stop the stack (docker compose down per the project's config) and remove the MCP entry from your client's config.
FAQ
Do I need a platform account?
No, the service needs no login and runs on your machine, with no external quota.
How does the agent get data?
Through the MCP server that starts together with the stack's REST API and web console.
Discussion
No questions or reviews yet.
Related
MCP serversAn MCP server and REST API to assemble short vertical videos with captions, voiceover and music for TikTok, Reels and Shorts
The MCP server gives agents video search, metadata, subtitles and authorized media downloads through local yt-dlp.
MCP server, /video plugin and CLI: transcript, key frames, on-screen text and metadata for a YouTube, Loom or local video
YouTube MCP (Zubeid)
Zubeid YouTube MCP Server
YouTube MCP on a Data API key: an agent searches videos and channels with a subscriber-count filter and reads playlists, statistics and transcripts
YouTube Data MCP (kirbah)
YouTube Data MCP Server (kirbah)
YouTube MCP with trimmed replies: transcripts without a key, video and channel statistics, trends, comments, a MongoDB cache and growing-channel search
watch-cli is a skill and CLI that hands an agent the frames and transcript of any social video so it can read the clip itself.
README in short
The README describes a self-hosted service for Douyin and TikTok: collecting posts, authors, comments and search, downloading videos and albums without a watermark, and storing in PostgreSQL. A REST API, an MCP server and a web console sit on top of the data, and a self-healing identity pool reduces blocks. Installation is available via a single docker compose command, an install.sh script or from Python source with uv. Apache-2.0 licensed.