twitter135

twitter135

3.5

The twitter135 MCP server provides a comprehensive suite of tools for accessing both public and private data from Twitter.

The twitter135 MCP server enables users to perform a variety of operations such as searching tweets, retrieving user information, accessing media, and performing actions like retweeting or favoriting tweets. With twitter135, users can delve into the vast ecosystem of Twitter data and leverage it for various applications like social media analytics, sentiment analysis, and more.

Features

  • Search and Explore: Utilize tools like Auto Complete, Search, Trends, and Locations to discover and analyze content on Twitter.
  • Tweet Management: Access detailed tweet information, manage tweet interactions such as retweeting, favoriting, and translating tweets.
  • User Management: Retrieve detailed user profiles, their tweets, followers, media, and more.
  • Lists and Communities: Manage Twitter lists and explore community details, moderators, and members.
  • Miscellaneous Tools: Utilize additional functionalities like retrieving hashflags and managing notifications.

MCP Tools

  • Auto Complete: Helps in predicting and completing search queries.
  • Search: Conduct powerful searches with advanced query capabilities.
  • Trends: Stay updated with the latest Twitter trends based on location.
  • Locations: Retrieve information about locations to enhance search specificity.
  • Tweet Detail & Conversation: Gain insights into specific tweets and their conversations.
  • Tweet Retweeters: Identify users who have retweeted specific tweets.
  • Translate Tweet: Translate tweets into different languages.
  • Get Users: Fetch detailed information about multiple users.
  • User By Screen Name: Retrieve user data using their Twitter handle.
  • User Followers: Access followers of a specific user and their details.
  • User Media: Retrieve media associated with a user.
  • List Details: Access detailed information about a Twitter list.
  • List Subscribers: Identify subscribers of a specific Twitter list.
  • Community Details: Fetch details about various Twitter communities.
  • Community Members: List members of a specific community.
  • Hashflags: Retrieve special Twitter emojis associated with hashtags.
  • Notifications: Manage and retrieve user notifications.
  • Create Tweet: Post new tweets on behalf of a user.
  • Favorite Tweet: Mark tweets as favorites.
  • v1 / Tweet Detail & Conversation: Access older tweet and conversation details.
  • v1 / User By Screen Name: Retrieve user data using deprecated methods.

Usage with Different Platforms

python

python
import twitter135

# Initialize the client
client = twitter135.Client(api_key='your_api_key')

# Search for tweets
results = client.search_tweets(query='OpenAI')

# Print the results
for tweet in results:
    print(tweet.text)

nodejs

javascript
const Twitter135 = require('twitter135');

// Initialize the client
const client = new Twitter135.Client({ apiKey: 'your_api_key' });

// Search for tweets
client.searchTweets('OpenAI').then(results => {
    results.forEach(tweet => {
        console.log(tweet.text);
    });
});