Official MCP server for twitterapis.com. Read and write Twitter/X: search, users, tweets, DMs.
registry version 0.25.0
npm
npx -y @twitterapis/mcpnpm
npx -y @twitterapis/mcp@0.25.0Streamable HTTP
https://api.twitterapis.com/mcp
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>"
}
}
}
}{
"mcpServers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp@0.25.0"
],
"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 ↗.
terminal
claude mcp add --env TWITTERAPIS_KEY=<YOUR_TWITTERAPIS_KEY> twitterapis-mcp -- npx -y @twitterapis/mcp
claude mcp add --env TWITTERAPIS_KEY=<YOUR_TWITTERAPIS_KEY> twitterapis-mcp -- npx -y @twitterapis/mcp@0.25.0
terminal
claude mcp add --transport http twitterapis-mcp https://api.twitterapis.com/mcp
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp"
],
"env": {
"TWITTERAPIS_KEY": "<YOUR_TWITTERAPIS_KEY>"
}
}
}
}{
"mcpServers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp@0.25.0"
],
"env": {
"TWITTERAPIS_KEY": "<YOUR_TWITTERAPIS_KEY>"
}
}
}
}.cursor/mcp.json (hosted endpoint)
{
"mcpServers": {
"twitterapis-mcp": {
"url": "https://api.twitterapis.com/mcp"
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp"
],
"env": {
"TWITTERAPIS_KEY": "<YOUR_TWITTERAPIS_KEY>"
}
}
}
}{
"servers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp@0.25.0"
],
"env": {
"TWITTERAPIS_KEY": "<YOUR_TWITTERAPIS_KEY>"
}
}
}
}.vscode/mcp.json (hosted endpoint)
{
"servers": {
"twitterapis-mcp": {
"type": "http",
"url": "https://api.twitterapis.com/mcp"
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp"
],
"env": {
"TWITTERAPIS_KEY": "<YOUR_TWITTERAPIS_KEY>"
}
}
}
}{
"mcpServers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp@0.25.0"
],
"env": {
"TWITTERAPIS_KEY": "<YOUR_TWITTERAPIS_KEY>"
}
}
}
}mcp_config.json (hosted endpoint)
{
"mcpServers": {
"twitterapis-mcp": {
"serverUrl": "https://api.twitterapis.com/mcp"
}
}
}Format verified against the official Windsurf docs ↗.
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.最近更新于 26 天前 · MIT license
@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.
@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
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.
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.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](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>