MediaClawMediaClaw
Cursor Integration

Bring RedNote & Douyin data into Cursor: one MCP, one research skill

MediaClaw gives Cursor 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. The config lives in your user-level MCP settings, so the Cursor editor and the cursor-agent CLI both work after one setup. Say what you are working on, and the collected data lands in your project as CSV and docs.

You need the MediaClaw browser extension installed and an active membership first. The agent can only use capabilities you approved in the extension.

Cursor can already browse RedNote. Why connect MediaClaw?

An agent with a browser can open RedNote pages on its own. MediaClaw is scaffolding for Cursor: MediaClaw gets Cursor the RedNote and Douyin data faster, cheaper and more completely.

What Cursor is

Cursor is an AI code editor with a built-in agent chat and a cursor-agent CLI. Cursor’s agent reads and writes project files and runs commands, which makes Cursor a good fit for putting data and analysis straight into a repo.

  • Cursor writes collected data into CSV and Markdown in your project
  • The editor and the cursor-agent CLI share one MCP config

Why Cursor is slow on its own

Without MediaClaw, Cursor has to drive a browser itself: screenshot a screen, read it, scroll, repeat. Thirty posts plus their comments take Cursor dozens to hundreds of steps.

  • Cursor reads one screen at a time, and it gets slower as it goes
  • Numbers like “12K” have to be read off an image by Cursor, 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 Cursor 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 Cursor the whole set in one go.

  • Up to 300 posts per MediaClaw search
  • Hundreds of comments per post

Cursor’s tokens go only to analysis

Collecting, paging and waiting out platform cooldowns all happen in the MediaClaw extension and use none of Cursor’s model quota. Cursor spends tokens only on understanding the request, reading results back, analysing and writing the report.

  • MediaClaw gives Cursor 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 Cursor 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 Cursor’s reach

How to connect Cursor to RedNote and Douyin: four steps, shared by the editor and the CLI

Cursor’s agent clones the official repo, writes the user-level MCP config, detects your OS and chip, and downloads and verifies the runtime by itself. You copy a prompt, confirm the MCP is enabled 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 Cursor row. The prompt already carries the official source, the Cursor 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 Cursor row

Step 2: Send it to Cursor’s agent, and Cursor writes the MCP config

Paste it into a Cursor agent chat as-is. Cursor saves the official repo to a long-term folder, backs up, and only adds or updates the mediaclaw entry in the user-level ~/.cursor/mcp.json. Cursor leaves your other MCP servers alone and never writes into a project’s .cursor/mcp.json. Cursor then checks the config, official source, running version and connection state item by item.

Read the setup guide
Send the connection prompt to Cursor; Cursor checks the user-level MCP config, official source and 0.4.1 release, then confirms MediaClaw is connected

Step 3: Confirm it is enabled in Cursor’s MCP settings

Open mediaclaw under Cursor’s “Customize → MCPs”, confirm the user-level config (~/.cursor/mcp.json) is enabled and connected with the tool list showing, then start a new agent chat. The cursor-agent CLI reads the same config, so no second install is needed.

Read the setup guide
In Cursor’s MCP settings, mediaclaw’s user-level config is enabled and connected, with the MediaClaw tools listed

Step 4: Approve the pairing in the MediaClaw extension

In the new chat say “check the MediaClaw connection”. The MediaClaw extension’s Agent access tab shows “New local agent found”; check the device name “MediaClaw Agent (Cursor)” and its fingerprint, then click Approve. The editor and the CLI share this one pairing.

Read the setup guide
The MediaClaw extension finds MediaClaw Agent (Cursor); check the fingerprint and click Approve

What Cursor can do once connected

The first one is a real Cursor conversation; the other two come from runs of the same MediaClaw MCP tools and methods in other agents, and Cursor returns the same results. Copy any prompt and swap the parts in angle brackets for your own.

Have Cursor turn collected posts into data files in your project

“Collect the 30 most-liked RedNote posts on <keyword> from the past month, save them as data/notes.csv, and write three topic conclusions in the README.” RedNote search only filters by day, week, six months or any time, so Cursor first offers two plans for you to pick. After running plan one, Cursor writes 27 posts sorted by likes into data/notes.csv and three topic conclusions into the README, and explains plainly why it fell short of 30.

Try it free
In Cursor, collect RedNote camping-gear posts: two plans first, then data/notes.csv and topic conclusions in the README after confirmation

Have Cursor turn a viral post’s comments into a topic sheet

“The comments under <post link> are full of questions and needs. Collect at least 300 comments, analyse what people want, and tell me which topics I could write.” 322 comments deduped to 280, 35.4% of them clear needs, returned as a prioritised topic list plus a multi-tab sheet.

Try it free
An agent uses MediaClaw to collect 322 Douyin comments, group the needs and output a prioritised topic sheet

Have Cursor check one topic across RedNote and Douyin

“What new ways of using <keyword> are people showing in RedNote and Douyin tutorials lately?” First pins down which product the keyword means, reuses the RedNote sample already collected and only tops up Douyin, then groups recent patterns into 7 categories with examples and links to the official changelog.

Try it free
An agent pins down the keyword, reuses the existing RedNote sample, tops up Douyin and groups recent patterns into 7 categories

Three ways to get RedNote data into Cursor, 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

Cursor + MediaClawThe structured data the platform page already returns; complete fields, exact numbers
Cursor 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

Cursor + MediaClawDozens to hundreds of records per call; hundreds of comments per post
Cursor 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

Cursor + MediaClawCollection uses none; only the tidied result comes back
Cursor 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

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

Using it again later

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

Login and account

Cursor + MediaClawUses your browser’s login session; Cursor never sees cookies; collection is paced with cooldowns
Cursor 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

Cursor + MediaClaw12 research and writing methods; conclusions cite their evidence
Cursor 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 Cursor can follow. Every step is grounded in real data, and Cursor notes which posts each conclusion rests on. Data and conclusions live in your project, ready for scripts and teammates.

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 Cursor to RedNote

Give Cursor real RedNote and Douyin data today

Install the free extension, send the install prompt to Cursor’s agent, and the editor and CLI are both connected.

Updated