TwitterShots MCP Server
Enables generating Twitter/X tweet screenshots with customizable themes, formats, and display options using the TwitterShots API. Supports natural language commands to create screenshots and check API usage.
README
TwitterShots MCP Server
MCP (Model Context Protocol) server for generating Twitter/X tweet screenshots using the TwitterShots API.
How to Use
1. Get Your API Key
- Visit TwitterShots Account Settings
- Navigate to Account Settings > API Key
- Copy your API key for configuration
API Usage Limits:
- Free & Pro: 5 screenshots for trial
- Pro+: 300 screenshots per month
- Business: 6,000 screenshots per month
2. Install and Configure
- Clone or download the TwitterShots MCP Server from the repository:
Or download the project as a ZIP file and extract it to your desired location.git clone git@github.com:twittershots/twittershots-mcp.git cd twittershots-mcp
3. Configure MCP Client
Add the server to your MCP client configuration (e.g., Cursor, Claude Desktop) in your MCP config file:
For Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"twittershots": {
"command": "node",
"args": ["/path/to/twittershots-mcp/build/index.js"],
"env": {
"TWITTERSHOTS_API_KEY": "your-api-key-here"
}
}
}
}
Example mcp.json with actual path:
{
"mcpServers": {
"twittershots": {
"command": "node",
"args": ["/Users/0xinhua/workspace/open-source/0xinhua-proj/twittershots-mcp/build/index.js"],
"env": {
"TWITTERSHOTS_API_KEY": "sk_xxxxxx"
}
}
}
}
4. Start Using with Natural Language
Once configured, you can use natural language to generate tweet screenshots and check API usage:
- "Use twittershots to screenshot https://x.com/elonmusk/status/2001742502332911922 in dark mode"
- "Generate a screenshot of tweet 2002397336803348716 with dark theme"
- "Create a tweet screenshot with light theme and show full text"
- "Check my twittershots API usage"
- "Get my API quota usage"
Tool: get_screenshot
Get a screenshot image URL for a Twitter/X tweet.
Parameters:
url(required): Twitter/X tweet URL or tweet IDformat(optional): Image format -svg(default),png, orhtmltheme(optional): Theme -light(default) ordarklogo(optional): Logo type -x(default),bluebird, ornoneshowFullText(optional): Show full tweet content (default:true)showTimestamp(optional): Show timestamp (default:true)showViews(optional): Show view count (default:true)showStats(optional): Show reply, retweet, and like counts (default:true)
Example:
use twittershots to screenshot https://x.com/elonmusk/status/2001742502332911922 in dark mode
Output: Screenshot URL with the generated image link
Tool: get_usage
Get your current API quota usage, including remaining requests and total quota limit.
Parameters: None
Example:
check my twittershots API usage
or
get my API usage
Output:
API Usage:
Remaining: 1234
Limit: 2000
Used: 766 (38.3%)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.