T

TwitterAPIs

MCP server · by TwitterAPIs

Developer Tools npmStreamable HTTP v0.25.0

Official MCP server for twitterapis.com. Read and write Twitter/X: search, users, tweets, DMs.

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 0.25.0

npm
npx -y @twitterapis/mcp
Streamable HTTP
https://api.twitterapis.com/mcp

Setup by client

Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "twitterapis-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@twitterapis/mcp"
      ],
      "env": {
        "TWITTERAPIS_KEY": "<YOUR_TWITTERAPIS_KEY>"
      }
    }
  }
}

Remote (hosted) endpoint

https://api.twitterapis.com/mcp

Claude Desktop: Settings → Connectors → Add custom connector, paste this URL.

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

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

GitHub

最近更新于 26 天前 · MIT license

About this server

@twitterapis/mcp Official Model Context Protocol server for twitterapis.com, the Twitter / X API as native tools for Claude, Cursor, Windsurf, and any MCP client. Reads (search, profiles, timelines, followers, DMs) plus write actions (post, like, retweet, follow). Ask your agent to search tweets, pu…

Summary from the project README — github.com/TwitterAPIs/twitterapis-mcp

Distributed as npm, Streamable HTTP, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the TwitterAPIs MCP server do?

@twitterapis/mcp Official Model Context Protocol server for twitterapis.com, the Twitter / X API as native tools for Claude, Cursor, Windsurf, and any MCP client. Reads (search, profiles, timelines, followers, DMs) plus write actions (post, like, retweet, follow). Ask your agent to search tweets, pu

How do I install TwitterAPIs?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is TwitterAPIs free to use?

The MCP server itself is free to install. The source is public on https://github.com/TwitterAPIs/twitterapis-mcp. Any third-party service it calls may require its own API key and account.

Which clients support TwitterAPIs?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/twitterapis-mcp.svg)](https://mcpnav.net/server/twitterapis-mcp/)

HTML

<a href="https://mcpnav.net/server/twitterapis-mcp/"><img src="https://mcpnav.net/badge/twitterapis-mcp.svg" alt="Listed on MCPNav" height="20"></a>