Claude Code + Xholic
Post to X from Claude Code
One command adds Xholic to Claude Code. Turn a merged PR into a launch thread, queue your build-in-public posts and check how they did, without leaving the terminal.
- One terminal command, then approve in your browser
- Writes from your repo, changelog and commits
- Runs headless in CI with an API key
No card needed · Nothing to cancel
Setup
How to add the Xholic MCP server to Claude Code
Connect your X account to Xholic first (one click with X's official sign-in, during the free trial). Then:
Step 1: Add Xholic
Run this once in your terminal. --scope user makes Xholic available in every project.
Terminal claude mcp add --scope user --transport http xholic https://api.xholic.ai/mcpStep 2: Sign in
Start Claude Code, run /mcp and choose xholic. Your browser opens Xholic: pick what Claude Code may do and which X accounts it can use, then approve.
Step 3: Optional: add the skill
The Xholic skill teaches Claude Code the workflow (read first, write in your voice, check drafts, never post unasked) and installs the xholic CLI.
Terminal npx -y skills@1.7.1 add sjcodebook/xholic-agent -g
Claude Code · with Xholic
Turn the PRs merged this week into a launch thread for X and schedule it for Thursday morning.
- → get_writing_kit
- → check_draft
- → schedule_post
Drafted a 5-post thread from 4 merged PRs, in your voice and under 280 characters each. It's scheduled for Thu 9:15, your best slot. Want to see it first?
Server address: https://api.xholic.ai/mcp. Steps checked against Claude Code MCP docs on November 2, 2026.
Options
Which way should I connect Claude Code?
| Way | How | Sign-in | Best for |
|---|---|---|---|
| Remote MCP (one command)Recommended | claude mcp add --scope user --transport http xholic … | OAuth via /mcp | Day-to-day use in the terminal |
| Your Claude connector | Add Xholic on claude.ai; Claude Code signed in with your Claude account picks it up | OAuth | People already using Xholic in Claude |
| Agent skill + CLI | npx -y skills@1.7.1 add sjcodebook/xholic-agent -g | xholic login (browser), or XHOLIC_API_KEY in CI | Scripts, CI and agents that prefer commands |
What it can do
What can Claude Code do with Xholic?
Xholic gives Claude Code your X account, your audience and the actions to grow it. Claude Code does the thinking; Xholic does the posting, scheduling and tracking.
Write in your voice
Claude Code gets your voice, your best posts and what works in your niche, so drafts sound like you, not like AI.
Schedule the week
Queue posts and threads at your audience's best times, or publish now when you say so.
Reply where it counts
See new mentions and replies, who engages with you most and which conversations are worth joining.
Find leads on X
Read what your Signals agents found: people asking for what you sell, scored and ready for a reply.
Know what works
Pull your analytics, top posts and the formats that work for your account, judged against your own normal.
81 everyday tools
Load on connect, with every other Xholic action one search away. Notes and memory carry across chats.
About Claude Code
What is Claude Code?
Claude Code is Anthropic's coding agent. It runs in your terminal, in VS Code and JetBrains, and in the Claude desktop app, reads your codebase and runs commands with your permission. It supports remote MCP servers over HTTP with OAuth, plus skills that teach it new workflows.
Terminal native
Claude Code works where you build: it reads the repo, runs commands and edits files with your approval.
MCP and skills
Remote MCP servers add tools; skills add know-how. Xholic ships both.
Headless
claude -p runs a single prompt from a script or CI job, so release posts can go out with the release.
Claude Code vs Claude vs Claude Cowork
| Product | What it is | Where it runs | How Xholic connects |
|---|---|---|---|
| Claude | Anthropic's chat app, on the web, desktop and phone | Anthropic's cloud | Custom connector on your Claude account |
| Claude Cowork | Claude doing longer tasks for you on your computer | The Claude desktop app | The same Claude connector, nothing extra |
| Claude Code | Anthropic's coding agent in your terminal and IDE | Your computer or CI | Your Claude connector, or one command |
Try it
What can you ask Claude Code to do in Xholic?
Launch thread
“Turn this week's merged PRs into a launch thread and schedule it for Thursday.”
Build in public
“Write today's build-in-public post from my last 10 commits, in my voice.”
Release in CI
“claude -p "Use Xholic to schedule a post announcing v2.4 from CHANGELOG.md"”
What landed
“How did my last launch post do? Compare it with my normal.”
Safe by default
You decide what Claude Code can do
- Choose read, write and publish access when you approve Claude Code. Untick publish and it asks you first.
- In apps that can ask, every post and DM waits for your yes, showing exactly what goes out.
- Claude Code only sees the X accounts you tick.
- Everything it does is logged on its connection, with undo where X allows.
- Billing, X account connections and security settings stay inside the Xholic app.
- Disconnect it in one click from Settings → API / MCP / CLI.
FAQs
Claude Code and Xholic: questions
Setup, safety and pricing for using Xholic in Claude Code.
Do I need this if I already added Xholic on claude.ai?
Not if you sign in to Claude Code with your Claude account: your claude.ai connectors are available there. Claude Code signed in with an API key or a company login needs the one-line setup.
Can Claude Code post from CI without me?
Yes. Set an Xholic API key as XHOLIC_API_KEY in your CI secrets and run claude -p with the skill or the xholic CLI. The key's permissions decide whether it can publish.
Claude Code doesn't see the Xholic tools. What should I check?
Run claude mcp list to confirm xholic is there, then /mcp to see whether it needs sign-in. If you added it in one project, add it again with --scope user to make it available everywhere.
Is Xholic free to use with Claude Code?
Xholic has a 7-day free trial with no card needed. After that, the MCP server, API and CLI are included in every plan, from $19 a month. Claude Code does the writing on its own plan, so Xholic doesn't charge for its AI.
Does Claude Code need my X password?
No. You connect your X account to Xholic once through X's official sign-in. Claude Code then signs in to Xholic through your browser, so it never sees your X password or a key.
Can Claude Code post to X without asking me?
Only if you allow it. When you approve Claude Code you choose what it can do: read, write drafts and lists, and publish. Untick Publish and it asks you first with a one-click link. In apps that can show a confirmation, every post and DM waits for your yes and shows exactly what goes out. Authentication and permissions
Which X accounts can Claude Code use?
Only the ones you tick when you approve it, with one of them as the default. You can change that or disconnect Claude Code anytime in Xholic under Settings → API / MCP / CLI, and everything it does is logged there.
Works with your other AI too
Use Xholic in every agent you use
One Xholic account works in all of them at once, with the same voice, memory and queue. People who use Claude Code often also connect Claude, Codex and Cursor.
Chat apps
Coding agents and CLIs
Always-on agents
Building your own? See the API, MCP server and CLI, or read the MCP docs.
Claude Code + Xholic
Grow on X from Claude Code
Start the free trial, connect your X account, then connect your AI. It takes about two minutes.
No card needed · Nothing to cancel
Compare plansLive demo: no sign-up or login needed · takes about 2 minutes