TwitterAPIs MCP Server
by twitterapisio.github.TwitterAPIs/twitterapis-mcpv0.22.1
Official MCP server for twitterapis.com. Read and write Twitter/X: search, users, tweets, DMs.
context tax
queued
security
queued
cold start
queued
freshness
Active6d ago
Install TwitterAPIs MCP server
Install in Claude Code
claude mcp add twitterapis -e TWITTERAPIS_KEY='<twitterapis-key>' -- npx -y @twitterapis/mcpInstall in Cursor
{
"mcpServers": {
"twitterapis": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp"
],
"env": {
"TWITTERAPIS_KEY": "<twitterapis-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"twitterapis": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp"
],
"env": {
"TWITTERAPIS_KEY": "<twitterapis-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"twitterapis": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp"
],
"env": {
"TWITTERAPIS_KEY": "<twitterapis-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"twitterapis": {
"command": "npx",
"args": [
"-y",
"@twitterapis/mcp"
],
"env": {
"TWITTERAPIS_KEY": "<twitterapis-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| TWITTERAPIS_KEY | yes | yes | 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. |
Remote endpoints
- streamable-http
https://api.twitterapis.com/mcp
Freshness
Active — last maintenance signal 6d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-03 · 6d ago · GitHub
Latest release
2026-08-17 · 53d ago · GitHub · v0.9.1
Package published
no data · npm/PyPI
Registry entry updated
2026-10-02 · 7d ago · official registry · v0.22.1
FAQ
›How do I install the TwitterAPIs MCP server in Claude Code?
Run: claude mcp add twitterapis -e TWITTERAPIS_KEY='<twitterapis-key>' -- npx -y @twitterapis/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does TwitterAPIs require an API key?
Yes. It expects TWITTERAPIS_KEY, of which 1 is a secret.
›Can I use TwitterAPIs as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is TwitterAPIs in the official MCP registry?
Yes, as io.github.TwitterAPIs/twitterapis-mcp.
Alternatives to TwitterAPIs
Other social media MCP servers.