Skip to main content
Glama
AI Social Data MCP

AI Social Data MCP

by yy-MAX-HUB

FeedSonar

让 Agent 不只“搜到网页”,而是真正进入社交平台的数据层

Built for Cursor · Claude · Codex
搜索、自动翻页、读取详情、分析作者与评论区——全部通过 MCP 完成。

npm MIT License MCP Black-box

一键安装到 Cursor · 在线服务 · npm · Release


为什么需要它?

普通网页搜索通常只能给 Agent 一组链接和摘要。面对社交平台,真正有价值的信息往往藏在:

  • 搜索结果的第 2、3、4 页

  • 视频或笔记的完整互动数据

  • 创作者主页和历史作品

  • 评论区里的价格、预约、体验和真实需求

  • 不同平台对同一话题的反馈差异

FeedSonar 把这些能力包装成 Agent 能理解、能组合、能自动翻页的结构化工具。

示例任务:
“搜索 12 个北京旅游视频,不够就继续翻页;筛选互动高的内容,再读取评论区,总结游客最关心的问题。”

Agent 会自动完成:

关键词搜索 → 判断 has_more → 自动翻页 → 内容详情
          → 作者资料 → 历史作品 → 评论 / 二级评论 → 分析

Related MCP server: rednote-analyzer-mcp

与普通网页搜索的区别

能力

普通网页搜索

FeedSonar

返回网页链接与摘要

✓

✓

返回结构化互动指标

—

✓

自动翻页满足用户数量

—

✓

获取作者资料与作品

—

✓

获取一级 / 二级评论

—

✓

跨平台统一数据结构

—

✓

快速安装

无需注册,无需用户 API Key。选择你的 Agent,复制对应配置即可。

Agent / 客户端

推荐连接方式

Cursor

远程 MCP URL / 一键安装

Claude Code

claude mcp add 远程 HTTP

Claude Desktop

npm stdio 桥接器

Codex CLI / IDE / ChatGPT Desktop

config.toml 远程 URL

Gemini CLI

gemini mcp add 远程 HTTP

VS Code / GitHub Copilot

.vscode/mcp.json

Windsurf

Cascade 远程 MCP

Cline

Streamable HTTP

Roo Code、Cherry Studio 等

通用 npm stdio 配置

Cursor

最快方式:一键安装到 Cursor

手动安装:保存到项目的 .cursor/mcp.json,然后重新加载 Cursor。

{
  "mcpServers": {
    "feedsonar": {
      "url": "https://www.aisocialdata.xyz/mcp"
    }
  }
}

Claude Code

claude mcp add --transport http --scope user feedsonar https://www.aisocialdata.xyz/mcp

检查连接:

claude mcp list

Claude Desktop

Claude Desktop 使用 stdio 桥接器。要求 Node.js 18 或更高版本。

配置文件:

  • Windows:%APPDATA%\Claude\claude_desktop_config.json

  • macOS:~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "feedsonar": {
      "command": "npx",
      "args": ["-y", "feedsonar-mcp"]
    }
  }
}

保存后完全退出并重新打开 Claude Desktop。

Codex CLI / Codex IDE / ChatGPT Desktop

Codex CLI、IDE 扩展和 ChatGPT Desktop 共用 Codex MCP 配置。添加到 ~/.codex/config.toml;也可在受信任项目中使用 .codex/config.toml。

[mcp_servers.feedsonar]
url = "https://www.aisocialdata.xyz/mcp"

重新启动客户端后运行 /mcp 检查工具。

Gemini CLI

命令行安装:

gemini mcp add --transport http feedsonar https://www.aisocialdata.xyz/mcp

或者添加到 ~/.gemini/settings.json:

{
  "mcpServers": {
    "feedsonar": {
      "url": "https://www.aisocialdata.xyz/mcp",
      "type": "http"
    }
  }
}

VS Code / GitHub Copilot Agent

保存为工作区的 .vscode/mcp.json:

{
  "servers": {
    "feedsonar": {
      "type": "http",
      "url": "https://www.aisocialdata.xyz/mcp"
    }
  }
}

打开 Copilot Chat 的 Agent 模式;也可以从命令面板运行 MCP: Add Server。

Windsurf

在 Settings → Tools → Add Server 中选择远程 HTTP,填入:

https://www.aisocialdata.xyz/mcp

使用 Raw Config 时:

{
  "mcpServers": {
    "feedsonar": {
      "serverUrl": "https://www.aisocialdata.xyz/mcp"
    }
  }
}

保存后在 Cascade MCP 面板点击 Refresh。

Cline

在 Cline 的 MCP Servers → Remote Servers 中选择 Streamable HTTP,或使用:

{
  "mcpServers": {
    "feedsonar": {
      "type": "streamableHttp",
      "url": "https://www.aisocialdata.xyz/mcp",
      "disabled": false,
      "autoApprove": []
    }
  }
}

Roo Code / Cherry Studio / 其他 stdio 客户端

只要客户端支持标准 command + args MCP 配置,就可以使用:

{
  "mcpServers": {
    "feedsonar": {
      "command": "npx",
      "args": ["-y", "feedsonar-mcp"]
    }
  }
}

安装后如何验证?

检查 npm 桥接器:

npx -y feedsonar-mcp --version

然后向 Agent 提问:

使用 get_hot_list 获取抖音前 3 个热点,并告诉我每个热点的热度。

安装成功时,客户端应显示以下 6 个工具:

get_hot_list · social_search · get_content_detail
get_user_profile · get_user_posts · get_comments

