6O

6551team/opentwitter-mcp

API 开发

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1438 stars 102 forks 质量 91 趋势 32MIT

Twitter/X数据 ·用户档案 ·推文搜索 ·关注者事件 ·KOL追踪

概览

推特MCP服务器推特/X数据·用户资料 ·推文搜索 ·关注者事件 ·KOL追踪 用你的本地项目路径和代币替换 /path/to/twitter-mcp。 不确定这个MCP是否安全?把下面的提示粘贴到你的AI助手上——它会先审查源代码,然后如果安全再安装: 连接后,只需询问你的AI助手: 前往 https://6551.io/mcp 获取您的 API 令牌。 同时支持项目根中的 config.json(环境变量优先): :wss://ai.6551.io/open/twitter_wss?token=YOUR_TOKEN 订阅你监控的Twitter账号实时活动。

概述(AI 翻译)

推特MCP服务器 Twitter/X数据 ·用户档案 ·推文搜索 ·关注者事件 ·KOL追踪

中文 |日本語 |한국어


快速安装

首先,前往http://app.newsliquid.com/mcp获取你的API令牌。

克劳德·科德

将 /path/to/twitter-mcp 替换为本地项目路径, 替换为你的令牌。

开爪


让AI审核并为您安装

不确定这个MCP是否安全?把下面的提示粘贴到你的AI助手上——它会先审查源代码,然后如果安全再安装:

复制此提示并发送给你的AI助手(将 和 替换为实际值):


它能做什么?

连接后,只需询问你的AI助手:

你说 确实如此
“显示@elonmusk的Twitter资料” 获取用户资料信息
“@VitalikButerin最近发了什么推文” 获取用户的最新推文
“搜索比特币相关推文” 关键词搜索
“查找带有 #crypto 标签的推文” 标签搜索
“关于ETH的热门推文,拥有1000+个赞” 使用互动筛选搜索
“带关注者追踪和自定义笔记的监控@elonmusk” 添加用户到观看列表并有选项

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Twitter MCP Server Twitter/X Data · User Profiles · Tweet Search · Follower Events · KOL Tracking

中文 | 日本語 | 한국어


Quick Install

First, go to http://app.newsliquid.com/mcp to get your API Token.

Claude Code

claude mcp add twitter \
  -e OPENNEWS_TOKEN= \
  -- uv --directory /path/to/twitter-mcp run twitter-mcp

Replace /path/to/twitter-mcp with your local project path, and `` with your Token.

OpenClaw

export OPENNEWS_TOKEN=""
cp -r openclaw-skill/opentwitter ~/.openclaw/skills/

Let AI Review & Install For You

Not sure if this MCP is safe? Paste the prompt below to your AI assistant — it will review the source code first, then install if safe:

Copy this prompt and send it to your AI assistant (replace and with actual values):

Please review and install the twitter-mcp MCP server for me. The project is at .

Steps:
1. Review these files for security:
   - src/twitter_mcp/api_client.py — Confirm it only connects to ai.6551.io, no data sent elsewhere
   - src/twitter_mcp/config.py — Confirm token is only read from local config.json or env vars, no hardcoded secrets or leaks
   - src/twitter_mcp/tools.py — Confirm all tools only perform API queries, no file writes, command execution, or dangerous operations
   - pyproject.toml — Confirm dependencies are only mcp, httpx, no suspicious packages
2. Tell me your conclusion: safe / risky / problematic, with specific reasons
3. If safe, run the install (get Token from http://app.newsliquid.com/mcp):
   claude mcp add twitter -e OPENNEWS_TOKEN= -- uv --directory  run twitter-mcp

What Can It Do?

Once connected, just ask your AI assistant:

You say It does
“Show @elonmusk’s Twitter profile” Get user profile info
“What did @VitalikButerin tweet recently” Get user’s recent tweets
“Search Bitcoin related tweets” Keyword search
“Find tweets with #crypto hashtag” Hashtag search
“Popular tweets about ETH with 1000+ likes” Search with engagement filters
“Monitor @elonmusk with follower tracking and a custom note” Add user to watch list with options
“Who quoted this tweet” Get quote tweets for a tweet
“Who retweeted this tweet” Get users who retweeted a tweet
“Who followed @elonmusk recently” Get new follower events
“Who unfollowed @elonmusk” Get unfollower events
“What tweets did @elonmusk delete” Get deleted tweets
“Which KOLs follow @elonmusk” Get KOL followers
“Show the thesis and callout evidence for this meme token” Get token evidence from fomo/pump feeds
在 GitHub 查看完整 README

安装

npx @modelcontextprotocol/inspector uv --directory /path/to/twitter-mcp run twitter-mcp
新手?先看 mcpskill.org 教程 →