New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@opentweet/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentweet/mcp-server

OpenTweet MCP Server - Manage your Twitter/X presence from any AI assistant

Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
54
-46.53%
Maintainers
1
Weekly downloads
 
Created
Source

@opentweet/mcp-server

MCP server for OpenTweet — manage your Twitter/X presence from Claude, Cursor, or any AI assistant.

Quick Start

1. Get an API Key

Sign up at opentweet.io and create an API key from the Developer Dashboard.

2. Configure Your AI Client

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "opentweet": {
      "command": "npx",
      "args": ["-y", "@opentweet/mcp-server"],
      "env": {
        "OPENTWEET_API_KEY": "ot_your_key_here"
      }
    }
  }
}

For Claude Code:

claude mcp add opentweet -- npx -y @opentweet/mcp-server

3. Start Using

Ask your AI assistant:

  • "Schedule a tweet about React performance for tomorrow at 9am"
  • "Show me my posting streak and analytics"
  • "Create a 5-tweet thread about TypeScript tips"
  • "What are my best posting times?"

Tools

ToolDescription
opentweet_create_tweetCreate a tweet (draft, scheduled, or publish now)
opentweet_create_threadCreate a multi-tweet thread (2-25 tweets)
opentweet_list_tweetsList tweets with status filters and pagination
opentweet_get_tweetGet full details of a specific tweet
opentweet_update_tweetEdit tweet text, category, schedule, or media
opentweet_delete_tweetDelete a tweet
opentweet_publish_tweetPublish a draft/scheduled tweet immediately to X
opentweet_batch_scheduleSchedule up to 50 tweets at once
opentweet_get_analyticsGet posting stats, streaks, trends, engagement
opentweet_get_followersGet follower growth data over time
opentweet_get_accountGet account status, subscription, and limits
opentweet_upload_mediaUpload images/videos for use in tweets

Resources

URIDescription
opentweet://accountAccount status and limits
opentweet://posts/scheduledCurrently scheduled tweets
opentweet://posts/draftsDraft tweets
opentweet://analytics/summaryAnalytics overview

Prompts

NameDescription
weekly_content_planGenerate a week of tweet content
review_and_schedule_draftsReview drafts and suggest scheduling
content_from_urlGenerate tweets from a URL or topic
performance_reviewAnalyze performance and get suggestions

Requirements

  • Node.js 18+
  • OpenTweet account with API key (get one here)
  • Connected X/Twitter account in OpenTweet

Environment Variables

VariableRequiredDescription
OPENTWEET_API_KEYYesYour OpenTweet API key (starts with ot_)
OPENTWEET_BASE_URLNoAPI base URL (default: https://opentweet.io)

License

MIT

Keywords

mcp

FAQs

Package last updated on 01 Mar 2026

Related posts