@pullapi/twitter-scraper-mcp
v1.0.0
Published
Twitter/X MCP server — user profiles, tweets & tweet details. For Claude, Cursor & AI agents.
Maintainers
Readme
Twitter/X Scraper MCP Server
An MCP server that provides real-time Twitter/X data — user profiles with follower counts, recent tweets, and individual tweet details with engagement metrics — for use with Claude, Cursor, and other MCP-compatible AI tools.
Features
- Get Profile — Get a Twitter/X user profile including bio, follower counts, and verification status
- Get Tweets — Get recent tweets from a Twitter/X user
- Get Tweet — Get a single tweet's details including engagement metrics
Tools
get_profile
Get a Twitter/X user profile including bio, follower counts, and verification status
Parameters:
| Name | Type | Required | Description |
|------|------|----------|-------------|
| username | string | Yes | Twitter/X username (without @) |
get_tweets
Get recent tweets from a Twitter/X user
Parameters:
| Name | Type | Required | Description |
|------|------|----------|-------------|
| username | string | Yes | Twitter/X username |
| count | number | No | Number of tweets to return (default: 20) |
get_tweet
Get a single tweet's details including engagement metrics
Parameters:
| Name | Type | Required | Description |
|------|------|----------|-------------|
| tweet_id | string | Yes | Tweet ID |
Configuration
Get your API key from RapidAPI.
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"twitter": {
"command": "npx",
"args": ["-y", "@pullapi/twitter-scraper-mcp"],
"env": {
"RAPIDAPI_KEY": "your-rapidapi-key"
}
}
}
}Usage with Cursor
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"twitter": {
"command": "npx",
"args": ["-y", "@pullapi/twitter-scraper-mcp"],
"env": {
"RAPIDAPI_KEY": "your-rapidapi-key"
}
}
}
}License
MIT
