To connect X (formerly Twitter) to Claude or ChatGPT, connect it in Datajar with an X sign-in, tick the X Ads accounts your AI may read, then add Datajar's URL, https://mcp.datajar.co/mcp, to your AI app. It takes about five minutes and needs no code. One X card covers your ad accounts and your own X account: your AI reads ad results, posts and mentions, and it can pause campaigns at once, or raise budgets and post for you after you OK a preview.
7-minute read. Every screenshot below is the real Datajar app with sample data.
Prefer a video? Watch Connect X to Datajar on YouTube.
What do you need before you start?
- A Datajar account. Sign up at mcp.datajar.co. No card is needed to start.
- The Pro plan or a plan above it. X is on Pro, Team, Commerce, Agency and Enterprise, and not on Free, Freelancer or E-commerce Brand. See the plans on mcp.datajar.co/pricing.
- Your X login. For ad results, your X user also needs access to the X Ads account. Without an ad account, your AI still reads your posts, mentions and public X data.
- An AI app. Claude on any plan, Free included, or ChatGPT on the web with a Business, Enterprise or Edu plan. ChatGPT Pro can add Datajar with read access only: your AI can read X there but cannot post or change ads.
How do you connect X to Datajar?
Step 1. Sign in at mcp.datajar.co and click Connections in the left menu.
Step 2. Scroll to Ads and click Connect on the X card.

Step 3. A panel opens on the right. If your account has Teams, Datajar asks Who can use this connection? Pick Team to share it with your team and their AI, or Only me to keep it to yourself. Without Teams you skip this step.
Step 4. Click Connect X. X opens in a new tab.

Step 5. On X's screen, sign in with the X account you want to connect. X asks which account to use every time, so you can pick a brand account even if you are signed in to X with another one. X then asks you to authorise Datajar: click Authorize app. X sends you back to Datajar.
Step 6. Back in Datajar, the X page lists Ad accounts on @yourhandle: every X Ads account your X user can access, each with its ID. Tick the ad accounts your AI may read. If your X user has one ad account, Datajar ticks it for you. If it has none, there is nothing to tick: your AI can still read and post on your X account.
Step 7. Click Save selection.

The card now shows Connected. The Accounts table lists your X account with its AI can use switch, and the Try asking box further down gives you a first question to copy into your AI. You can come back to this page at any time to tick more ad accounts or untick one.

How do you connect a second X account?
Agencies with several clients, and brands with a second account (an outlet, a country account), can put every X account on the same card.
Step 8. On the X page, click Add X account. Without Teams, X opens straight away: sign in with the other X account and skip step 9.
Step 9. With Teams, Datajar first scrolls to the X connection box. Pick Team or Only me, click Connect another account, and sign in with the other X account on X's screen. Its ad accounts appear on the X page, ready to tick.

Step 10. In the Accounts table, the AI can use switch turns each X account on or off for your AI. An account turned off stays connected, but it is never read or posted from.
Step 11. Pick the Default. Your AI uses the Default when you don't name an account, so name the other one in your question, for example "on @northwindoutlet".

How do you add Datajar to Claude?
The fastest way: open Get started in Datajar and click Add to Claude. It opens claude.ai with Datajar's name and URL filled in. Confirm, then sign in to Datajar.

To add it by hand in claude.ai or Claude Desktop, follow these steps. The menu names come from Claude's help page on custom connectors (read on 5 December 2026).

- Open Customize, then Connectors.
- Click Add, then Add custom connector.
- Paste
https://mcp.datajar.co/mcpand click Continue. - Check that the name is Datajar, keep OAuth as the sign-in method, and click Add.
- Sign in to Datajar with the same account that holds your X connection.
- In a chat, open the + menu, choose Connectors and turn Datajar on.
On the Free plan Claude allows one custom connector. On Team and Enterprise plans, an Owner adds Datajar once in Organization settings, Connectors, and each member then clicks Connect.
How do you add Datajar to ChatGPT?
In Datajar's Get started page, click Connect to ChatGPT. It copies your Datajar link and opens ChatGPT's Plugins page.

Then follow these steps from OpenAI's help page on MCP apps in ChatGPT (read on 5 December 2026):

