# xhs_get_user_info_by_profile_url

根据主页链接、短链接或分享文案获取单个小红书用户信息。

Agent View of the PolicyLayer registry record for `xhs_get_user_info_by_profile_url`. HTML page: https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-user-info-by-profile-url

## Facts

- Tool: `xhs_get_user_info_by_profile_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 |
| --- | --- | --- | --- |
| `profile_url` | string | yes | 小红书主页链接、短链接或分享文案。支持以下形式：1) xiaohongshu.com/user/profile/... 主页长链；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_user_info_by_profile_url",
    "arguments": {
      "profile_url": "<profile_url>"
    }
  }
}
```

## Why xhs_get_user_info_by_profile_url is rated Low

This tool retrieves publicly available user profile information from Xiaohongshu based on a profile URL. It performs a query operation with no side effects, data modification, deletion, code execution, or financial transaction. The function is informational only, consistent with Read category tools like 'get' and 'fetch'.

From the tool's own definition: "Tool name contains 'get_user_info' and description states '获取单个小红书用户信息' (retrieve individual Xiaohongshu user information). The prefix 'xhs_get_' and verb 'get' indicate data retrieval with no modification."

## Use case

AI agents call xhs_get_user_info_by_profile_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_user_info_by_profile_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_detail_by_note_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-detail-by-note-url.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_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
