# X MCP 服务器

SocialToAI 是一个托管的 MCP 服务，让你的 AI 直接读 X：搜帖子，读帖子详情、评论、账号资料、账号发布的帖子和热榜。在 Claude、ChatGPT 或 Cursor 里填一个地址就能用，不用 X 账号，不用提供 Cookie，本机也不用装任何东西。每次调用 1 到 6 积分（低至 $0.002），失败不扣。最近实测：2026-10-17。

- 页面：https://socialtoai.com/zh/mcp/x/
- 最近更新：2026-10-18
- 最近实测：2026-10-17

## 接入

- MCP (Streamable HTTP)：`https://mcp.socialtoai.com/mcp`
- 请求头：`Authorization: Bearer <YOUR_API_KEY>`
- 每个客户端的完整步骤：https://socialtoai.com/zh/mcp.md

### 登录后点“允许”

- Claude app (#claude-app)：应用里的表单，Customize → Connectors → Add custom connector
- ChatGPT (#chatgpt)：应用里的表单，ChatGPT 设置 → Apps → Create

### Key 放在请求头里

- Claude Code (#claude-code)：一条命令，终端
- Cursor (#cursor)：几行配置，~/.cursor/mcp.json
- Codex (#codex)：几行配置，~/.codex/config.toml
- Trae (#trae)：几行配置，MCP → 添加 → 手动配置
- Cherry Studio (#cherry-studio)：应用里的表单，设置 → MCP 服务器 → 添加
- Dify (#dify)：应用里的表单，工具 → MCP → 添加 MCP 服务（HTTP）
- n8n (#n8n)：应用里的表单，MCP Client Tool 节点

## 你的 AI 在 X 上能调用什么

| 工具 | 返回什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| `search` | 按关键词找帖子：正文、作者、点赞数、评论数、播放或阅读数和发布时间。 | `x.search` | 2 | https://socialtoai.com/zh/x-search-api.md |
| `trending` | 现在的热榜：标题、名次和热度。 | `x.trending` | 6 | https://socialtoai.com/zh/x-trending-api.md |
| `detail` | 用编号或链接取一条帖子：正文、作者、点赞数、评论数、播放或阅读数和发布时间。 | `x.detail` | 1 | https://socialtoai.com/zh/x-detail-api.md |
| `comments` | 一条帖子下的评论：正文、点赞数、回复数和时间。 | `x.comments` | 2 | https://socialtoai.com/zh/x-comments-api.md |
| `user_profile` | 一个账号：名称、简介、粉丝数、关注数和作品数。 | `x.user_profile` | 1 | https://socialtoai.com/zh/x-user-profile-api.md |
| `user_posts` | 一个账号最近发布的帖子。 | `x.user_posts` | 2 | https://socialtoai.com/zh/x-user-posts-api.md |

### X 独有的接口（通过 call 工具）

| 接口 | 做什么 | 价格键 | 积分 | 参数和字段 |
| --- | --- | --- | --- | --- |
| `community` | 按社群编号取 X 社群的资料。 | `x.community` | 1 | https://socialtoai.com/zh/x-community-api.md |
| `community_posts` | 按社群编号取一页这个 X 社群里的帖子。 | `x.community_posts` | 4 | https://socialtoai.com/zh/x-community-posts-api.md |
| `list_posts` | 按列表编号取一页这个 X 列表时间线上的帖子，从最新的开始，每页约 100 条。 | `x.list_posts` | 2 | https://socialtoai.com/zh/x-list-posts-api.md |
| `article` | 按帖子编号取这条 X 帖子附带的长文。 | `x.article` | 2 | https://socialtoai.com/zh/x-article-api.md |
| `quotes` | 按帖子编号取一页引用它的 X 帖子，可按时间或按热门排。 | `x.quotes` | 4 | https://socialtoai.com/zh/x-quotes-api.md |
| `thread` | 按对话串里任意一条帖子的编号，取这条对话串的帖子。 | `x.thread` | 9 | https://socialtoai.com/zh/x-thread-api.md |
| `followers` | 按账号名取一页关注该 X 用户的账号，每页最多 200 个，从最新关注的开始。 | `x.followers` | 12 | https://socialtoai.com/zh/x-followers-api.md |
| `following` | 按账号名取一页该 X 用户关注的账号，每页最多 200 个。 | `x.following` | 12 | https://socialtoai.com/zh/x-following-api.md |
| `mentions` | 按账号名取一页提及该 X 用户的帖子，从最新的开始。 | `x.mentions` | 4 | https://socialtoai.com/zh/x-mentions-api.md |
| `community_members` | 按社群编号取一页加入了这个 X 社群的账号，每页约 20 个。 | `x.community_members` | 5 | https://socialtoai.com/zh/x-community-members-api.md |
| `list_followers` | 按列表编号取关注了这个 X 列表的账号，最多 20 个。 | `x.list_followers` | 5 | https://socialtoai.com/zh/x-list-followers-api.md |
| `list_members` | 按列表编号取一页这个 X 列表收录的账号，每页 20 个。 | `x.list_members` | 5 | https://socialtoai.com/zh/x-list-members-api.md |

## 一次录制的对话

### 产品口碑

> Reddit 和 X 上，大家对升降桌有哪些不满？

| 平台 | 工具 | 发了什么 | 请求数 | 返回 | 积分 |
| --- | --- | --- | --- | --- | --- |
| Reddit | [`search`](https://socialtoai.com/zh/reddit-search-api.md) | `query: "standing desk"` | 1 | 7 帖 | 2 |
| X | [`search`](https://socialtoai.com/zh/x-search-api.md) | `query: "standing desk"` | 1 | 11 帖 | 2 |
| Reddit | [`comment_insights`](https://socialtoai.com/zh/tools/comment-insights.md) | `targets: ["https://www.reddit.com/r/BuyItForLife/comments/1ntedtv/do_standing_desks_actually_help_or_are_they/","https://www.reddit.com/r/WFH/comments/1q1ia5q/i_bought_an_expensive_standing_desk_6_months_ago/","https://www.reddit.com/r/StandingDesk/comments/qd8b8v/was_your_standing_desk_worth_it_in_the_long_run/"] · focus: "what people complain about with their standing desk" · scale: "small"` | 1 | 173 条评论 | 84 |
| **合计** |  |  | 3 | 191 条 | **88** |

录制于 2026-10-18

两边都搜了，再读了 Reddit 上讨论最多的 3 帖下的 173 条评论。能判断的 162 条里有 55 条在抱怨，集中在这几点：

1. **腰背和脖子疼** (12%，20 条评论)：[“Either position for 8 hours solid leaves my back hurting.”](https://www.reddit.com/r/BuyItForLife/comments/1ntedtv/do_standing_desks_actually_help_or_are_they/ngv5bws/)
2. **忘了在坐和站之间切换** (11%，18 条评论)：[“I forget I have it most of the time...”](https://www.reddit.com/r/BuyItForLife/comments/1ntedtv/do_standing_desks_actually_help_or_are_they/ngt2t43/)
3. **站久了脚疼** (8%，13 条评论)：[“My feet do get tired by the end of the day it’s better than the back pain.”](https://www.reddit.com/r/WFH/comments/1q1ia5q/i_bought_an_expensive_standing_desk_6_months_ago/nx6mz78/)

本次共 88 积分 · $0.29. 每个结论都能点回原帖.

### 品牌口碑

> 最近 X 上大家怎么说 Notion？

| 平台 | 工具 | 发了什么 | 请求数 | 返回 | 积分 |
| --- | --- | --- | --- | --- | --- |
| X | [`brand_buzz`](https://socialtoai.com/zh/tools/brand-buzz.md) | `brand: "Notion" · about: "a note-taking and workspace app" · platforms: ["x"] · window: "30d" · scale: "small"` | 1 | 34 帖 | 16 |
| **合计** |  |  | 1 | 34 条 | **16** |

录制于 2026-10-18

找到的 34 条里有 15 条确实在说它：正面 87%，中性 7%，负面 7%。提到最多的是：

1. **功能** (100%，15 帖)：[“Got @… Plus or Pro? That subscription now covers your AI usage in Notion.”](https://x.com/NotionHQ/status/2104994569964388738)
2. **价格** (13%，2 帖)：[“Notion Plus Free for Students & Teachers 😳”](https://x.com/0xranjeet/status/2108545032181666075)
3. **易用性** (13%，2 帖)：[“Button automations can now message your agents.”](https://x.com/NotionHQ/status/2110853125389029437)

本次共 16 积分 · $0.053. 每个结论都能点回原帖.

### 爆款内容

> 这周 X 上哪些讲 AI agents 的帖子火了？

| 平台 | 工具 | 发了什么 | 请求数 | 返回 | 积分 |
| --- | --- | --- | --- | --- | --- |
| X | [`research viral_finder`](https://socialtoai.com/zh/tools/viral-finder.md) | `query: "AI agents" · window: "7d" · scale: "small"` | 1 | 31 帖 | 24 |
| **合计** |  |  | 1 | 31 条 | **24** |

录制于 2026-10-18

找到 31 条，7 条达到平时的 3 倍以上。起量最多的几种形式，占比是占能判断形式的 31 条的比例：

1. **展示** (23%，7 帖)：[“transformed an ordinary academic reading list into an interactive research lab right inside the browser”](https://x.com/Bober_smart/status/2110080979742192101)
2. **故事** (10%，3 帖)：[“Grok Bot built me a completely autonomous business which has already generated $1,100”](https://x.com/AlexFinn/status/2110181971280433613)
3. **盘点** (29%，9 帖)：[“10 GitHub skills + tools that make Hermes instantly more useful.”](https://x.com/BentoBoiNFT/status/2110111219172712922)

本次共 24 积分 · $0.08. 每个结论都能点回原帖.

## 可以这样问

- 这周 X 上，家用咖啡和抹茶哪个更火？ → search, search：4 积分 ($0.013)
- 读一下这条 X 帖子的评论，告诉我大家在抱怨什么。 → detail, comments × 3：7 积分 ($0.023)
- 在 X 上找 5 个发露营咖啡内容的账号，看看他们最近发了什么。 → search, user_posts × 5：15 积分 ($0.05)

## 做不到什么

- **X 给不了的字段**：这些字段返回 null，并列在返回的 unavailable 里，你的 AI 会把它读成“平台没给”，不会当成 0。 `title`, `metrics.shares`, `is_pinned`, `id`, `heat`, `url`, `parent_id`, `root_id`
- **只读，不代你发布**：你的 AI 不能通过 SocialToAI 在 X 上发帖、评论、点赞、关注或发私信。
- **只有公开可见的内容**：X 上任何人都能看到的内容和账号信息。登录后才看得到的都没有：私密账号、私信、你自己的推荐流。

## 相关页面

- [X API](https://socialtoai.com/zh/platforms/x.md)
- [怎么用 AI 看 X（推特）上大家怎么说一个品牌？](https://socialtoai.com/zh/docs/guides/track-brand-mentions-on-x.md)
- [怎么让 AI 去 Reddit 和 X 上读用户对一类产品的吐槽？](https://socialtoai.com/zh/docs/guides/read-reddit-and-x-for-product-complaints.md)
- [怎么用 AI 找 X（推特）上一个话题里火起来的帖子？](https://socialtoai.com/zh/docs/guides/find-viral-posts-on-x.md)
- [TikTok MCP 服务器](https://socialtoai.com/zh/mcp/tiktok.md)
- [Instagram MCP 服务器](https://socialtoai.com/zh/mcp/instagram.md)
- [Reddit MCP 服务器](https://socialtoai.com/zh/mcp/reddit.md)
- [YouTube MCP 服务器](https://socialtoai.com/zh/mcp/youtube.md)
- [小红书 MCP 服务器](https://socialtoai.com/zh/mcp/xiaohongshu.md)
- [抖音 MCP 服务器](https://socialtoai.com/zh/mcp/douyin.md)
- [微博 MCP 服务器](https://socialtoai.com/zh/mcp/weibo.md)
