# xhs_get_note_detail_by_note_url

根据笔记链接、短链接或分享文案获取单篇小红书笔记详情。 返回的 note_url 在任何使用场景都必须原样保留完整 URL，包括 xsec_token 等 query 参数；例如最终回答、展示、引用、存储、输出或传递；不得用 note_id 重新拼接链接；note_url 为 null 时不要用 note_id 合成公开链接。

Agent View of the PolicyLayer registry record for `xhs_get_note_detail_by_note_url`. HTML page: https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-detail-by-note-url

## Facts

- Tool: `xhs_get_note_detail_by_note_url`
- Server: SocialDataX 小红书 Xiaohongshu XHS RedNote MCP (`https://mcp.socialdatax.com/xhs/mcp`) — https://policylayer.com/tools/com-52choujiang-xhs-insights.md
- Homepage: https://github.com/https://mcp.socialdatax.com/xhs/mcp
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 1 (1 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `note_url` | string | yes | 小红书笔记链接、短链接或分享文案。支持以下形式：1) 小红书笔记长链接；2) xhslink.com / xhslink.cn / xhsurl.com / xhsurl.cn 短链接；3) 包含上述任一链接的完整分享文案。 |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "xhs_get_note_detail_by_note_url",
    "arguments": {
      "note_url": "<note_url>"
    }
  }
}
```

## Why xhs_get_note_detail_by_note_url is rated Low

This tool queries and fetches information about a single Xiaohongshu note based on provided URLs or share text. It performs no creation, modification, deletion, or execution of external operations. The emphasis on preserving returned URLs intact confirms this is a retrieval operation with no destructive or write capabilities.

From the tool's own definition: "Tool retrieves note details ('获取单篇小红书笔记详情') from a note URL; returns data without modification or side effects. The instruction about preserving URLs indicates read-only data retrieval."

## Use case

AI agents call xhs_get_note_detail_by_note_url to retrieve information from SocialDataX 小红书 Xiaohongshu XHS RedNote MCP without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches SocialDataX 小红书 Xiaohongshu XHS RedNote MCP:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "xhs_get_note_detail_by_note_url": {}
  }
}
```

## Other tools on SocialDataX 小红书 Xiaohongshu XHS RedNote MCP (23)

- `socialdatax_get_points_balance` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/socialdatax-get-points-balance.md
- `xhs_get_note_comments_by_note_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-comments-by-note-id.md
- `xhs_get_note_comments_by_note_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-comments-by-note-url.md
- `xhs_get_note_detail_by_note_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-detail-by-note-id.md
- `xhs_get_note_sub_comments_by_comment_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-sub-comments-by-comment-id.md
- `xhs_get_product_detail` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-product-detail.md
- `xhs_get_product_review_replies` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-product-review-replies.md
- `xhs_get_product_reviews` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-product-reviews.md
- `xhs_get_search_hot_list` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-search-hot-list.md
- `xhs_get_topic_notes_by_page_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-topic-notes-by-page-id.md
- `xhs_get_topic_notes_by_topic_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-topic-notes-by-topic-url.md
- `xhs_get_user_info_by_profile_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-user-info-by-profile-url.md
- `xhs_get_user_info_by_user_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-user-info-by-user-id.md
- `xhs_get_user_posted_notes_by_profile_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-user-posted-notes-by-profile-url.md
- `xhs_get_user_posted_notes_by_user_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-user-posted-notes-by-user-id.md
- `xhs_get_video_speech_text_job` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-video-speech-text-job.md
- `xhs_pgy_get_note_detail_by_note_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-pgy-get-note-detail-by-note-id.md
- `xhs_pgy_get_note_detail_by_note_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-pgy-get-note-detail-by-note-url.md
- `xhs_search_notes` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-search-notes.md
- `xhs_search_products` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-search-products.md
- `xhs_search_suggestions` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-search-suggestions.md
- `xhs_submit_video_speech_text_by_note_id` — Write — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-submit-video-speech-text-by-note-id.md
- `xhs_submit_video_speech_text_by_note_url` — Write — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-submit-video-speech-text-by-note-url.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-52choujiang-xhs-insights · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-52choujiang-xhs-insights
