Where the data comes from
Bring RedNote & Douyin data into Claude Code: one MCP, one research skill
MediaClaw gives Claude Code two things: a RedNote (Xiaohongshu) and Douyin MCP server whose 40+ tools collect posts, videos, comments and account data and dedupe them into structured results, and a content research skill whose 12 written methods handle teardowns, topic picks and drafting. Once connected you do not have to work out what data to collect or remember any commands. Say what you are working on and where you are stuck, and the findings land straight in your project folder.
You need the MediaClaw browser extension installed and an active membership first. The agent can only use capabilities you approved in the extension.
Claude Code can already browse RedNote. Why connect MediaClaw?
An agent with a browser can open RedNote pages on its own. MediaClaw is scaffolding for Claude Code: MediaClaw gets Claude Code the RedNote and Douyin data faster, cheaper and more completely.
What Claude Code is
Claude Code is Anthropic’s AI agent. Claude Code reads and writes files, runs commands and works through a task step by step. The terminal, desktop app and VS Code / JetBrains extensions share one configuration.
- Claude Code writes results straight into Markdown or CSV in your project
- Claude Code shows you the diff before changing a file
Why Claude Code is slow on its own
Without MediaClaw, Claude Code has to drive a browser itself: screenshot a screen, read it, scroll, repeat. Thirty posts plus their comments take Claude Code dozens to hundreds of steps.
- Claude Code reads one screen at a time, and it gets slower as it goes
- Numbers like “12K” have to be read off an image by Claude Code, so they get missed or misread
MediaClaw reads structured data directly
The MediaClaw extension reads the data a platform page already returns. Title, body, engagement counts, publish time and author arrive as ready-made fields, so MediaClaw never reads text off screenshots.
- The fields MediaClaw hands Claude Code are complete and the numbers are exact
- MediaClaw only reads the page and sends no extra requests to the platform
MediaClaw brings back dozens to hundreds of items at once
Search results, account posts and comments: MediaClaw collects them in bulk, pages through automatically, dedupes by post, then hands Claude Code the whole set in one go.
- Up to 300 posts per MediaClaw search
- Hundreds of comments per post
Claude Code’s tokens go only to analysis
Collecting, paging and waiting out platform cooldowns all happen in the MediaClaw extension and use none of Claude Code’s model quota. Claude Code spends tokens only on understanding the request, reading results back, analysing and writing the report.
- MediaClaw gives Claude Code a summary first and pages in details only when needed
- MediaClaw never dumps hundreds of raw records into the chat at once
MediaClaw keeps collected data on your machine
MediaClaw stores the posts, comments and transcripts MediaClaw collects in a local data pool on your computer. Next time Claude Code reuses that data first, then decides whether anything new is needed, and other agents can read it too.
- MediaClaw never collects the same batch twice
- Your login sessions and cookies stay inside the MediaClaw extension, out of Claude Code’s reach
How to connect Claude Code to RedNote and Douyin: three steps, no commands to type
Claude Code registers the official marketplace, installs the package, detects your OS and chip, and downloads and verifies the runtime by itself. You copy a prompt, open a new session and approve once in the MediaClaw extension.
Step 1: Copy the connection prompt from the MediaClaw extension
In the MediaClaw extension, open System settings → Agent access (top right), turn on “Allow local agents to call MediaClaw”, expand “Connect Agent” and click “Copy connection prompt” on the Claude Code row. The prompt already carries the official source, the Claude Code install steps and the repair steps; you do not need to read or edit it.
Install free extension
Step 2: Send it to Claude Code, and Claude Code installs it with its own plugin commands
Paste the prompt into Claude Code as-is. Claude Code uses its built-in plugin commands to register the official marketplace and install the mediaclaw plugin, then checks the version and enabled state in the plugin list. Claude Code runs these commands itself; you never type /plugin or open another terminal.
Read the setup guide
Step 3: Open a new session, then approve the pairing in the MediaClaw extension
Claude Code does not hot-load a freshly installed plugin into a session that already started, so open a new session (or restart Claude Code). Say “check the MediaClaw connection”; the MediaClaw extension’s Agent access tab shows “New local agent found”. Check the device name “MediaClaw Agent (Claude Code)” and its fingerprint, then click Approve. The terminal, desktop app and IDE share this one approval.
Read the setup guide
What Claude Code can do once connected
The first one is a real Claude Code run; the other two come from runs of the same MediaClaw MCP tools and methods in other agents, and Claude Code returns the same results. Copy any prompt and swap the parts in angle brackets for your own. Each screenshot shows your request first, then the agent’s answer.
Find low-follower hits on RedNote and write the findings into research.md
“Find low-follower, high-like RedNote posts in the <keyword> niche, picking from the top 30 search results, break down why they took off, and write the findings into research.md in the current folder.” Claude Code states the collection scope first, filters a list by followers and likes, spells out what is worth learning, and flags the conclusions with thin evidence.
Try it free
Have Claude Code find small accounts worth learning from
“I’m in <niche> and just started an account, so I don’t want to study creators with hundreds of thousands of followers. Find low-follower, high-like posts in this niche, work out what those accounts do right, and give me a topic plan a small account can run.” From an 80-post sample, a handful of small accounts come back with follower counts, top-post performance and what to learn.
Try it free
Have Claude Code break down a Douyin video, then rewrite it as your script
“Why do people keep watching this video? How does it open and how does it build? Also turn it into a script I can shoot: <video link>” A precise teardown needs the transcript, so the credits and your balance are quoted first and nothing is extracted until you confirm. You get the structure plus a 90-second script.
Try it free
Three ways to get RedNote data into Claude Code, compared
Same task: find the top 30 posts in a RedNote niche, read the comments, and work out why they took off.
| Claude Code + MediaClaw | Claude Code drives a browser itself | A scraper or an open-source MCP | |
|---|---|---|---|
| Where the data comes from | The structured data the platform page already returns; complete fields, exact numbers | Reads text off screenshots | Calls endpoints directly and breaks when the page changes |
| How much per run | Dozens to hundreds of records per call; hundreds of comments per post | A few posts per screen, scrolling over and over | Whatever the script was written to do |
| Model quota used | Collection uses none; only the tidied result comes back | Every step means reading a screenshot, the most expensive option | Collection uses none, but writing and fixing the script does |
| What a video actually says | Transcripts and on-image text extraction (you confirm before credits are spent) | Cannot hear the video | You wire up speech-to-text yourself |
| Using it again later | Saved in a local data pool other agents can read, never collected twice | Gone when the chat closes | You store and manage it yourself |
| Login and account | Uses your browser’s login session; Claude Code never sees cookies; collection is paced with cooldowns | The agent operates your logged-in page directly | Hands cookies or a QR-code session to the script |
| After the data arrives | 12 research and writing methods; conclusions cite their evidence | Up to the model to improvise | Raw data only |
How much per run
Model quota used
What a video actually says
Using it again later
Login and account
After the data arrives
More than collection: from research to drafts to finding customers in comments
The content research skill turns MediaClaw’s methods into steps Claude Code can follow. Every step is grounded in real data, and Claude Code notes which posts each conclusion rests on.
Research
Is the niche worth it, which accounts are winning, and why those accounts took off.
- Keyword trends and long-tail demand
- Find benchmark accounts and break down their strategy
- Recent hits and single-post teardowns
Topics and drafts
Topics and briefs built from evidence, then written as posts or scripts in your saved account style.
- Topic ideas and content briefs
- Drafts in your saved account style
- A pre-publish check: does every claim have evidence?
Find customers in comments
Filter commenters with clear intent and prepare a DM plan. Before sending, the recipients, sending account and message are listed in full, and nothing goes out until you confirm.
- Filter comments by keyword and intent
- DM plans can be edited or cancelled
- Every send needs your confirmation
Common questions about connecting Claude Code to RedNote
Yes. With a browser and a signed-in RedNote account, Claude Code can open pages and read them screen by screen, but that is slow, costly and relies on reading numbers off images. With MediaClaw, Claude Code uses MCP to have the MediaClaw browser extension read the structured data the platform returns, so post text, engagement, comments and author profiles come back in one go. Douyin and TikTok work the same way.
Far fewer than letting Claude Code drive a browser itself. Collecting, paging and waiting out platform rate limits all happen in the MediaClaw extension and use none of Claude Code’s model quota. Claude Code spends tokens in four places: understanding your request, turning it into a collection plan, reading back the structured results, and analysing and writing the report. Claude Code reuses data already in the MediaClaw extension before deciding to collect anything new, and large results come back as a summary first, with details paged in only when needed.
MediaClaw is a RedNote, Douyin and TikTok MCP server for Claude Code, and the install also brings the content research skill. The MCP gets the data; the skill’s 12 research and writing methods tell Claude Code what to do with it. You do not need to find a skill or write config: send the install prompt from the MediaClaw extension to Claude Code and Claude Code installs both with its own plugin commands.
Claude Code can read a video’s title, caption, engagement and comments. To know what is actually said in the video, a transcript is needed. Transcripts cost credits, so Claude Code first tells you which videos Claude Code would transcribe and how many credits that takes, and only submits after you agree. Videos already transcribed are read for free.
Send Claude Code the Douyin profile link and say what you want to know, for example “which kind of content has been growing steadily lately”. Claude Code reads what the MediaClaw extension already has, proposes a top-up plan if that is not enough (how many posts, whether to open details), collects only after you confirm, and writes the findings up as a report.
No. MediaClaw reads the public pages you can normally see in your browser: posts, comments, profiles and search results. MediaClaw does not read private dashboards such as the creator center or Pugongying.
Claude Code does not hot-load a new plugin into a session that already started. Open a new session or restart Claude Code, then say “check the MediaClaw connection”. The same applies after an upgrade: the new version only loads in a new session.
No. All three use the same marketplace and the same device identity. Install once, approve once in the MediaClaw extension, and all three can use MediaClaw.
Collection runs in your own browser with your signed-in account, at a normal browsing pace with gaps and cooldowns, and your session is never handed to Claude Code. Before any new collection, Claude Code lists the source, volume and what Claude Code will read, and only runs after you agree. Silence is not consent, and anything beyond the agreed scope is asked again.
The MediaClaw browser extension is free to use. Letting Claude Code call MediaClaw requires a MediaClaw membership, and video transcripts are billed in credits. Claude Code’s own analysis and writing cost no MediaClaw credits, and since collection runs in the extension, collection adds nothing to your model quota.
Give Claude Code real RedNote and Douyin data today
Install the free extension, send the install prompt to Claude Code, and start in a new session.
Updated