MCP Connector

Access RedNote Social Media Content

Search and read Xiaohongshu (RedNote) posts by keyword or URL, with persistent cookie-based login via a browser session.

Works with githubnpm

86
Spark score
out of 100
Updated May 2025
Version 0.1.3
Models
universal

Add to Favorites

Why it matters

Integrate with the RedNote (XiaoHongShu) social media platform to programmatically access and retrieve posts. Enables automated data extraction and analysis of Chinese social media content.

Outcomes

What it gets done

01

Install and configure the RedNote MCP server.

02

Authenticate and manage sessions using cookie persistence.

03

Search for notes and posts using keyword queries.

04

Extract note content via direct URL access.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-rednote-mcp | bash

Capabilities

Tools your agent gets

search_notes

Search for notes/posts on RedNote by keywords

get_note_content

Access and retrieve note content via URL from RedNote

authenticate

Manage authentication with RedNote using cookie persistence

Overview

RedNote MCP Server

RedNote MCP gives an AI assistant access to Xiaohongshu content - searching notes by keyword and reading note content by URL - authenticated via a Playwright-managed, persisted cookie login session. Use it for searching and reading Xiaohongshu content after completing the init login step. Reading comment content via URL is planned but not yet implemented.

What it does

RedNote MCP gives an AI assistant access to Xiaohongshu (RedNote) content - searching notes by keyword and reading note content by URL - authenticated through a persisted browser login session managed via Playwright.

When to use - and when NOT to

Use it when you want an AI assistant to search Xiaohongshu for notes matching a keyword or read the content of a specific note given its URL. Before first use, you must run the init command to log in through a browser window that opens automatically; once you complete the login manually, the session cookie is saved to ~/.mcp/rednote/cookies.json for reuse. Do not expect comment content retrieval via URL yet - that capability is listed as planned but not yet implemented. Keep the cookie file secure since it contains sensitive session credentials, and refresh it periodically since it can expire.

Capabilities

  • Authentication management with persistent cookie storage.
  • Keyword search for notes.
  • Command-line init tool for interactive login.
  • Access note content by URL.

How to install

Install Playwright first:

npx playwright install

Then install globally and log in:

npm install -g rednote-mcp
rednote-mcp init

Or build from source:

git clone https://github.com/ifuryst/rednote-mcp.git
cd rednote-mcp
npm install
npm run dev -- init

Configure Cursor:

{
  "mcpServers": {
    "RedNote MCP": {
      "command": "rednote-mcp",
      "args": ["--stdio"]
    }
  }
}

Or via npx: {"command": "npx", "args": ["rednote-mcp", "--stdio"]}. Requires Node.js 16+ and npm 7+. Debug with the MCP Inspector: npx @modelcontextprotocol/inspector npx rednote-mcp --stdio.

Who it's for

Content researchers and marketers who want an AI assistant to search and read Xiaohongshu (RedNote) posts conversationally instead of manually browsing the app.

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.