MediaClawMediaClaw
Claude Code Integration

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
MediaClaw extension Agent access tab: the list of 8 agents, with “Copy connection prompt” on the Claude Code row

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
Claude Code receives the install prompt, checks version, channel, source, identity and pairing, and confirms MediaClaw is connected

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
The MediaClaw extension finds MediaClaw Agent (Claude Code); check the fingerprint and click Approve

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
In Claude Code, find low-follower, high-like RedNote posts in the camping-gear niche and write the breakdown into research.md

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
An agent uses MediaClaw to pick 4 low-follower, high-like accounts from 80 incense-niche posts, with followers, performance and what to learn

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
An agent uses MediaClaw to break down a Douyin video: quotes transcript credits, waits for confirmation, then returns the structure and a 90-second script

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.

Where the data comes from

Claude Code + MediaClawThe structured data the platform page already returns; complete fields, exact numbers
Claude Code drives a browser itselfReads text off screenshots
A scraper or an open-source MCPCalls endpoints directly and breaks when the page changes

How much per run

Claude Code + MediaClawDozens to hundreds of records per call; hundreds of comments per post
Claude Code drives a browser itselfA few posts per screen, scrolling over and over
A scraper or an open-source MCPWhatever the script was written to do

Model quota used

Claude Code + MediaClawCollection uses none; only the tidied result comes back
Claude Code drives a browser itselfEvery step means reading a screenshot, the most expensive option
A scraper or an open-source MCPCollection uses none, but writing and fixing the script does

What a video actually says

Claude Code + MediaClawTranscripts and on-image text extraction (you confirm before credits are spent)
Claude Code drives a browser itselfCannot hear the video
A scraper or an open-source MCPYou wire up speech-to-text yourself

Using it again later

Claude Code + MediaClawSaved in a local data pool other agents can read, never collected twice
Claude Code drives a browser itselfGone when the chat closes
A scraper or an open-source MCPYou store and manage it yourself

Login and account

Claude Code + MediaClawUses your browser’s login session; Claude Code never sees cookies; collection is paced with cooldowns
Claude Code drives a browser itselfThe agent operates your logged-in page directly
A scraper or an open-source MCPHands cookies or a QR-code session to the script

After the data arrives

Claude Code + MediaClaw12 research and writing methods; conclusions cite their evidence
Claude Code drives a browser itselfUp to the model to improvise
A scraper or an open-source MCPRaw data only

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

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