TweetAPI MCP Server

Dữ liệu Twitter/X chỉ đọc, được lưu trữ cho các tác nhân AI qua OAuth—tìm kiếm tweet, hồ sơ, người theo dõi, danh sách, cộng đồng và không gian, với 100 yêu cầu miễn phí cho tài khoản mới.

Tài liệu

Twitter API MCP Server for AI Agents

Give Codex, Claude Code, or Cursor direct access to current TweetAPI documentation and bounded, read-only Twitter data tools. Connect once through the dashboard, then work from your agent chat.

Connect MCP

New accounts include 100 free requests. No credit card required.

TweetAPI hosted MCP

OAuth-protected remote server

MCP connection URL

https://mcp.tweetapi.com/mcp

Verified setup

Connect Codex, Claude Code, or Cursor

Copy the setup for your client below. Codex and Claude Code use CLI commands; Cursor uses its global MCP configuration file.

Codex

Add the hosted server, then approve access through TweetAPI.

1. Add server

codex mcp add tweetapi --url https://mcp.tweetapi.com/mcp

2. Log in

codex mcp login tweetapi

Claude Code

Add the hosted server, then approve access through TweetAPI.

1. Add server

claude mcp add --transport http --scope user tweetapi https://mcp.tweetapi.com/mcp

2. Log in

claude mcp login tweetapi

Cursor

Save this remote server in your global Cursor MCP configuration.

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "tweetapi": {
      "url": "https://mcp.tweetapi.com/mcp"
    }
  }
}

Requirements and boundaries

Useful agent access without widening the trust boundary

Read-only live tools

Hosted MCP can search TweetAPI docs and call supported public-data tools. It does not expose posting, engagement, account-secret, or DM operations.

Normal TweetAPI quota

Each live MCP call is forwarded to TweetAPI and consumes the normal quota of the API key selected during authorization.

Secrets stay out of prompts

Authorize through the dashboard. Do not paste API keys, X account tokens, proxy credentials, or private message content into agent prompts.

Account and key required

You need a TweetAPI account, an active API key, and an agent client that supports remote HTTP MCP with OAuth.

Choose the right integration

MCP for agent work, REST or SDKs for your application

Use hosted MCP when

Your agent needs current TweetAPI docs, exact endpoint parameters, or a bounded read-only public-data lookup during a chat.

Open MCP setup docs

Use REST or an SDK when

You are building TweetAPI into an application, background job, data pipeline, or server. Keep the API key in server-side environment variables.

Ready to connect TweetAPI MCP?

Start with 100 free requests or connect an existing dashboard API key.

Connect MCP

TweetAPI is an independent third-party API service. Not affiliated with, endorsed by, or sponsored by X Corp.