适合哪些真实场景?

内容与选题研究

“搜索 20 个机器人相关视频,自动翻页并按互动量整理选题方向。”

评论区消费者洞察

“采集这个视频 100 条评论和热门回复,归纳用户抱怨、购买意向和高频问题。”

创作者尽调

“找到人工智能领域创作者,读取公开资料和最近作品,筛选适合合作的账号。”

跨平台对比

“对比抖音、小红书、Bilibili 和微博对同一旅游话题的内容角度与用户反馈。”

已验证平台

所有公开能力都经过真实端点黑盒测试;未通过验收的能力不会放进 schema。

平台

已验证能力

抖音

热点、内容/用户搜索、自动翻页、详情、用户资料、作品、一级/二级评论

小红书

真实分享链接笔记详情、作者、互动量、标签、媒体

Bilibili

真实 BVID 详情、作者、互动指标、评论

微博

真实帖子详情、作者、互动指标

MCP 工具

适合热点晨报、选题发现和趋势追踪。

返回 pagination.has_more、next_cursor 和翻页指令。Agent 会根据用户要求的总量继续调用,而不是停在第一页。

返回正文、作者、发布时间、互动指标和媒体信息;支持 standard 与 full 两种详细度。

获取公开资料和作品列表;作品支持自动翻页。

支持一级评论、二级评论和 cursor 翻页。抖音单页最多 30 条。

验证情况

发布前执行了 10 个隔离的真实业务黑盒场景,每个场景都启动一个全新的 stdio MCP 客户端:

  • 10 / 10 场景通过

  • 搜索 4 页得到 12 个去重视频

  • 评论自动翻 2 页得到 60 条去重评论

  • 创作者作品自动翻 2 页得到 10 条作品

  • 验证抖音评论树、小红书笔记、Bilibili 视频与评论、微博帖子

  • Node.js 18 / 20 真实安装验证通过

工作方式与隐私

Agent
  ├─ Remote MCP
  └─ npm stdio bridge
          ↓ HTTPS
  Free Hosted MCP
          ↓
  Public social-platform data
  • 开源包只负责 MCP 协议桥接,不包含私有采集后端或服务器凭据。

  • 桥接器不会读取本地文件。

  • 查询参数会发送到托管服务以完成取数,请勿提交账号密码、Cookie 或私密数据。

  • 免费服务采用公平使用限速;平台风控或上游变化可能导致个别能力暂时不可用。

开发

npm install
npm test          # 离线验证 tools/list 与 tools/call
npm run test:journey

自定义兼容端点:

FEEDSONAR_MCP_URL=http://127.0.0.1:9100/mcp npx feedsonar-mcp

非本机地址必须使用 HTTPS。

License

开源桥接器使用 MIT License。托管数据服务及其后端不属于本许可证授权范围。

Available Tools

6 tools
get_commentsA

获取公开内容的一级或二级评论。count 是单页数量,抖音最多 30;当用户要求更多且返回 pagination.has_more=true 时,必须保持内容与层级参数,并用 pagination.next_cursor 自动继续调用,直到满足用户数量或无更多结果。抖音一级评论传 content_id,二级评论还需 comment_id;Bilibili 的 content_id 使用详情返回的数字 aid。

Inputs: platform (required), count, level, order, +5 more.

get_content_detailB

获取单条公开内容的详细数据,包括作者、正文和互动指标。传 content_id 或平台分享文案 share_text。

Inputs: platform (required), verbosity, content_id, share_text.

get_hot_listA

获取社媒平台当前热点榜或热搜榜。适合回答今日热点、热门话题和实时趋势;不适合按关键词搜索历史内容。

Inputs: platform (required), limit.

get_user_postsA

获取公开用户发布内容列表。count 是单页目标;当用户要求更多且返回 pagination.has_more=true 时,必须保持用户参数并用 pagination.next_cursor 自动继续调用,直到满足用户数量或无更多结果。

Inputs: platform (required), count, cursor, user_id, +3 more.

get_user_profileA

获取公开用户资料。传 user_id、抖音 sec_user_id 或用户分享文案;不要用于获取私密账号数据。

Inputs: platform (required), user_id, verbosity, share_text, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action—hot lists, keyword search, content details, user profiles, user posts, and comments—with no conceptual overlap. Even social_search and get_user_posts differ by keyword-based discovery vs. user-specific listing.

    Naming Consistency4/5

    Five of six tools follow the get_<object> pattern, creating a predictable structure. The single exception, social_search, breaks the pattern but remains clear and readable, so a mild deviation.

    Tool Count5/5

    With 6 tools, the server is well-scoped for social media data retrieval, covering discovery, detail, and user-centric queries without excess or deficiency.

    Completeness5/5

    The toolset forms a complete read-only workflow for social media data: hot list for trends, search for discovery, content detail for specific items, user profile and posts for user-centric exploration, and comments for engagement context. No obvious missing operation within this domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      C
      quality
      Not graded
      maintenance
      A Model Context Protocol (MCP) server that enables AI assistants to search, retrieve, and analyze content from Xiaohongshu (Little Red Book), providing access to notes, user information, and trending topics.
      6
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      MCP server enabling AI assistants to search, analyze, and generate content for Xiaohongshu (RedNote), China's leading lifestyle social media platform.
      6
      9
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that consolidates 237+ social/e-commerce data APIs (TikTok, Xiaohongshu, Taobao, etc.) into 6 fixed tools, enabling natural language semantic search and dynamic invocation without code changes.
      1
      MIT