</>MCP Agents Market
Skill

Spider_XHS

by cv-cat7.4kPythonUpdated 2026-08-18

小红书爬虫数据采集,小红书全域运营解决方案

ClawbotClaude CodeCodex

Spider_XHS is an agent skill that provides comprehensive data scraping and content publishing capabilities for Xiaohongshu (Little Red Book), China's popular lifestyle and e-commerce platform. It reverse-engineers the platform's PC and creator endpoints to expose authenticated APIs for collecting notes, user data, KOL analytics, and publishing content—all without browser automation. The skill is purpose-built as a data foundation layer for AI-powered content marketing agents that need to harvest competitor posts, analyze trends, and automatically publish AI-rewritten content at scale. It supports Skills-based integration with tools like Clawbot, Claude Code, and Codex through the companion XhsSkills repository.

Key Features

QR code, phone verification, and cookie-based authentication for PC and creator accounts without browser dependencies
Complete Xiaohongshu PC API: fetch user profiles, notes (image/video), comments, search results, notifications, and download watermark-free media
Creator platform publishing: upload image galleries and videos with transcoding support, manage posted content, and schedule releases
KOL data from Pugongying (influencer marketplace) and distributor analytics from Qianfan platform
Local pure-computation signature generation (a1, web_id, b1, websectiga, X-s, X-t, X-S-Common, x-rap-param) with automatic 406 retry and session health checks
Excel export, media downloads, proxy support, and multi-account matrix management
Agent Skills standard interface for drop-in integration with AI agent frameworks
Automatic cookie refresh, encryption storage, and 2-hour health monitoring for account stability

Use Cases

  • 01Scrape competitor content from Xiaohongshu, pass to GPT/Claude for AI rewriting, and auto-publish to creator accounts
  • 02Monitor trending keywords and hashtags, then use AI to analyze sentiment and content patterns
  • 03Collect KOL (influencer) data and profiles, feed to AI for brand-match scoring and collaboration targeting
  • 04Build automated multi-account content pipelines that harvest, optimize images with AI, and schedule posts
  • 05Extract user engagement metrics (likes, comments, followers) for market research and audience analysis
  • 06Integrate with AI agents like Clawbot or Claude Code to enable conversational Xiaohongshu data queries and publishing

Related Skills

View more

Spider_XHS — FAQ

What is Spider_XHS?+

Spider_XHS is an agent skill that provides authenticated APIs for scraping data and publishing content on Xiaohongshu (Little Red Book), designed to serve as the data layer for AI-powered marketing and content automation agents.

How do I install Spider_XHS?+

Clone the repository, install Python 3.10+ and Node.js 20+ dependencies with pip install -r requirements.txt and npm install, then configure your login method (QR code, phone, or cookie) in spider/spider.py before running python -m spider.spider.

Which AI clients and agent frameworks work with Spider_XHS?+

Spider_XHS supports Skills-based integration with Clawbot, Claude Code, and Codex through the XhsSkills companion repository. You can also call its Python APIs directly from any AI agent or LLM workflow that executes Python code.

Do I need API keys or a Xiaohongshu account?+

Yes, you need valid Xiaohongshu account credentials (PC and/or creator account). No official API keys exist; the skill reverse-engineers web endpoints. Login is handled via QR scan, phone verification, or cookie import.

Is Spider_XHS free to use?+

Yes, the code is MIT-licensed and free. However, the project is explicitly marked for educational and research purposes only, with commercial use prohibited by the author.

Does it require a browser or Selenium?+

No. Spider_XHS generates all authentication signatures (a1, b1, X-s, X-t, websectiga, profileData) locally using Node.js computation, eliminating the need for browser automation or headless drivers.

How do I install Spider_XHS?+

Open the source repository on GitHub and follow its README. Spider_XHS is a skill — MCP Agents Market links you directly to the official repo.

Is Spider_XHS free?+

Spider_XHS is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches