KT

kaitoinfra/twitterapi-io-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

1 stars 1 forks 品質 84 トレンド 19MIT

Official Model Context Protocol server for — Twitter / X data API for AI agents and applications.

概要

Official Model Context Protocol server for — Twitter / X data API for AI agents and applications. Connect Claude Desktop, Cursor, VS Code Copilot, or any MCP client to twitterapi.io and search tweets, fetch user profiles, get followers, replies, trends, and more — all from natural language. 12 read-only tools mapped 1:1 to twitterapi.io's verified production endpoints: Sign up at twitterapi.io — free tier available. Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows): Restart Claude Desktop. The 12 tools will be available in any chat — Claude will pick the right one based on your prompt. Open Settings → MCP → Add new MCP Server: Add to your MCP servers config — same shape as Claude Desktop / Cursor.

README

以下は原文 README の抜粋です。原文を見る。

twitterapi.io MCP Server

Official Model Context Protocol server for twitterapi.io — Twitter / X data API for AI agents and applications.

Connect Claude Desktop, Cursor, VS Code Copilot, or any MCP client to twitterapi.io and search tweets, fetch user profiles, get followers, replies, trends, and more — all from natural language.

Features

12 read-only tools mapped 1:1 to twitterapi.io’s verified production endpoints:

Tool What it does
search_tweets Advanced search with Twitter operators (from:, since:, lang:, has:, …)
get_user_info User profile basics by screen name
get_user_about Extended profile / about page
get_user_followers Followers with full profile metadata (paginated)
get_user_followings Following list with profile metadata (paginated)
get_user_last_tweets A user’s recent tweets (timeline)
get_user_mentions Tweets that mention a user
get_tweets_by_ids Batch fetch tweets by ID (up to 100)
get_tweet_replies Replies to a tweet
get_tweet_quotes Quote-tweets of a tweet
get_tweet_retweeters Users who retweeted a tweet
get_trends Trending topics by location (WOEID)

Quick Start

1. Get an API key

Sign up at twitterapi.io — free tier available.

2. Configure your MCP client

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "twitterapi-io": {
      "command": "npx",
      "args": ["-y", "@twitterapi_io/mcp-server"],
      "env": {
        "TWITTERAPI_IO_API_KEY": "your_key_here"
      }
    }
  }
}

Restart Claude Desktop. The 12 tools will be available in any chat — Claude will pick the right one based on your prompt.

Cursor

Open Settings → MCP → Add new MCP Server:

{
  "mcpServers": {
    "twitterapi-io": {
      "command": "npx",
      "args": ["-y", "@twitterapi_io/mcp-server"],
      "env": {
        "TWITTERAPI_IO_API_KEY": "your_key_here"
      }
    }
  }
}

VS Code (Copilot Chat with MCP)

Add to your MCP servers config — same shape as Claude Desktop / Cursor.

Claude Code

claude mcp add twitterapi-io npx -- -y @twitterapi_io/mcp-server -e TWITTERAPI_IO_API_KEY=your_key_here

3. Use it

In any MCP-enabled chat:

“Find recent tweets from @elonmusk about AI in the last week”

“Get the follower list of @sama and show me the top 20 by follower count”

GitHub で README 全文を見る

インストール

npx -y @twitterapi_io/mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "twitterapi-io": { "command": "npx", "args": ["-y", "@twitterapi_io/mcp-server"], "env": { "TWITTERAPI_IO_API_KEY": "your_key_here" } } } }