MediaClawMediaClaw
Codex Integration

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

MediaClaw gives Codex 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. Describe the goal in plain language; it follows the method, and it can read your local knowledge base at the same time. Before any new collection it states the source, volume and credit cost and waits for your go-ahead.

You need the MediaClaw browser extension installed and an active membership first. The agent can only use capabilities you approved in the extension, and every page visit still happens in your own browser.

What one sentence gets you once Codex is connected

All six are real MediaClaw Agent runs. The prompts are copy-ready — swap what's in angle brackets for your own. Every host runs the same MCP tools and the same methods, so the output is identical; the chat window in these screenshots may not match yours, but what comes back does.

Mine a comment section for topics you can write

“Pull at least 300 comments from this post, analyse what readers want, and tell me which topics I can take.” 322 comments deduped to 280, 35.4% of them explicit needs, delivered as a prioritized topic list and a multi-sheet workbook.

Install free extension
Collecting RedNote comments and turning them into ranked topic ideas from Codex

Find low-follower, high-like accounts

“I just started an account and don't want to study 300k-follower creators. Find low-follower, high-like posts in this niche and tell me why they worked.” Four small accounts pulled from an 80-post sample, each with followers, top-post performance and what to learn.

Install free extension
Codex surfacing low-follower high-like RedNote accounts with what to learn from each

See what a topic looks like across both platforms

“Check what new techniques people are posting about <keyword> on RedNote and Douyin lately.” It pins down which product the keyword means, reuses the existing RedNote sample, back-fills only Douyin, and groups recent patterns into 7 categories with examples.

Install free extension
Codex running cross-platform topic research and grouping recent patterns into seven categories

Today's posts only — no last month's hits

“Show me RedNote posts about <keyword> published today.” 80 latest posts scanned as of 23:48, grouped by content direction with the current top performers listed. Put it on a daily schedule and it becomes lightweight monitoring.

Install free extension
Codex pulling the day's newest RedNote posts and grouping them by direction

Tear down a video, then get a script you can shoot

“Why does this video keep people watching? How does the opening land and how does it build? Also turn it into a script I can shoot.” A precise teardown needs the transcript, so it quotes first (16 credits / 40 balance / an expiry), extracts only after you confirm, then returns the structure plus a 90-second script.

Install free extension
Codex extracting a video's structure and handing back a shoot-ready 90-second script

Write the findings back into your own knowledge base

The one thing the extension cannot do alone. “File these comments into <knowledge base path> and put the conclusion at the top.” 1,000 comments land in the document, with core conclusions, theme signals, disagreements and unmet needs up front — and a reviewable diff before anything is written.

Install free extension
Codex writing comment analysis into a local knowledge base document, conclusions first

Getting connected: three steps, no terminal, no config file

OS detection, chip detection, runtime download and checksum verification are all handled by Codex. You do two things: copy a prompt, and approve once.

Step 1: Copy the install prompt from the extension

Open System settings → Agent access in the extension, turn on “Allow local agents to call MediaClaw”, expand “Connect Agent”, and hit Copy on the Codex row. The prompt already carries the official source, the host's install commands and the repair steps — you do not need to read or edit it.

Install free extension
MediaClaw's Agent access panel: enabling local agent calls and copying the Codex install prompt

Step 2: Send it to Codex and let it install itself

Paste it into a new conversation as-is. It registers the official marketplace, installs the package, detects Windows/macOS/Linux and x64/ARM64, then fetches and verifies the matching runtime. No Node install, no terminal, no picking a .exe — and it lists everything it did when it finishes.

Read the setup guide
Codex installing and pairing on its own, listing every step it completed

Step 3: Approve the pairing back in the extension

A pending device appears in the Agent access tab. Check the device name and fingerprint, hit Approve, and Codex re-checks the connection by itself — no need to reply “approved”. Each agent is approved separately, and revoking one leaves the others alone.

Read the setup guide
Verifying the device fingerprint and approving the Codex pairing in MediaClaw

What actually gets installed

One install brings two pieces. Add your own files and the set is complete.

MCP server: gets the data

A standard MCP (STDIO) integration Codex calls directly — 40+ tools, no hand-written JSON config.

  • Collect RedNote and Douyin posts, videos, profile feeds and search results
  • Back-fill details, pull comments, extract image text and transcripts
  • Keyword scans, long-tail expansion, account scans, benchmark discovery
  • Read collections, analyses and style profiles already saved in the extension

Research skill: knows what to do with it

Listed in Codex as “MediaClaw content research and generation”, carrying 12 written methods it follows instead of improvising.

  • Research: keyword trends, long-tail demand, benchmark accounts, account strategy, recent hits, single-post teardown
  • Creation: topic ideation, content briefs, drafting, style adaptation, evidence-to-content framing
  • A quality gate before delivery: is every claim backed, is any guess written as fact
  • Skill-side analysis and drafting cost no credits

Your local knowledge base: says who you are

Obsidian, Notion, Lark, or plainly a Markdown folder. Platform evidence and your own business facts meet inside one task.

  • Read your published posts first, then surface topics readers want that you have not covered
  • If no real material backs a point, it says what is missing instead of padding with generics
  • Each study is written back as Markdown, so you can query it three months later

Five things it must ask you first

Approving the pairing lets Codex connect to MediaClaw. It does not approve every collection that follows.

ActionCollect an account
What it shows you firstA collection plan: target, fields, scope, batch count, risk level
After you confirmIt runs — and only the batches written into that plan
ActionVideo transcript
What it shows you firstA quote: credits per item, total, your balance, expiry
After you confirmExtraction starts; items already extracted are not charged twice
ActionBulk detail back-fill
What it shows you firstExactly what this round will back-fill
After you confirmIt opens the detail pages
ActionClear data
What it shows you firstBlast radius: how many records, comments and transcripts, and the space freed
After you confirmThe deletion runs
ActionComment outreach
What it shows you firstA recipient list and the message copy
After you confirmYou still confirm the send inside the extension

Codex, WorkBuddy or Doubao for Work

All three hosts run the same package, the same MCP tools and the same skill. Only the install path and auto-update differ.

HostCodex
InstallSend the prompt, it installs itself
Auto-update
NotesFully quit and reopen Codex for a new version to activate
HostWorkBuddy
InstallSend the prompt, it installs itself
Auto-update
NotesSame flow as Codex
HostDoubao for Work
InstallCreate a STDIO connector by hand; the agent prepares every field for you
Auto-update
NotesNo automatic install entry yet, so upgrades are redone manually

Frequently Asked Questions

Give Codex real RedNote and Douyin data today

Install the free extension, send the install prompt to Codex, and let it handle the rest.