How to set up the TwitterAPI.io MCP Server in Claude
- Get a TwitterAPI.io API key and replace the placeholder in your local app configuration. Merge the entry inside mcpServers and restart Claude Desktop.
- Check access with a public post you can verify by opening the original.
Claude Desktop · Claude Desktop configuration
{
"mcpServers": {
"twitterapi-io": {
"command": "npx",
"args": [
"-y",
"@twitterapi_io/mcp-server"
],
"env": {
"TWITTERAPI_IO_API_KEY": "YOUR_TWITTERAPI_IO_API_KEY"
}
}
}
}Example workflow
Retrieve a known public post by its identifier and verify the author, timestamp, and text against the source page. Keep the result to that public record.
What to know before you start
Use the appropriate tweet, user, or query scope. The listing describes post search, profile lookup, and follower information with a provider API rather than account posting.