MCP Server Studio
Official MCP server for twitterapis.com. Twitter/X search, users, DMs, Grok, monitoring and writes.
Registry name: io.github.TwitterAPIs/twitterapis-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/[email protected]"
],
"env": {
"TWITTERAPIS_KEY": "<TWITTERAPIS_KEY>",
"TWITTERAPIS_BASE_URL": "<TWITTERAPIS_BASE_URL>",
"TWITTERAPIS_TIMEOUT_MS": "<TWITTERAPIS_TIMEOUT_MS>"
}
}
}
}Run in your terminal:
claude mcp add twitterapis-mcp -e TWITTERAPIS_KEY='<TWITTERAPIS_KEY>' -e TWITTERAPIS_BASE_URL='<TWITTERAPIS_BASE_URL>' -e TWITTERAPIS_TIMEOUT_MS='<TWITTERAPIS_TIMEOUT_MS>' -- npx -y @twitterapis/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/[email protected]"
],
"env": {
"TWITTERAPIS_KEY": "<TWITTERAPIS_KEY>",
"TWITTERAPIS_BASE_URL": "<TWITTERAPIS_BASE_URL>",
"TWITTERAPIS_TIMEOUT_MS": "<TWITTERAPIS_TIMEOUT_MS>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"twitterapis-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@twitterapis/[email protected]"
],
"env": {
"TWITTERAPIS_KEY": "<TWITTERAPIS_KEY>",
"TWITTERAPIS_BASE_URL": "<TWITTERAPIS_BASE_URL>",
"TWITTERAPIS_TIMEOUT_MS": "<TWITTERAPIS_TIMEOUT_MS>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"@twitterapis/[email protected]"
],
"env": {
"TWITTERAPIS_KEY": "<TWITTERAPIS_KEY>",
"TWITTERAPIS_BASE_URL": "<TWITTERAPIS_BASE_URL>",
"TWITTERAPIS_TIMEOUT_MS": "<TWITTERAPIS_TIMEOUT_MS>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"twitterapis-mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.twitterapis.com/mcp"
]
}
}
}Run in your terminal:
claude mcp add --transport http twitterapis-mcp https://api.twitterapis.com/mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"twitterapis-mcp": {
"url": "https://api.twitterapis.com/mcp"
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"twitterapis-mcp": {
"type": "http",
"url": "https://api.twitterapis.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"twitterapis-mcp": {
"serverUrl": "https://api.twitterapis.com/mcp"
}
}
}| Name | Required | What it is |
|---|---|---|
TWITTERAPIS_KEY | Yes | Your twitterapis.com API key. Create one at https://www.twitterapis.com/dashboard. Required: every tool call authenticates with it. |
TWITTERAPIS_BASE_URL | No | Override the API base URL. Defaults to https://api.twitterapis.com. Only set this if you were given a different endpoint. |
TWITTERAPIS_TIMEOUT_MS | No | Per-request timeout in milliseconds. Raise it if you page through large follower lists on a slow link. |