X Reader Mcp

io.github.danishaali9由 GitHub 账号 danishaali9 发布v1.0.0更新于 Oct 29, 2026

Read public X posts and full X Articles as clean Markdown. Free, no X API key.

已验证Streamable HTTP可网页运行网页搜索与抓取媒体与设计

概览

AI 生成的概览

远程 MCP 服务器,读取公开的 X(Twitter)帖子和完整 X 长文,并以整洁的 Markdown 返回,无需 X API 密钥。

可以做什么
  • 根据链接或数字 ID 读取公开 X 帖子,返回含作者、日期、互动数据、正文、图片、视频链接、投票和引用帖的 Markdown
  • 返回 X 长文(Article)的完整正文,把 X 的文章格式渲染为标题、列表、链接、代码块和媒体
  • 除 MCP 工具外,还可通过网页阅读器和纯 Markdown 接口获取同样内容
适用场景
适合经常把 x.com 或 twitter.com 帖子链接贴进对话、希望助手读到真实正文的场景,尤其是其他工具只给出链接的 X 长文。它是面向公开帖子的轻量只读工具,不适合做检索或存档。
运行要求
需要在客户端中把远程 MCP 端点添加为自定义连接器或远程服务器;无需登录、API 密钥、请求头或环境变量。服务器本身依赖免费的社区服务 FxTwitter,并运行在 Cloudflare Workers 上。
安装前请注意
只能读取公开帖子;私密账号、已删除帖子和单独的文章链接会失败,也不返回回复和完整的多帖串。帖子内容经由第三方 FxTwitter 服务获取,提交的链接会发送给该服务。端点是公开的,并受 Cloudflare 免费套餐限额约束。README 中有打赏链接,工具本身不收费。

安装

在 SourceWeft 中

  1. 打开 控制台中的 X Reader Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.danishaali9%2Fx-reader-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "x-reader": {
      "type": "http",
      "url": "https://x-reader-mcp.roastedrants.workers.dev/mcp"
    }
  }
}

README

X Reader MCP

Let Claude (or ChatGPT, Cursor, any MCP client) read public X posts and full X Articles. Paste a post link in chat and the AI gets clean Markdown: title, author, date, engagement, text, images, best-quality video links, polls, quoted posts, and the entire long-form article body.

Connector URL: https://x-reader-mcp.roastedrants.workers.dev/mcp (add it as a custom connector, no sign-in needed)

  • Free: uses the public FxTwitter API, no X API key
  • Tiny: zero runtime dependencies, about 17 KB, runs on Cloudflare Workers' free plan
  • Read-only: it only reads public posts

Why I built it: other tweet MCPs returned only the article link for X Articles, never the text. This one renders X's article format (Draft.js) into proper Markdown with headings, lists, bold/italic, links, code blocks, images and videos.

If this saves you time, you can buy me a coffee ☕

Use it now (no install)

  • Web reader: https://x-reader-mcp.roastedrants.workers.dev
    Paste a post link, preview it, copy or download the Markdown.
  • Claude / ChatGPT connector: add https://x-reader-mcp.roastedrants.workers.dev/mcp as a custom connector (no sign-in needed), then paste any post link in chat.

Want your own copy? Deploy it yourself below.


Example output

markdown
# I built a free MCP that lets Claude read X Articles
**Author:** roastedrants (@roastedrants), 1,234 followers**Posted:** 2026-10-21 15:08 UTC**Engagement:** 150 likes, 12 reposts, 5 replies, 2 quotes, 1,300 bookmarks, 45,678 views**Type:** X Article
---
## Why TweetSave was not enough
It only returned the **article link**, never the body.
1. Deploy it on [**Cloudflare**](https://workers.cloudflare.com)2. Add the connector in Claude3. Paste any post link

Deploy (about 5 minutes)

You need Node.js 22.18 or newer and a free Cloudflare account.

bash
npm installnpx wrangler login      # opens the browser oncenpm run deploy

Wrangler prints your URL, something like https://x-reader-mcp.<your-subdomain>.workers.dev.

Quick check in any browser (phone works too):

https://x-reader-mcp.<your-subdomain>.workers.dev/read?url=https://x.com/<user>/status/<id>

Connect it

Your MCP endpoint is the URL above plus /mcp.

Claude app (web, desktop, mobile): Settings → Connectors → Add custom connector → paste the /mcp URL. Then enable it in a chat and paste any post link.

Claude Code:

bash
claude mcp add --transport http x-reader https://x-reader-mcp.<your-subdomain>.workers.dev/mcp

ChatGPT: Settings → Apps & Connectors (Developer mode) → create a connector with the /mcp URL, no auth.

Cursor / other clients: add a remote server with "url": "https://.../mcp".

Tool

ToolInputReturns
read_x_posturl: post URL (x.com, twitter.com, mobile, fxtwitter...) or numeric IDMarkdown of the post, and the full article if it's an X Article

Other endpoints: GET / is the web reader, GET /read?url=... returns plain Markdown.

Limits (honest list)

  • Public posts only. Private accounts and deleted posts return a clear error.
  • No replies and no full multi-post threads (FxTwitter only returns the single post).
  • Bare article links (x.com/i/article/...) can't be resolved; paste the post that shares the article.
  • Depends on FxTwitter, a free community service. If it is down, the tool says so.
  • The endpoint is public. Cloudflare's free plan allows 100,000 requests a day, plenty for personal use.

Develop

bash
npm test          # offline tests with a sample article (no network)npm run dev       # local server at http://localhost:8787npm run typecheck

Code map: src/index.ts (MCP over Streamable HTTP, stateless), src/fxtwitter.ts (URL parsing and fetch), src/markdown.ts (post and Draft.js article to Markdown), src/page.ts (web reader page).

Credits

Data comes from FxTwitter / FxEmbed. Please be kind to their servers. Not affiliated with X Corp.

Made by @roastedrants. Buy me a coffee ☕

MIT License

来源:README.md,提交 2f39d70

工具

1

read_x_post

Read X post or article

Reads a public X (Twitter) post and returns it as Markdown: author, date, engagement, text, images, video links, polls, quoted post, and the FULL body of X Articles (long-form posts). Use it whenever the user shares an x.com or twitter.com status link. Does not return replies or full multi-post threads.

输入参数url必填

版本历史

1
  1. v1.0.0最新Oct 29, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分