Claude Code + API for Social Media

Post to social media from Claude Code

  • One command adds it to Claude Code
  • Draft, schedule and publish posts by asking
  • 13 networks: Instagram, LinkedIn, X, TikTok and more

Start with a 7-day trial for $0. API for Social Media is the social posting service that Claude Code drives through the MCP server. Keep a human in the loop for anything that matters.

One command adds API for Social Media to Claude Code. After that, shipping a release and announcing it happen in the same terminal.

1

Add the API for Social Media server

Run this once in your terminal. Claude Code opens a browser window the first time so you can sign in to API for Social Media.

claude mcp add --transport http apiforsocialmedia https://api.apiforsocialmedia.com/mcp
2

Ask Claude Code to post

We just tagged v2.4. Write the release post from the changelog and schedule it on X and LinkedIn for 15:00.
Read CHANGELOG.md and wrote both posts. They are scheduled for today at 15:00.

One connection powers every channel you run

Connect your social accounts in API for Social Media once. Claude Code can then reach all of them.

1

Just ask in plain English

Tell Claude Code what to post and where. It writes the text, picks the channels and schedules it.

2

13 networks

One connection reaches Instagram, Facebook, TikTok, LinkedIn, X and eight more.

3

Connect once

Add API for Social Media one time. Every channel you connected in API for Social Media is ready to use straight away.

4

Plan and schedule ahead

Ask for one post or a whole month. Every post gets its own date and time.

5

Image, video and carousel

Attach a photo, a video or several slides. API for Social Media sends the format each network expects.

6

Stays in your account

Posts go only to the channels you connected, and you can move or delete any post before it goes out.

Social Media Data API

See what works before you post

Both plans include the Social Media Data API. Claude Code can pull what people say about your brand and which competitor posts win, so it knows what works before it posts.

How the Data API works »

How Claude Code uses API for Social Media

Example chats. Your agent's wording will differ.

Announce a release

Summarise the commits since the last tag and post the highlights on X and Bluesky.
Posted to X and Bluesky. Three highlights, with a link to the release notes.

Post from a script

Add a step to our release script that schedules the announcement post one hour after deploy.
Added a step that calls API for Social Media after the deploy job. It schedules the post for one hour later.

Turn docs into content

Turn the new guide in docs/webhooks.md into a LinkedIn post for Wednesday.
Scheduled for Wednesday at 9:30. I kept it to the three steps from the guide.

Clean up the queue

List everything scheduled for next week and delete the duplicates.
Seven posts are scheduled. Two were duplicates and are now deleted.

How much does it cost?

Start with a 7-day trial for $0. After that the API and the MCP server are part of both plans, from $19 a month. The CLI is available on request.

See pricing »

How is access secured?

You sign in to API for Social Media or use an API key that you can revoke at any time. API for Social Media never shows your social passwords to an agent.

Which plan do I need?

Starter covers publishing on all 13 networks and 50 Data API credits a month. Pro doubles the channels, gives you 150 credits and adds post recreation.

Compare the plans »

Frequently asked questions

How do I connect API for Social Media to Claude Code?

Run this once in your terminal. Claude Code opens a browser window the first time so you can sign in to API for Social Media.

What can Claude Code do with API for Social Media?

It can list your channels, create and schedule posts with text, images and video, move or delete a post that has not gone out and check how a post did.

Do I need an API key?

No. Claude Code signs in to API for Social Media in the browser the first time. You can also pass an API key in a header if you run it on a server.

Can I use it in CI?

Yes. For scripts and CI the API for Social Media CLI is the simpler choice, because it does not need a model to run. The CLI is available on request.

Which networks can Claude Code post to?

Instagram, Facebook, TikTok, Reddit, LinkedIn, X, Snapchat, YouTube, Threads, Bluesky, Telegram, Pinterest and Google Business Profile.

Does Claude Code write the posts or does API for Social Media?

Claude Code writes them and API for Social Media publishes them. You stay in charge: ask to see each post before it is scheduled if you want to approve it first.

Can posts go out while I am away?

Yes. Give a date and a time and API for Social Media sends the post then, even when your computer is off.

Is it included in my plan?

Yes. The API and the MCP server are part of both plans. The CLI is available on request. Both start with a 7-day trial for $0, then cost from $19 a month. See pricing.

Let Claude Code run your social media

API for Social Media opens soon. Leave your email and we will let you know when you can connect your channels.