Codex
RedNote and Douyin MCP: let your AI agent collect social data through your own browser
The MediaClaw MCP server is a standard MCP (STDIO) server with 40+ tools. It collects RedNote (Xiaohongshu) and Douyin posts, videos, comments, profiles and search results, then extracts video transcripts and image text. Every page visit goes through the MediaClaw extension in your own browser, using the account you are already logged into, so the agent never sees your cookies. Codex, WorkBuddy and Doubao for Work are supported today.
What tools the MCP server provides
40+ tools in five groups. The agent reuses data you have already collected before it starts anything new.
Collect
Start from a link, keyword, profile or search and get the raw data.
- Post and video details, batch link collection
- Comments and replies
- Creator profiles and their posts
- Keyword search results and account scans
Extract
Turn videos and images into text the agent can read.
- Timestamped video transcripts (paid, quoted before running)
- Text extracted from post images
- Post body and engagement metrics
Research
Ready-made research actions instead of prompts written from scratch.
- Keyword topics and long-tail expansion
- Benchmark account discovery and hit analysis
- Single-post breakdowns
Read saved data
Anything already stored in the extension is queryable.
- Local collection records and data pool queries
- Saved analyses and style profiles
- Task progress and connection status
Comment outreach
Message users picked from collected comments, only after you confirm the final send.
- Prepare recipients and message copy
- Set send intervals and a daily cap
- Stop remaining sends at any time
Which agents are supported
All three hosts use the same package, the same MCP tools and the same content research skill. Only installation and updates differ.
| Host | Install | Auto-update | Guide |
|---|---|---|---|
| Codex | Paste the install prompt from the extension; Codex installs everything | See the Codex integration page | |
| WorkBuddy | Same as Codex, prompt-driven install | See the WorkBuddy integration page | |
| Doubao for Work | Create a STDIO connector by hand; the agent prepares the values | See the Doubao for Work integration page |
WorkBuddy
Doubao for Work
MediaClaw MCP vs. open-source RedNote MCP vs. writing your own scraper
Each approach fits a different job. This table only covers getting the data, based on each project's public documentation.
| MediaClaw MCP | Open-source xiaohongshu-mcp | Own scraper / MediaCrawler etc. | |
|---|---|---|---|
| Platforms | RedNote, Douyin | RedNote | Depends; MediaCrawler covers RedNote, Douyin, Kuaishou, Bilibili and more |
| Login | Your everyday Chrome session; the agent never gets cookies | Scan a QR code in its own headless browser; cookies saved locally | QR code, cookie or phone login saved by the script |
| Setup | Browser extension plus one prompt to your agent | Download a binary or run Docker, then configure the MCP client | Python environment, Playwright and other dependencies; coding required |
| Publish posts / like | No, collection, extraction and analysis only | Yes, publishes image and video posts, comments and likes | Usually no |
| Transcripts and analysis methods | Built-in video transcripts, image text extraction and 12 research methods | Not included | Not included; wire up your own |
| Cost | Free extension; agent mode needs a membership, transcripts use credits | Free and open source (Apache-2.0) | MediaCrawler states learning and research use only; a paid Pro edition exists |
Platforms
Login
Setup
Publish posts / like
Transcripts and analysis methods
Cost
Five things the agent must ask you first
Approving the pairing only lets the agent connect. It does not approve every future collection.
| Action | What you see first | After you confirm |
|---|---|---|
| Collect an account | A plan: target, fields, scope, batches and risk level | Runs only the batches in the plan |
| Video transcripts | A quote: estimated credits, balance and expiry | Extracts; items already done are not charged again |
| Batch detail fill | The scope to fill | Opens detail pages to collect |
| Delete data | Impact: how many records, comments and transcripts | Deletes |
| Comment outreach | Full recipient list, sending account and message | Sends one by one |
Collect an account
Video transcripts
Batch detail fill
Delete data
Comment outreach
FAQ
Give your agent real RedNote and Douyin data
Install the free extension, send the install prompt to your agent, and it does the rest.