shanyang-me avatar

Xiaohongshu (Little Red Book) MCP Server

shanyang-me/xhs-mcp

Gives Claude direct access to Xiaohongshu's (Little Red Book) publishing and content APIs through a Playwright-powered browser session that bypasses bot detection. You can publish image notes with titles, tags, and captions, search feeds by keyword, fetch note details, and check user profiles. Login happens via QR code scan that persists cookies locally. Under the hood, it loads your session into a headless browser and calls XHS's internal APIs with proper signatures, avoiding any UI automation. Reach for this when you want to automate content publishing to China's lifestyle social platform or build AI workflows that search and analyze XHS posts without manual API key setup.

tools
8
transport
STDIO
last updated
Mar 6, 2026

Tools

8 tools

Public tool metadata for what this MCP can expose to an agent.

check_login_statusCheck if you're logged in

Check if you're logged in

No parameter schema in public metadata yet.

get_login_qrcodeGenerate QR code for login

Generate QR code for login

No parameter schema in public metadata yet.

check_qrcode_statusPoll QR scan status & save session

Poll QR scan status & save session

No parameter schema in public metadata yet.

reload_cookiesReload cookies from disk

Reload cookies from disk

No parameter schema in public metadata yet.

publish_contentPublish an image note with title, text, images, and tags

Publish an image note with title, text, images, and tags

No parameter schema in public metadata yet.

search_feedsSearch XHS notes by keyword

Search XHS notes by keyword

No parameter schema in public metadata yet.

get_feed_detailGet full details of a note

Get full details of a note

No parameter schema in public metadata yet.

user_profileGet user profile information

Get user profile information

No parameter schema in public metadata yet.

Sponsors

Readme

xiaohongshu-mcp-server

A Model Context Protocol (MCP) server for Xiaohongshu (Little Red Book) - China's leading lifestyle social media platform.

Publish image notes, search content, view note details, and manage your account - all through MCP tools that AI assistants can use directly.

How It Works

Uses Playwright to run a headless Chromium browser that:

  1. Loads your XHS session cookies
  2. Generates authentic API signatures via the XHS web app's built-in signing function
  3. Makes API calls through the browser's network context (bypasses anti-bot detection)
  4. Uploads images directly to XHS CDN

No browser automation of UI elements - all interactions go through XHS's internal API.

Tools


View the full README on GitHub

Details

Repository
github.com/shanyang-me/xhs-mcp
Category
Search & Web Crawling
Package
xiaohongshu-mcp-server
Transport
STDIO
Registry
MCP registry, active

Related Search & Web Crawling MCP servers

View all
1kyurish avatarFiverr Mcp Serverkyurish/fiverr-mcp-serverSearch Fiverr gigs, sellers, pricing, and reviews. No API key required.2stars
2abm-dev-git avatarAbm Mcpabm-dev-git/abm-mcpabm.dev — the account-based marketing API for AI agents: Search, Enrich, and Create across B2B.1stars
3trendsmcp-ai avatarYouTube Trends MCPtrendsmcp-ai/youtube-trends-mcpYouTube search interest and trend data over time, with growth metrics. Free key at trendsmcp.ai1stars
4andrijdavid avatarVinted Mcpandrijdavid/vinted-mcpMCP Server for Vinted that allows to search items, compare prices, and analyze sellers.1stars
5ask-cyborg avatarAskCyborgask-cyborg/askcyborg-mcpAnalyst-debate research on every public and private company. 8 tools: search, score, compare, more.1stars
6cammac-creator avatarOpenSwissDatacammac-creator/openswissdataSwiss customs tariff (TARES), FINMA register, NOGA/NACE/ISIC codes. 4 free tools + search trial.1stars