Where the data comes from
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
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
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
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
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
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
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
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.
| Cursor + MediaClaw | Cursor 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; Cursor 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 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
Yes. With a browser and a signed-in RedNote account, Cursor can open pages and read them screen by screen, but that is slow, costly and relies on reading numbers off images. With MediaClaw, Cursor 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 Cursor drive a browser itself. Collecting, paging and waiting out platform rate limits all happen in the MediaClaw extension and use none of Cursor’s model quota. Cursor 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. Cursor 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 Cursor, and the install also brings the content research skill. The MCP gets the data; the skill’s 12 research and writing methods tell Cursor what to do with it. MediaClaw connects over STDIO. You do not write mcp.json by hand: send the install prompt from the MediaClaw extension to Cursor’s agent and Cursor writes the user-level config.
Cursor 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 Cursor first tells you which videos Cursor would transcribe and how many credits that takes, and only submits after you agree. Videos already transcribed are read for free.
Yes. Tell Cursor what to collect and where to save it, for example “save as data/notes.csv”, and Cursor writes the structured data MediaClaw returns into CSV or Markdown in your project, ready for scripts. If the platform yields fewer items than asked, Cursor notes the gap in the file and in its reply.
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.
No. Both read the user-level ~/.cursor/mcp.json, so one setup serves both, and they share one device identity, so you approve once in the MediaClaw extension.
No. Cursor backs up first and only adds or replaces the mediaclaw entry in the user-level config. Other MCP servers stay as they are, and no project .cursor/mcp.json is touched.
Check Cursor’s “Customize → MCPs” to see whether mediaclaw is enabled or shows an error, then start a new agent chat. It usually reconnects on its own; if not, reopen Cursor as prompted and say “check the MediaClaw connection”. Upgrades work the same way: say “upgrade MediaClaw Agent” in Cursor, then reopen Cursor as prompted.
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 Cursor. Before any new collection, Cursor lists the source, volume and what Cursor 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 Cursor call MediaClaw requires a MediaClaw membership, and video transcripts are billed in credits. Cursor’s own analysis and writing cost no MediaClaw credits, and since collection runs in the extension, collection adds nothing to your model quota.
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