- Open Plugins in ChatGPT on the web.
- Click the plus button, then Add custom MCP server.
- Name it Datajar and paste
https://mcp.datajar.co/mcpas the connection. - Choose OAuth as the sign-in method.
- Read the risk warning, tick I understand and want to continue, then click Create as a plugin.
- Sign in to Datajar.
- In a new chat, type @ and pick Datajar.
On ChatGPT Business, only an admin or owner can create the plugin for the company account. Custom MCP servers work on ChatGPT on the web, not in the mobile app. On ChatGPT Pro, Datajar can read your X data but cannot post or change your ads.
What can you ask about your X data?
Your AI reads X Ads results for up to 84 days per question (spend, impressions, clicks, link clicks, CPC, conversions, ROAS, video views and more, by campaign, line item or promoted post), your own posts with their results, your mentions, and public X data. Try these:
Show my X Ads spend, impressions, link clicks and CPC by campaign for the last 30 days.
Which X campaigns brought website purchases last month? Show sales, ROAS and cost per purchase.
Split my X Ads spend and clicks by age and gender for the last 14 days.
Which of my X posts from the last 30 days had the best engagement rate, and which posting hours work best?
Who mentioned @northwindgoods this week, and what were they saying?
What is trending on X in the UK right now, and how many posts did the top trend get each day this week?
To make a change, ask in plain words. Your AI shows you what it will do before anything reaches X:
Pause the X campaign "Winter Sale UK".
Raise the daily budget of "Winter Sale UK" to £80.
Draft an X post on @northwindgoods announcing free UK delivery this weekend. Show me the text first.
Pausing happens at once. A higher budget, enabling a campaign, new campaigns, line items and ads (always created paused) and every post or reply come back as a preview, and your AI sends them only after you say yes. Datajar never deletes an ad, campaign or line item. Reading X posts (yours, mentions or public ones) uses research records from your plan, 5 per post. The Usage page shows how many you have left.
What if something goes wrong?
- "X is not on your Freelancer plan. It starts on the Pro plan." X needs Pro or a plan above it. Pick one in Plans & billing, then connect again.
- "Connection cancelled". The X screen was closed or access was not authorised. Click Connect again and click Authorize app on X's screen. Nothing was saved, so you can retry at once.
- No ad accounts to tick. The X user you signed in with cannot access any X Ads account. Ask the ad account's administrator to give your X user access in X Ads Manager, then reconnect. Your posts, mentions and public X data work without an ad account.
- "Reconnect X to let your AI make changes. This connection can only read." Your X connection was made before Datajar could make changes. Reconnect X from its page in Connections to let your AI pause, change budgets and post.
- "Every connected X account is turned off in Datajar." Turn the AI can use switch back on for at least one account on the X page in Connections.
- "You have several X Ads accounts connected. Say which one to use." The message lists your ticked ad accounts. Name one in your question, for example "on Northwind Goods Ads".
Connect X today
Your X ads and posts are a sign-in away from your AI chat. Start free on Datajar, move to Pro when you connect X, and ask your first question in five minutes.
More guides:
- X on Datajar: what your AI can read and change
- How Datajar works with Claude, ChatGPT, Claude Code and Codex
- Meta Ads MCP: Meta's server and what to add
- Google Ads MCP: what Google's server does and what to add
More connection guides
Ads
- How to connect Meta Ads to Claude and ChatGPT using Datajar
- How to connect Google Ads to Claude and ChatGPT using Datajar
- How to connect TikTok Ads to Claude and ChatGPT using Datajar
- How to connect Snapchat Ads to Claude and ChatGPT using Datajar
- How to connect LinkedIn Ads to Claude and ChatGPT using Datajar
- How to connect Apple Ads to Claude and ChatGPT using Datajar (coming soon)
Social and messaging
- How to connect Facebook & Instagram to Claude and ChatGPT using Datajar
- How to connect TikTok (organic) to Claude and ChatGPT using Datajar
- How to connect LinkedIn Pages to Claude and ChatGPT using Datajar (coming soon)
- How to connect WhatsApp to Claude and ChatGPT using Datajar (coming soon)
Stores and payments
- How to connect Shopify to Claude and ChatGPT using Datajar
- How to connect Salla to Claude and ChatGPT using Datajar
- How to connect SumUp to Claude and ChatGPT using Datajar
- How to connect WooCommerce to Claude and ChatGPT using Datajar (coming soon)
- How to connect Shopware to Claude and ChatGPT using Datajar (coming soon)
- How to connect Zid to Claude and ChatGPT using Datajar (coming soon)
Analytics, search and sheets
- How to connect Google Analytics 4 to Claude and ChatGPT using Datajar
- How to connect Google Search Console to Claude and ChatGPT using Datajar
- How to connect Google Business Profile to Claude and ChatGPT using Datajar (coming soon)
- How to connect Google Sheets to Claude and ChatGPT using Datajar
- How to connect Mixpanel to Claude and ChatGPT using Datajar
- How to connect Adjust to Claude and ChatGPT using Datajar
- How to connect AppsFlyer to Claude and ChatGPT using Datajar
Business tools
Frequently asked questions
- Can Datajar post on X or change my X ads?
- Yes, when you ask your AI to. Pausing a campaign, line item or ad happens at once. Enabling, raising a daily budget, new campaigns, line items and ads (created paused), and every post, reply or post delete first show a preview, and nothing is sent to X until you say yes. Datajar never deletes an ad, campaign or line item.
- Which Datajar plan includes X?
- X is on the Pro plan and every plan above it (Team, Commerce, Agency and Enterprise). It is not on Free, Freelancer or E-commerce Brand. The plans are listed at mcp.datajar.co/pricing.
- Do I need an X Ads account to connect X?
- No. With only your X login, your AI can read your profile, your posts and their results, your mentions, any public account's posts, search and trends, and it can post for you with your OK. Ad spend and results need an X Ads account that your X user can access.
- Can I connect more than one X account?
- Yes. Click Add X account on the X page in Connections and sign in with the other X account. Each X account has its own AI can use switch, and one is the Default: your AI uses it when you don't name an account. An agency can connect each client's X account this way.
- Does it work with ChatGPT Plus or the free ChatGPT plan?
- OpenAI lets you add a custom MCP server on ChatGPT Business, Enterprise and Edu. ChatGPT Pro gets read and fetch access only, so your AI can read your X data there but cannot post or change your ads. Plus and Free are not covered on OpenAI's help page (5 December 2026). Claude works on every plan, Free included.
