Skip to main content
Glama
cloudy-sfu

rednote-agent

by cloudy-sfu

MCP: "rednote" assistant

MCP server which collects data from www.xiaohongshu.com social media

Acknowledgement

xhshow

Related MCP server: rednote-analyzer-mcp

Install

Cookies extraction tool

If you have Chromium-based browsers, please install J2TEAM cookies extension. Otherwise, you need to find an alternative extension to export, or manually copy cookies to local file.

[!NOTE]

If you don't use Chromium-based browsers or prefer another way to extract the cookies (alternative extension or manual process), the format of extracted cookies file is defined in JSON schema cookies_schema.json.

JSON schema editor can check whether the extracted cookies file (instance) fits cookies_schema.json (template).

Python program

Confirm you have a rednote account.

Visit https://www.xiaohongshu.com and log in your "rednote" account.

Export the cookies with J2TEAMS Cookies or alternatives to file $xiaohongshu_cookies_path.

Create and a Python 3.13 virtual environment and activate. Run the following command.

pip install -r requirements.txt
python cookies.py --input_path $xiaohongshu_cookies_path

Save the output before closing, because the output is MCP configuration information.

Update cookies

If MCP server fails to start, extract the new cookies to file $xiaohongshu_cookies_path.

Go to this program's folder, activate Python virtual environment.

Run the following command.

python cookies.py --input_path $xiaohongshu_cookies_path

MCP config

Let the root folder of this program be $base_dir.

MCP configuration:

Item

Value

Name

rednote-agent

Type

stdio

Command

$base_dir/start_server.ps1

Update version

Update source code of this MCP server.

Update cookies. Turn off and on this MCP server again.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for automating Xiaohongshu (RED Note). Publish posts, search content, comment, like, and analyze creator data on China's largest lifestyle social platform.
    19 PyPI
    25
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server enabling AI assistants to search, analyze, and generate content for Xiaohongshu (RedNote), China's leading lifestyle social media platform.
    6
    9
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A lightweight MCP server that provides read-only access to Xiaohongshu (Little Red Book) data, enabling search, note details, user profiles, and trending feeds via direct HTTP APIs.
    5
    16 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for automatically publishing text, image, and video notes to Xiaohongshu (Little Red Book).
    1
    MIT