Skip to main content
Glama
nideaon

xhs-comment-analyzer

by nideaon

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
run_search_taskA

搜索小红书笔记并批量抓取产品评论,返回分析结果和文件路径。

自动化流程: 搜索匹配笔记 → 逐篇抓取评论 → 关键词提取 + 情感分类 + 热度评分 → 导出 Excel + JSON

Args: brand_keywords: 品牌词列表 (必须匹配), 如 ["小熊"] category_keywords: 品类词列表 (必须匹配), 如 ["小家电"] product_keywords: 具体产品词列表 (可选), 如 ["酸奶机", "蒸蛋器"] max_notes: 最多抓取笔记数 (1-200), 默认20 max_comments_per_note: 每篇最多评论数 (1-1000), 默认100 sort_by: 排序方式, general=综合, popularity=热门, time=最新 min_likes: 笔记最低点赞门槛, 默认0 comment_filter: 是否过滤产品相关评论, 默认True

Returns: JSON 格式的分析结果摘要,包含统计信息、关键词、情感分布和导出文件路径

scrape_single_noteA

抓取单篇小红书笔记的评论并分析。

适用于已知笔记URL、只需抓取单篇评论的场景。

Args: note_url: 小红书笔记URL, 如 https://www.xiaohongshu.com/explore/xxxxx max_comments: 最多抓取评论数, 默认100

Returns: JSON 格式的评论列表和分析摘要

analyze_commentsA

对已抓取的评论JSON文件重新进行关键词/情感/热度分析。

适用于需要用不同参数重新分析已有数据的场景。

Args: file_path: 已抓取的评论JSON文件路径

Returns: JSON 格式的分析结果

check_login_statusA

检查小红书登录状态,返回是否需要人工登录。

如果未登录,会自动打开浏览器窗口供用户手动登录。

Returns: JSON 格式的登录状态信息

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nideaon/xhs-comment-analyzer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server