trackmcp
Back to directory
getxapi

getxapi-mcp

View on GitHub

Official GetXAPI MCP server. Use the Twitter/X API (search, users, tweets, posting, DMs, articles) inside Claude, Cursor and any MCP client.

3 stars JavaScriptOthers Updated Sep 4, 2026
ai-toolsclaudecursormcpmcp-servermodel-context-protocoltwittertwitter-apix-apigetxapitwitter-api-alternativex-api-alternative

Documentation

GetXAPI MCP: Twitter/X API for Claude, Cursor and any MCP client

npm
License: MIT

The official **GetXAPI** MCP server. Give your AI assistant

direct access to the Twitter/X API: **search tweets, look up users, read

replies and followers, and post tweets, send DMs, manage articles, and more**,

through one Model Context Protocol server.

Unlike read-only Twitter MCP servers, GetXAPI MCP can act: post tweets,

reply, like, retweet, send DMs, and publish articles, not just read.

→ **Get a free API key at getxapi.com · API docs · Pricing** ($0.001/call, $0.05 per 1,000 tweets)


Install

Add it to your MCP client config (Claude Desktop, Cursor, Windsurf, etc.):

json
{
  "mcpServers": {
    "getxapi": {
      "command": "npx",
      "args": ["-y", "@getxapi/mcp@latest"],
      "env": {
        "GETXAPI_KEY": "get-x-api-..."
      }
    }
  }
}

Get your `GETXAPI_KEY` from your GetXAPI dashboard. That's

all the read tools need.

Or via the Claude Code CLI:

bash
claude mcp add getxapi -- npx -y @getxapi/mcp@latest

What you can do

Once installed, just ask your assistant naturally:

> "Find Elon Musk's latest tweets"

> "Search tweets about OpenAI from the last week"

> "Who are @vercel's verified followers?"

> "Get the replies to this tweet: 1799…"

> "Post 'shipping 🚀' to my X account" *(requires X auth, see below)*


Read vs. write tools

NeedsExamples
Read`GETXAPI_KEY` onlysearch tweets, user info, followers/following, replies, mentions, user tweets, lists
Write / private`GETXAPI_KEY` + X account authpost / reply / like / retweet / bookmark / delete tweet, send DM, read DMs/timeline/bookmarks, publish articles, update profile

Enabling write tools

Write and private tools act on a real X account, so they need that account's

auth. Two ways to provide it:

Option A, log in through the assistant (convenient):

> "Log in to my X account"

The assistant calls the `x_login` tool with your credentials and keeps the

session for write tools.

⚠️ Your X password is passed as tool arguments, so it transits the AI model's

context. For sensitive accounts, prefer Option B.

Option B, set credentials in config (recommended for sensitive accounts):

json
{
  "mcpServers": {
    "getxapi": {
      "command": "npx",
      "args": ["-y", "@getxapi/mcp@latest"],
      "env": {
        "GETXAPI_KEY": "get-x-api-...",
        "X_AUTH_TOKEN": "...",
        "X_CT0": "...",
        "X_TWID": "...",
        "X_PROXY": "http://user:pass@host:port"
      }
    }
  }
}

`X_CT0`, `X_TWID`, and `X_PROXY` are optional. `X_AUTH_TOKEN` alone is enough

for most write tools; the others improve reliability on some accounts.

Your X password never touches the model. The credential fields are never shown

to the AI. The server injects them only into the calls that need them.


How billing works

Every tool call is a normal GetXAPI API call authenticated with your

`GETXAPI_KEY`, metered exactly like direct API usage. No separate MCP billing.

See pricing.


GetXAPI is an independent third-party API for developers and researchers. Not

affiliated with, endorsed by, or sponsored by X Corp.

License

MIT

Frequently asked questions

What is getxapi-mcp?

getxapi-mcp is Official GetXAPI MCP server. Use the Twitter/X API (search, users, tweets, posting, DMs, articles) inside Claude, Cursor and any MCP client.

How do I install getxapi-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is getxapi-mcp open source?

Yes — it is hosted on GitHub at https://github.com/getxapi/getxapi-mcp and has 3 stars.

Related MCP tools

atlassianatlassian-mcp-server

Official remote MCP server for Atlassian. Securely connect Jira, Confluence, Jira Service Management, Bitbucket, and Compass to Claude, ChatGPT, Cursor, VS Code, and other AI tools using OAuth 2.1 or API tokens.

1,015 JavaScript
aiai-agentsatlassian+17
riponcmprojectmem

Open-source coding agent memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.

796 Python
ai-agentsai-memoryai-tools+17
firecrawlfirecrawl-mcp-server

🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.

7,393 JavaScript
batch-processingclaudecontent-extraction+11
IvanMurzakUnity-MCP

AI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for free.

4,137 C#
aiai-integrationgame-development+16
jgravellejcodemunch-mcp

Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Works with Claude Code, Cursor & any MCP client. 313B+ tokens saved.

2,651 Python
claudeclaude-codeai-coding+17
mendableaifirecrawl-mcp-server

🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.

4,847 JavaScript
batch-processingclaudecontent-extraction+11

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP