原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

TwitterAPIs

作者:TwitterAPIs版本 0.28.0i★ –i电脑或云端
注册名称io.github.TwitterAPIs/twitterapis-mcp

安装

概览

作者提供的说明(英文原文)

Official MCP server for twitterapis.com. Twitter/X search, users, DMs, Grok, monitoring and writes.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 电脑或云端
  • 传输方式: stdio, Streamable HTTP
  • 分类: 营销与社交媒体
  • 你需要填写:TWITTERAPIS_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:3 项中通过 3 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 需要你自己填写: TWITTERAPIS_KEY, TWITTERAPIS_BASE_URL, TWITTERAPIS_TIMEOUT_MS

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://api.twitterapis.com/mcp

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "twitterapis": {
      "command": "npx",
      "args": [
        "-y",
        "@twitterapis/mcp"
      ],
      "env": {
        "TWITTERAPIS_KEY": "your-value",
        "TWITTERAPIS_BASE_URL": "your-value",
        "TWITTERAPIS_TIMEOUT_MS": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add --transport http twitterapis https://api.twitterapis.com/mcp

或者在你的电脑上运行

claude mcp add twitterapis --env TWITTERAPIS_KEY=your-value --env TWITTERAPIS_BASE_URL=your-value --env TWITTERAPIS_TIMEOUT_MS=your-value -- npx -y @twitterapis/mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "twitterapis": {
      "url": "https://api.twitterapis.com/mcp"
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "twitterapis": {
      "command": "npx",
      "args": [
        "-y",
        "@twitterapis/mcp"
      ],
      "env": {
        "TWITTERAPIS_KEY": "your-value",
        "TWITTERAPIS_BASE_URL": "your-value",
        "TWITTERAPIS_TIMEOUT_MS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "twitterapis": {
      "type": "http",
      "url": "https://api.twitterapis.com/mcp"
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "twitterapis": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@twitterapis/mcp"
      ],
      "env": {
        "TWITTERAPIS_KEY": "your-value",
        "TWITTERAPIS_BASE_URL": "your-value",
        "TWITTERAPIS_TIMEOUT_MS": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://api.twitterapis.com/mcp

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • TWITTERAPIS_KEY 机密 必填 env
    Your twitterapis.com API key. Create one at https://www.twitterapis.com/dashboard. Required: every tool call authenticates with it.
  • TWITTERAPIS_BASE_URL env
    Override the API base URL. Defaults to https://api.twitterapis.com. Only set this if you were given a different endpoint.
  • TWITTERAPIS_TIMEOUT_MS env
    Per-request timeout in milliseconds. Raise it if you page through large follower lists on a slow link.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

服务器要求先登录,才会列出它的工具。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 TwitterAPIs 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • ✓ 通过

    端点有响应

    在 425 毫秒内响应(HTTP 401)

  • ✓ 通过

    使用 OAuth 登录

    声明支持 OAuth 登录,你的 AI 应用可以带你去登录

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 3569 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3569 个服务器的 94% 更新
  • 基础检查结果等于或优于此分类中其他 3569 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

TwitterAPIs 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:TWITTERAPIS_KEY

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.28.0)于昨天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT10天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT10天前更新
安装

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

在云端运行★ 137MIT11天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@twitterapis/mcp

@twitterapis/mcp is the official MCP server for TwitterAPIs, built for developers and AI agents that need Twitter / X data inside Claude, Cursor, Windsurf, VS Code or any MCP client, with no X developer account. Your agent can search tweets, read profiles, timelines, followers, threads and lists, and post, reply, like, retweet or follow from an X account you link. Most reads cost $0.0008 per call, about $0.04 per 1,000 tweets since a call returns about 20, and creating a tweet costs $0.0016. New accounts get $0.50 of free credit with no card. Every tool maps to one REST endpoint at api.twitterapis.com, and the server holds no state.

Install: npx -y @twitterapis/mcp@latest with TWITTERAPIS_KEY from https://www.twitterapis.com/signup

Hosted, sign in instead of pasting a key (Claude Code): claude mcp add --transport http twitterapis https://api.twitterapis.com/mcp

Website: https://www.twitterapis.com/mcp

Quick start

No install needed. Run with npx. You need one thing: an API key (free $0.50 in credits, no card required): [twitterapis.com/signup](https://www.twitterapis.com/signup).

Setup

Claude Desktop

Edit claude_desktop_config.json (Settings → Developer → Edit Config):

{

"mcpServers": { "twitterapis": { "command": "npx", "args": ["-y", "@twitterapis/mcp@latest"], "env": { "TWITTERAPIS_KEY": "YOUR_API_KEY" } } } }

Restart Claude Desktop. The twitter_* tools appear in the tool picker.

Cursor

~/.cursor/mcp.json (or Settings → MCP → Add New Server):

{

"mcpServers": { "twitterapis": { "command": "npx", "args": ["-y", "@twitterapis/mcp@latest"], "env": { "TWITTERAPIS_KEY": "YOUR_API_KEY" } } } }

Windsurf

~/.codeium/windsurf/mcp_config.json:

{

"mcpServers": { "twitterapis": { "command": "npx", "args": ["-y", "@twitterapis/mcp@latest"], "env": { "TWITTERAPIS_KEY": "YOUR_API_KEY" } } } }

VS Code (Copilot / agent mode)

.vscode/mcp.json in your workspace, or the user-level MCP settings:

{

"servers": { "twitterapis": { "type": "stdio", "command": "npx", "args": ["-y", "@twitterapis/mcp@latest"], "env": { "TWITTERAPIS_KEY": "YOUR_API_KEY" } } } }

Configuration

Env varRequiredDefaultPurpose
TWITTERAPIS_KEYYes(none)API key from dashboard
TWITTERAPIS_BASE_URLNohttps://api.twitterapis.comOverride the API host
TWITTERAPIS_TIMEOUT_MSNo30000Per-request timeout in milliseconds

Tools

120 tools: 71 reads and 49 write actions. Most user endpoints accept username (handle without @) or user_id (twitter_user_likes and twitter_user_tweets_complete require user_id); tweet endpoints accept id or url; paginated endpoints return a cursor you pass back to get the next page. Every data read (except twitter_audience_summary, which always returns its full summary) also takes fields (comma-separated dotted paths to keep, e.g. id,text,author.username; pagination and envelope keys always survive) and compact ("1" for a built-in preset of ids, text, counts and author basics), so a model paying per token can trim a page to what it will read. Four of the reads are free account lookups (twitter_account_me, twitter_account_payments, twitter_feedback_get, twitter_feedback_list); the 14 monitoring tools and twitter_feedback_send are also free (account administration, not metered reads).

Public reads (search, profiles, tweets, followers, likes) work with just your API key. The account-only reads (bookmarks, DMs, home timeline, followers-you-know) and most write actions act AS an authenticated X account, so they need a session linked to your key first (returns HTTP 409 until then). Link a session either by registering your x.com cookies (twitter_customer_session) or by logging in with a username/password (twitter_user_login). Alternatively, pass per-call inline credentials on any of those tools (auth_token + ct0, with optional proxy_url / user_agent) to act AS that account for a single call without pre-registering a session, so one API key can act as many accounts. For write actions, set proxy_url to a residential proxy, since X soft-blocks writes that egress from datacenter IPs. Each write tool is annotated readOnlyHint: false; reversing actions (delete, unfollow, unlike, unretweet, unbookmark, monitor/webhook delete) are annotated destructiveHint: true so MCP clients can prompt before running them. The monitoring and feedback tools (see below) are the exception: they administer your twitterapis.com account, not an X session, so they need only your API key, no linked session and no inline credentials.

Reads
ToolWhat it does
twitter_advanced_searchSearch tweets with X operators (from:, min_faves:, since:, filter:links, etc.)
twitter_user_searchFind user accounts by name or keyword
twitter_user_infoFull profile by handle (bio, counts, verification, location)
twitter_user_info_by_idFull profile by numeric user id
twitter_user_statusIs an account alive, suspended, or deleted
twitter_user_aboutA user's structured About object (category, professional/business labels, verification + identity-verification flags, joined date, and X's 'About this account' transparency panel)
twitter_user_about_batchThe same About object for up to 100 accounts in one call (usernames or user_ids), billed per account answered; for vetting a list by country or account history
twitter_audience_summaryWho an audience is: a country histogram and likely-bot share over a sample of up to 100 followers or retweeters
twitter_user_affiliatesAccounts affiliated with an organization profile
twitter_check_follow_relationshipFollow relationship between two accounts, by id or username (who follows whom)
twitter_check_follow_relationship_batchOne account against up to 100 others in one call, either direction (which of these accounts follow the brand)
twitter_user_tweetsA user's recent original tweets (replies excluded)
twitter_user_tweets_and_repliesA user's full timeline (tweets + replies)
twitter_user_tweets_completeA large batch of a user's tweet history per call (see paging note)
twitter_user_mediaImages and videos a user has posted
twitter_user_mentionsRecent public tweets mentioning a user
twitter_user_likesTweets a user has liked (public Likes tab)
twitter_user_followersAccounts that follow a user
twitter_user_followingAccounts a user follows
twitter_user_followers_v2Followers with the v2 response shape (richer fields, deeper cursoring)
twitter_user_following_v2Following with the v2 response shape (richer fields, deeper cursoring)
twitter_user_verified_followersA user's verified followers only
twitter_followers_you_knowFollowers of a target that your authenticated account also follows
twitter_tweet_detailSingle tweet: text, author, metrics, media, quoted/reply context
twitter_tweet_repliesReplies to a tweet
twitter_tweet_replies_completeEvery reply under a tweet in one call, with an is_complete flag and a resume cursor
twitter_tweet_threadFull author thread (connected tweet chain by same author), read forward from the tweet you pass, so pass the thread's first tweet
twitter_tweet_retweetersAccounts that retweeted a tweet
twitter_tweet_quotesTweets that quote a tweet, with their text. Search-backed, so count is what search returned, not the tweet's true quote_count
twitter_list_membersMembers of a Twitter/X List
twitter_list_followersAccounts that follow a public List (a different set from its members)
twitter_list_tweetsPosts by a List's members, search-backed: filterable by since / until date, include_replies, and product (Latest / Top), no retweets
twitter_list_timelineA List's native X feed: retweets and X's own ordering included, no filters, paging only
twitter_home_timelineYour authenticated account's Home timeline _(session)_
twitter_bookmarksYour authenticated account's bookmarks _(session)_
twitter_blockingAccounts your authenticated account has blocked (your own list only) _(session)_
twitter_mutingAccounts your authenticated account has muted (your own list only) _(session)_
twitter_bookmark_searchFull-text search within your bookmarks _(session)_
twitter_bookmark_foldersYour authenticated account's bookmark folders _(session)_
twitter_bookmark_folder_timelineTweets inside one of your bookmark folders, by folder_id _(session)_
twitter_dm_listYour DM conversations (inbox), read-only _(session)_
twitter_dm_conversationMessages in one DM conversation, read-only; pass the previous page's min_entry_id as max_id to page back _(session)_
twitter_spaces_infoMetadata and participant roster for one X Space, live or ended (by Space id)
twitter_community_searchFind X Communities by keyword; the discovery step that produces the numeric id the rest of the community family needs
twitter_community_infoOne X Community by numeric id: name, counts, join policy, rules, topic, banners, admin
twitter_community_aboutA community's moderators and a member preview, each returned as a full user profile, not the reduced row _members/_moderators return
twitter_community_membersA community's member roster, each row carrying that member's Admin / Moderator / Member role
twitter_community_moderatorsA community's moderators and admins, from its own upstream operation (not a filter over the roster)
twitter_community_tweetsA community's post timeline, with the pinned post returned as its own pinned field
twitter_community_membershipsThe inverse lookup: every community a given numeric user_id belongs to
twitter_creator_commentary_videoWho posts native video about a topic: one search page grouped by author and ranked by video posts, then median and total views, with up to three top post ids per creator
twitter_grok_chatAsk X's own Grok, grounded in live X data, and get the answer plus the sources it cited
twitter_grok_chat_submitStart the same Grok chat as a background job and get a job_id at once, for clients that stop waiting before a long answer
twitter_grok_chat_resultRead a submitted Grok chat by job_id: pending, the finished answer, or the error
twitter_grok_configWhether the authenticated account can use Grok, and which models it may pick
twitter_trendsCurrent top trends for a location (by country or woeid) an X Explore tab (by category), or only the trends X labels Business and finance (category=business_and_finance)
twitter_trends_locationsEvery location X has trends for, each with its WOEID
twitter_account_meYour twitterapis.com account: credits, usage, email (free)
twitter_account_paymentsYour twitterapis.com payment history (free)
twitter_media_statusProcessing state of an uploaded media_id; an uploaded image has no processing step and is usable at once _(session)_

| twitter_article_get | Read a published article's full content via its announcement tweet id/url (pu

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx