rednote-agent

rednote-agent

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

Category
Visit Server

README

MCP: "rednote" assistant

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

Acknowledgement

xhshow

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured