Catalog npm
Back to packageRELEASE DETAILS

0.1.2

npm

@0xparashar/twitter-mcp

A Model Context Protocol server allows to interact with Twitter, enabling posting tweets and searching Twitter.

claudemcpmodelcontextprotocolservertwitter
Published23 Apr 2025
Direct dependencies6
Transitive dependenciesNot calculated

README

Current package documentation

Twitter MCP Server

smithery badge

This MCP server allows Clients to interact with Twitter, enabling posting tweets and searching Twitter.

Twitter Server MCP server

Quick Start

  1. Create a Twitter Developer account and get your API keys from Twitter Developer Portal

  2. Add this configuration to your Claude Desktop config file:

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "twitter-mcp": {
      "command": "npx",
      "args": ["-y", "@enescinar/twitter-mcp"],
      "env": {
        "API_KEY": "your_api_key_here",
        "API_SECRET_KEY": "your_api_secret_key_here",
        "ACCESS_TOKEN": "your_access_token_here",
        "ACCESS_TOKEN_SECRET": "your_access_token_secret_here"
      }
    }
  }
}
  1. Restart Claude Desktop

That's it! Claude can now interact with Twitter through two tools:

  • post_tweet: Post a new tweet
  • search_tweets: Search for tweets

Example Usage

Try asking Claude:

  • "Can you post a tweet saying 'Hello from Claude!'"
  • "Can you search for tweets about Claude AI?"

Troubleshooting

Logs can be found at:

  • Windows: %APPDATA%\Claude\logs\mcp-server-twitter.log
  • macOS: ~/Library/Logs/Claude/mcp-server-twitter.log

Development

If you want to contribute or run from source:

  1. Clone the repository:
git clone https://github.com/EnesCinr/twitter-mcp.git
cd twitter-mcp
  1. Install dependencies:
npm install
  1. Build:
npm run build
  1. Run:
npm start

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@modelcontextprotocol/sdk
Environment
{
  "local_name": "@modelcontextprotocol/sdk",
  "alias": false,
  "peer_metadata": null
}
0.6.0runtime
dotenv
Environment
{
  "local_name": "dotenv",
  "alias": false,
  "peer_metadata": null
}
^16.4.7runtime
twitter-api-v2
Environment
{
  "local_name": "twitter-api-v2",
  "alias": false,
  "peer_metadata": null
}
^1.18.2runtime
zod
Environment
{
  "local_name": "zod",
  "alias": false,
  "peer_metadata": null
}
^3.24.0runtime
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^20.11.24development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.3.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-MXuxErGo9zBlg69DViWi7cu+WjMojANW/vD7E1wcbh2S9IQQM+pTpM8BSoAmxF5qfw9MflXsrkqkrr9CBnWXzQ==",
  "shasum": "1416f7c94c0c652d2f11d8fd9280771225b36eb8",
  "tarball": "https://registry.npmjs.org/@0xparashar/twitter-mcp/-/twitter-mcp-0.1.2.tgz",
  "fileCount": 7,
  "unpackedSize": 18062,
  "signatures": [
    {
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
      "sig": "MEUCIQDlyxpVK0SRs8+l2oJvoHrY1FnbPWtqU6EwxYHy+OAnUQIgLv98RH44zJNNfCV6oohvjyjrWjHBrEDhmRe8qxzhqCI="
    }
  ]
}

Repository

PENDING
0xparashar/twitter-mcp

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:26 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:ef76a14e3ffd660d0dc88ff341a8ae562abd11d4005b3f0ddfbd82e640bd4521

Other collected versions

0.1.123 Apr0.1.021 AprView all collected versions →