get_note_comments
Fetches the comments on a note from its URL.
Reads Xiaohongshu (RedNote) through your own signed-in browser session — search notes by keyword, open one by URL, and read its comments.
LABSCO SUMMARY
The login is deliberately manual and happens once: a browser opens, you sign in, and the cookies are saved and reused. Plan to redo it periodically — everything here depends on that stored session, and empty search results are usually a cookie that has expired rather than a missing note.
A Playwright-driven server for Xiaohongshu content. You sign in once by hand, the cookies are stored, and everything afterwards runs against that session.
Node.js 16 or later with npm 7 or later, and Playwright's browsers installed — npx playwright install. A Xiaohongshu account: run rednote-mcp init once, complete the login yourself in the browser window it opens, and the cookies are written to ~/.mcp/rednote/cookies.json. That file holds a live session, so keep it out of anywhere shared and refresh it when it stops working. In the client, launch the server with the --stdio argument, either as the globally installed rednote-mcp command or through npx.
Follow the published steps — npx playwright install
USE CASES
Complete the login in the browser window; the session is stored for later runs.
Search by keyword and cap how many notes come back.
Fetch its content straight from the URL.
Pull the comments on the note, where the actual opinions usually are.
Search first, then read the content of the notes worth keeping.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get_note_commentsFetches the comments on a note from its URL.
get_note_contentFetches the content of a note from its URL.
loginSigns in to a Xiaohongshu account for subsequent requests.
search_notesSearches Xiaohongshu notes by keywords, up to a result limit.
BEFORE YOU INSTALL
4 tools when we connected.
The documented client runs the server on your machine.
CONTEXT COST
Rated by the size of the 4 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx playwright install
npm install -g rednote-mcprednote-mcp init — a browser opens; sign in to Xiaohongshu and the cookies are saved to ~/.mcp/rednote/cookies.json
{
"mcpServers": {
"rednote-mcp": {
"command": "npx",
"args": [
"rednote-mcp",
"--stdio"
]
}
}
}