xiaohongshu-mcp errors (300011, login loss, account bans, search_feeds timeout): how do I fix them?

xiaohongshu-mcp automates a real browser logged into your own Xiaohongshu account, which causes four recurring issues: 300011 Account abnormal and repeated QR re-logins (issue #877), warnings or bans even on light or read-only tasks especially from cloud servers (issues #668, #680, #777), overseas IPs getting 302-redirected to rednote.com (PR #906), and search_feeds timing out at 60s (context deadline exceeded) inside MustWaitStable() (issues #836, #874). For read-only AI search and research without risking an account or running a browser, XTikAPI offers a hosted OAuth MCP server (/v1/mcp) and HTTP API at $0.02 a call.

Updated 2026-11-25

Four common xiaohongshu-mcp failures and causes

300011 Account abnormal or forced QR re-login every run (issue #877)

Cause in GitHub issues / PRs: Account flagged for "suspected third-party tools/scripts" or session expired

What helps: Pause automation, appeal if restricted, avoid frequent logins

Warning or ban after auto-reply, posting, or even one search (issues #668, #680, #777)

Cause in GitHub issues / PRs: Cloud server IPs (e.g. Alibaba Cloud), fixed-interval agent loops, or repetitive text; ladder goes freeze → warning → 7-day ban → permanent

What helps: Maintainer advises residential IP (never cloud servers), slower randomized intervals, and distinct text

Overseas IP always shows logged out / redirects to www.rednote.com (PR #906, Nov 2026)

Cause in GitHub issues / PRs: Xiaohongshu 302-redirects overseas /explore, note, and profile URLs to rednote.com

What helps: Use a mainland China IP or updated rednote domain handling

search_feeds fails after ~60s with context deadline exceeded at search.go:110 while list_feeds works (issues #836, #874)

Cause in GitHub issues / PRs: MustWaitStable() never settles because lazy-loaded search feeds keep mutating the DOM; PR #839 was closed unmerged

What helps: Patch search.go to wait for search result nodes rather than DOM stability, and verify returned titles match the keyword

Read-only Xiaohongshu MCP without your account or browser

If your AI agent (ChatGPT, Claude, Claude Code, Cursor, Codex) only needs to **read** public notes, details, and comments rather than post:

  1. Connect XTikAPI's hosted MCP server at https://xtikapi.com/v1/mcp (OAuth sign-in or Bearer API key)—no Docker container, no headless Chrome, no Xiaohongshu account.
  2. Or call HTTP endpoints directly: xiaohongshu.notes.search (keyword, sort, note_type, cursor), xiaohongshu.notes.detail, xiaohongshu.comments.list, and xiaohongshu.comment_replies.list.
  3. Set a per-key spending cap or X-Max-Price header so an agent loop can never overspend.

Cost check: an agent searching 20 keywords once a day for 30 days = 600 calls × $0.02 = $12.

Why XTikAPI

  • XTikAPI reads Xiaohongshu with 16 endpoints from $0.02 a call, and a failed call is not charged.
  • Fewer tokens for AI: across 11 recorded live Xiaohongshu calls (2026-11-18), raw platform JSON is ~90k tokens vs ~17k via XTikAPI REST (80.9% fewer) and ~18k via MCP (79.7% fewer).
  • See before you pay: 192 of 229 endpoints show a recorded real response on their page (13 of 16 for Xiaohongshu).
  • Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
  • Free trial: a verified account gets $0.50, no card.

Endpoints

Each with its price; the endpoint page has parameters, fields and a recorded response.

How to do it

Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-25.

More about Xiaohongshu

Questions

When `search_feeds` times out, is my login expired?

Usually no: in issues #836 and #874 `check_login_status` and `list_feeds` both succeeded; only `search_feeds` hung waiting on `MustWaitStable()`.

Does posting as "only me" avoid xiaohongshu-mcp bans?

No: a user in issue #680 posted privately on a cloud server and was still banned.

One key. Start now.

19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.

Start free