How do Claude Code, Cursor and Codex read Xiaohongshu without cookies? (2026)
From $0.0200 a call, with no account or cookie of yours: connect OneFeedAPI's MCP server by pasting one sentence with your key into the agent, and it sets itself up. Then ask in plain words, and it searches notes and reads comments on that key. OneFeedAPI reads Xiaohongshu (RedNote) with 33 endpoints, from $0.0200 a call; a failed call is not charged, and the free trial covers up to 333 calls.
Paste this into Claude Code, Cursor or Codex: “Read https://onefeedapi.com/agents.md and set up OneFeedAPI in this agent. My API key is dx_…; use it for every OneFeedAPI call.”
Or from a terminal: npx onefeedapi setup writes the entry for all three and installs the base skill. It does not write your key: put that in the environment variable ONEFEED_API_KEY.
Client
Where the entry goes
Claude Code
~/.claude.json
Cursor
~/.cursor/mcp.json
Codex
~/.codex/config.toml
What to ask, and what it comes to
“Search Xiaohongshu for sunscreen reviews and tell me what the comments under the top 5 notes complain about.” That is one search and 5 pages of comments: 6 calls at $0.0200, $0.12.
“List the notes of this creator and sort them by likes.” Give it the profile link as you copied it. Finding an endpoint and reading its parameters are free; only call is charged, and the agent can see the price first. Give it its own key with a limit.
Why OneFeedAPI
Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
Fast: a paid call took 1.3 seconds at the median over the last 7 days (counted 2026-11-06).
Fewer tokens: across 21 endpoints on Xiaohongshu (RedNote), one recorded real response each, the platform's own JSON comes to 480k tokens and what an AI reads through OneFeedAPI's MCP server to 36k, 92% fewer; the JSON of a direct API call is 85% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in author, counts in metrics, the next page in page.next_cursor, so another platform needs no new parser.
See before you pay: every endpoint's page shows a recorded real response, field by field.
Spending you control: a failed call is not charged; each key can have a limit, X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never charged twice.
Ready for AI: a remote MCP server listed in the official MCP registry as com.onefeedapi/mcp, usable from Claude, Cursor and ChatGPT.
Free trial of up to 333 calls, no card.
Endpoints
Each with its price; every page has the parameters, the fields and a recorded response.