推文保存转换服务

一个无需Twitter API密钥即可获取Twitter/X内容并将其转换为博客文章的服务。

  • by zezeron
  • TypeScript
  • 混合部署
  • 7 星标
  • 更新于
在 GitHub 查看 zezeron/tweetsave-mcp

使用说明

MCP server for fetching Twitter/X content and converting to blog posts.
No Twitter API key required - Uses FxTwitter API (free, open source).

Website • Quick Start • Features • Installation • Tools


特性

  • 获取包含完整内容、媒体和参与度指标的推文
  • 将推文转换为格式化的博客文章
  • 提取媒体URL(照片、视频、GIF)
  • 批量获取多条推文(最多10条)
  • 支持引用推文和民意调查
  • Markdown和JSON输出格式

快速开始

远程MCP(推荐)

无需安装-直接连接到托管服务器:

npx -y mcp-remote https://mcp.tweetsave.org/sse

本地(npx)

npx -y tweetsave-mcp

安装

远程MCP(推荐)

连接到托管服务器-无需本地安装。

克劳德代码

# Global (all projects)
claude mcp add -s user tweetsave -- npx -y mcp-remote https://mcp.tweetsave.org/sse

# Project only
claude mcp add tweetsave -- npx -y mcp-remote https://mcp.tweetsave.org/sse

克劳德桌面/光标/风帆

添加到MCP配置中:

{
  "mcpServers": {
    "tweetsave": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.tweetsave.org/sse"]
    }
  }
}

配置文件位置:

  • 克劳德桌面(macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
  • 克劳德桌面(Windows): %APPDATA%\Claude\claude_desktop_config.json
  • 光标: ~/.cursor/mcp.json
  • 风浪: ~/.codeium/windsurf/mcp_config.json

VS代码

创建 .vscode/mcp.json 在您的工作空间中:

{
  "servers": {
    "tweetsave": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.tweetsave.org/sse"]
    }
  }
}

Gemini CLI

gemini mcp add tweetsave "npx -y mcp-remote https://mcp.tweetsave.org/sse"

JetBrains集成开发环境

设置→ 工具→ MCP服务器→ Add:

  • 姓名: 推特保存
  • 命令: 新巴拿马型船舶
  • 论据: -y mcp遥控器https://mcp.tweetsave.org/sse

开源代码

opencode mcp add

然后按照提示操作:

  • 姓名: tweetsave
  • 类型: 远程
  • 网址: https://mcp.tweetsave.org/sse
  • OAuth: 不

反重力

点击 ... menu → MCP → 管理MCP服务器→ 查看原始配置:

{
  "mcpServers": {
    "tweetsave": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.tweetsave.org/sse"]
    }
  }
}

本地安装

用于离线使用或开发。

克劳德代码

# Global (all projects)
claude mcp add -s user tweetsave -- npx -y tweetsave-mcp

# Project only
claude mcp add tweetsave -- npx -y tweetsave-mcp

克劳德桌面/光标/风帆

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

可用工具

tweetsave_get_tweet

获取一条包含所有内容的推文。

参数 类型 默认值 说明
url string 必填 推特URL或ID
response_format 'markdown' 'json' 'markdown'

tweetsave_get_thread

获取推特线程(连接的推文)。

参数 类型 默认值 说明
url string 必填 线程中的任何推特URL
response_format 'markdown' 'json' 'markdown'

tweetsave_to_blog

将推文转换为博客文章格式。

参数 类型 默认值 说明
url string 必填 推特URL或ID
include_engagement boolean true 包括点赞/转发
response_format 'markdown' 'json' 'markdown'

tweetsave_batch

一次获取多条推文。

参数 类型 默认值 说明
urls string[] 必填 URL数组(最多10个)
response_format 'markdown' 'json' 'markdown'

tweetsave_extract_media

从推特中提取直接媒体URL。

参数 类型 默认值 说明
url string 必填 推特URL或ID
media_type “所有” “照片” “视频”

输出示例

Markdown格式

## @itsPaulAi (Paul Couvert)

This is so good 🔥

You can run this new model on a laptop which is:
- 100% open source
- Only 3B active parameters (!!)

---
**Engagement**: 228 likes | 15 retweets | 29.9K views
**Posted**: January 19, 2026 at 08:02 PM

博客文章格式

# This is so good 🔥 You can run this new model...

*A post by @itsPaulAi*

**Author**: Paul Couvert ([@itsPaulAi](https://x.com/itsPaulAi))
**Published**: January 19, 2026 at 08:02 PM
**Read time**: 1 min read

---

[Content here]

---

## Engagement

- **Likes**: 228
- **Retweets**: 15
- **Views**: 29.9K

局限性

  • 无回复/评论:FxTwitter API不支持获取回复
  • 费率限制:FxTwitter对频繁使用有费率限制
  • 私人推文:无法访问受保护/私人帐户

许可证

麻省理工学院

贡献

欢迎投稿!请打开问题或PR。

支持

  • 问题:https://github.com/zezeron/tweetsave-mcp/issues
  • 推特: @泽泽伦