X MCP server
Yes. X publishes an official MCP server at https://api.x.com/mcp. It's hosted and needs an OAuth app that you set up in X first. We last checked it on 22 Nov 2026.
Official: answers MCP requests at api.x.com, on X's own domain x.com. Checked 22 Nov 2026. Maintained by Stuart Brameld.
Key facts
As of 22 Nov 2026, X's official MCP server scores 81/100 on MartechDB's Agent Readiness Index (v1.1), 4th of 5 in Social networks. It answered 55 of our 55 checks in the last 90 days.
How the Agent Readiness Index works · Wrong? Suggest a correction
X MCP server review
81/100
X's MCP server scores 81/100 on MartechDB's Agent Readiness Index: one of the easiest marketing tools to connect an AI agent to. That ranks it 4th of 5 in Social networks.
The good
Hosted by X: connect by URL, with nothing to install
Documented, with what it can do known
Answered 100% of our checks in the last 90 days
Spending can be capped
The bad
Signing in needs an app registered with X first
Official MCP server
X MCP server
- Address
- https://api.x.com/mcp
- Runs
- Hosted
- Sign-in
- Cost to use
- Plan: Pay-per-use · Spend limitsPrepaid credits; reads $0.001–$0.010 per resource; capped at 3M Post reads monthly
- Official MCP Registry
- Not listed
- How we know it's official
-
- Answers MCP requests at api.x.com, on X's own domain x.com.
- Documentation
- docs.x.com/tools/mcp
- Tools
- Not known by name. It needs sign-in before it lists them, but X's documentation says what it can do.
- First seen
- 1 Oct 2026
- Last checked
-
Reachable ·
16 Nov 2026: reachable17 Nov 2026: reachable18 Nov 2026: reachable19 Nov 2026: reachable20 Nov 2026: reachable21 Nov 2026: reachable22 Nov 2026: reachable
- Uptime
- 100% · 55 of 55 checks reachable since 1 Oct 2026
What X MCP server can do
The server needs sign-in before it lists its tools, and X's documentation doesn't name them, so this is what it says the server can do (read 7 Oct 2026). It may be out of date.
- Fetch posts, see likers / reposters / quoters, recent counts
- Full-archive post search, user search, news search
- Resolve the current user, look up by id / handle, read a user’s posts, timeline, and mentions
- List / add / remove bookmarks and manage bookmark folders
- Get news stories, get trends for a location (WOEID)
- Create draft Articles and publish them
Connect your AI to X
Add the official X MCP server to Claude, ChatGPT or your editor.
Connect X MCP to Claude
Claude.ai and Claude Desktop
Open Customize, then Connectors.
Click +, then Add custom connector.
Name it X, paste the address below and click Add.
Connect X MCP to ChatGPT
Open Settings, then Apps, then Advanced settings.
Turn on Developer mode, then click Create.
Name it X and paste the address below.
ChatGPT usually only connects to servers with self-serve sign-in or none.
Connect X MCP to Cursor
Opens Cursor if it's installed. If nothing happens, use the JSON below.
Connect X MCP to VS Code
Opens VS Code if it's installed. Otherwise add the JSON settings from the Cursor tab to your .vscode/mcp.json.
X MCP server questions
Does X have an official MCP server?
Yes. X publishes its MCP server itself. Its address is on X's own domain (api.x.com). MartechDB only lists servers a vendor publishes, never community copies.
What is the X MCP server URL?
The address is https://api.x.com/mcp.
Does the X MCP server need an API key?
No, but it needs set-up first: it signs in with OAuth through an app you (or an admin) create in your X account.
How do I connect X MCP to Claude, ChatGPT or Cursor?
In Claude, add https://api.x.com/mcp as a custom connector (Customize, Connectors, Add custom connector). In Cursor, use the Add to Cursor link on MartechDB's page, or paste the JSON settings into your mcp.json. In Claude Code, run: claude mcp add --transport http x https://api.x.com/mcp
Is the X MCP server in the official MCP Registry?
No. X hasn't published it to the official MCP Registry.
Is the X MCP server working?
Yes. It answered our most recent check. We last checked it on 22 Nov 2026.
What are the alternatives to X's MCP server?
In Social networks, the most agent-friendly alternatives with an official MCP server are Meta (88/100), Snapchat (88/100), TikTok (85/100) and LINE (45/100). X scores 81/100 on the same index.
Alternatives to X's MCP server
Vendors in Social networks with an official MCP server, the most agent-friendly first. X scores 81/100.
Compare all 5 Social networks vendors →Use with AI
Connect your AI to MartechDB
Then ask it about X, or any of the 1,850 marketing tools with an official MCP server. Free, no sign-in.
Claude.ai and Claude Desktop
Open Customize, then Connectors.
Click +, then Add custom connector.
Name it MartechDB, paste the address below and click Add. There's no sign-in.
The free plan allows one custom connector. On Team and Enterprise plans, an owner adds the connector first.
Claude Code
Run this in your terminal:
ChatGPT
Open Settings, then Apps, then Advanced settings.
Turn on Developer mode, then click Create.
Name it MartechDB, paste the address below and choose No authentication.
Developer mode is on Plus and Pro plans, and on Business, Enterprise and Edu if an admin allows it.
API
The same data as JSON, with no sign-in. See the OpenAPI description for every endpoint and field.
CLI
Search the directory and print the command to connect a vendor's server, from your terminal. Needs Node 18 or later. View on npm
Show that your MCP server is verified
If you work at X, add this badge to your MCP docs or README. It's free, it's the same for every vendor, and it updates from our daily checks: it shows uptime while the server responds, and says so if it stops.
Something wrong or out of date? Suggest a correction or email us, and we'll check it against the evidence. Every correction we make is listed on Corrections.