Twitterapi MCP Server
by pedrot95devio.github.pedrot95dev/twitterapiv0.1.2
Read/write X (Twitter) via twitterapi.io: mentions, thread context, create and delete tweets.
context tax
queued
security
queued
cold start
queued
freshness
Slowing3mo ago
Install Twitterapi MCP server
Install in Claude Code
claude mcp add twitterapi-pedrot95dev -e TWITTERAPI_IO_KEY='<twitterapi-io-key>' -e TWITTERAPI_IO_AUTH_TOKEN='<twitterapi-io-auth-token>' -e TWITTERAPI_IO_CT0='<twitterapi-io-ct0>' -e TWITTERAPI_IO_PROXY='<twitterapi-io-proxy>' -- npx -y @pedrot95dev/twitterapi.mcpInstall in Cursor
{
"mcpServers": {
"twitterapi-pedrot95dev": {
"command": "npx",
"args": [
"-y",
"@pedrot95dev/twitterapi.mcp"
],
"env": {
"TWITTERAPI_IO_KEY": "<twitterapi-io-key>",
"TWITTERAPI_IO_AUTH_TOKEN": "<twitterapi-io-auth-token>",
"TWITTERAPI_IO_CT0": "<twitterapi-io-ct0>",
"TWITTERAPI_IO_PROXY": "<twitterapi-io-proxy>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"twitterapi-pedrot95dev": {
"command": "npx",
"args": [
"-y",
"@pedrot95dev/twitterapi.mcp"
],
"env": {
"TWITTERAPI_IO_KEY": "<twitterapi-io-key>",
"TWITTERAPI_IO_AUTH_TOKEN": "<twitterapi-io-auth-token>",
"TWITTERAPI_IO_CT0": "<twitterapi-io-ct0>",
"TWITTERAPI_IO_PROXY": "<twitterapi-io-proxy>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"twitterapi-pedrot95dev": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pedrot95dev/twitterapi.mcp"
],
"env": {
"TWITTERAPI_IO_KEY": "<twitterapi-io-key>",
"TWITTERAPI_IO_AUTH_TOKEN": "<twitterapi-io-auth-token>",
"TWITTERAPI_IO_CT0": "<twitterapi-io-ct0>",
"TWITTERAPI_IO_PROXY": "<twitterapi-io-proxy>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"twitterapi-pedrot95dev": {
"command": "npx",
"args": [
"-y",
"@pedrot95dev/twitterapi.mcp"
],
"env": {
"TWITTERAPI_IO_KEY": "<twitterapi-io-key>",
"TWITTERAPI_IO_AUTH_TOKEN": "<twitterapi-io-auth-token>",
"TWITTERAPI_IO_CT0": "<twitterapi-io-ct0>",
"TWITTERAPI_IO_PROXY": "<twitterapi-io-proxy>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| TWITTERAPI_IO_KEY | yes | yes | twitterapi.io API key (x-api-key). Required for all tools. |
| TWITTERAPI_IO_AUTH_TOKEN | — | yes | auth_token cookie from a logged-in X session. Write tools only. |
| TWITTERAPI_IO_CT0 | — | yes | ct0 cookie from the same logged-in X session. Write tools only. |
| TWITTERAPI_IO_PROXY | — | yes | Residential proxy (http://user:pass@ip:port). Write tools only. |
Freshness
Slowing — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-03 · 3mo ago · GitHub
Latest release
2026-07-03 · 3mo ago · GitHub · v0.1.2
Package published
no data · npm/PyPI
Registry entry updated
2026-07-03 · 3mo ago · official registry · v0.1.2
FAQ
›How do I install the Twitterapi MCP server in Claude Code?
Run: claude mcp add twitterapi-pedrot95dev -e TWITTERAPI_IO_KEY='<twitterapi-io-key>' -e TWITTERAPI_IO_AUTH_TOKEN='<twitterapi-io-auth-token>' -e TWITTERAPI_IO_CT0='<twitterapi-io-ct0>' -e TWITTERAPI_IO_PROXY='<twitterapi-io-proxy>' -- npx -y @pedrot95dev/twitterapi.mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Twitterapi require an API key?
Yes. It expects TWITTERAPI_IO_KEY, TWITTERAPI_IO_AUTH_TOKEN, TWITTERAPI_IO_CT0, TWITTERAPI_IO_PROXY, of which 4 are secrets.
›Can I use Twitterapi as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Twitterapi in the official MCP registry?
Yes, as io.github.pedrot95dev/twitterapi.
Alternatives to Twitterapi
Other social media MCP servers.