New MCP server: let ChatGPTClaudeClaude CodeCodexCursorOpenClaw or any AI agent schedule your posts See how it works

Claude Code + LinkedIn

Post to LinkedIn from Claude Code

Through iHatePosting, Claude Code can publish posts to your profile or a company page, turn several pictures into a carousel, and tag companies. Register iHatePosting in Claude Code with a single terminal command and a browser sign-in, then ask it for the post you want.

Setup takes about a minute. A post can hold up to 3,000 characters.

LinkedInClaude Code15 networks

Posting to LinkedIn from Claude Code

Add iHatePosting to Claude Code once, connect LinkedIn, and then describe the post. Setup takes about a minute.

Step 1

Add iHatePosting to Claude Code once

Register iHatePosting in Claude Code with a single terminal command and a browser sign-in. Then connect LinkedIn in iHatePosting if you have not already.

terminal
claude mcp add --transport http ihateposting https://app.ihateposting.com/mcp/oauth
Step 2

Ask for the LinkedIn post

Describe the post in plain language. Claude Code writes it, applies the settings and schedules it.

Claude Code
> Write a short LinkedIn post about v2.4 from CHANGELOG.md and schedule it for tomorrow at 9:00 with release.png. Claude Code: Done. Scheduled on LinkedIn.

What Claude Code can do on LinkedIn

On LinkedIn, Claude Code can publish posts to your profile or a company page, turn several pictures into a carousel, and tag companies.

Profile and company pages

Post to your own profile, or to a company page you manage; each is its own channel.

Picture carousels

Give two or more pictures and ask for a carousel, with a name for it.

Company mentions

Find a company by its page name and tag it in the post.

Video posts

Attach one video to a post.

Scheduling

Pick the day and hour; iHatePosting publishes at that time.

How Claude Code gets a post onto LinkedIn

You say what you want and Claude Code makes the calls. A typical conversation goes like this.

Find your LinkedIn channel

Which LinkedIn accounts do I have in iHatePosting?

What happens

  • Claude Code lists your channels and finds LinkedIn
  • It can also run the mention helper: Find a company page to tag by its exact vanity name (the part after linkedin.com/company/).

Compose your content

Post a thank-you to Microsoft on LinkedIn tomorrow at noon and tag their company page.

What happens

  • Claude Code drafts the text for LinkedIn
  • It uploads any media you mention

Schedule and publish

Yes, schedule it for tomorrow at 9:00.

What happens

  • Claude Code schedules the post in iHatePosting
  • iHatePosting publishes it to LinkedIn at that time

LinkedIn settings reference

Say the option in your own words and Claude Code fills in the matching field. This is every LinkedIn setting it can use.

FieldTypeRequiredDescription
post_as_images_carouselbooleanNoPublish the pictures as one carousel
carousel_namestringNoThe name shown for the carousel

Common configurations

Each case below is a request Claude Code understands, followed by the LinkedIn options it sets.

A carousel

Post the three slides as a carousel called Launch week

  • Applies: post_as_images_carousel: true, carousel_name: Launch week

A plain post

Post it as a normal post

  • Applies: post_as_images_carousel: false

LinkedIn requests to try in Claude Code

Announce a release

Write a short LinkedIn post about v2.4 from CHANGELOG.md and schedule it for tomorrow at 9:00 with release.png.

Tag a company

Post a thank-you to Microsoft on LinkedIn tomorrow at noon and tag their company page.

A slide carousel

Turn slide1.png, slide2.png and slide3.png into a LinkedIn carousel called Launch week and schedule it for Thursday at 10:00.

LinkedIn limits and gotchas to know

A few of LinkedIn's rules shape how Claude Code writes your request, so it helps to know them.

  • A post can hold up to 3,000 characters.
  • A post with a video can have only one attachment.
  • A carousel needs at least two attachments, and they must all be pictures.
  • To tag a company, the agent searches by the part of the company's address after linkedin.com/company/, then puts the tag into the text.

What is Claude Code?

Claude Code is Anthropic's agentic tool for software work. It lives in a terminal, with extensions for popular editors, understands the code around it, runs commands and can call MCP tools such as iHatePosting.

That makes it a natural place to announce a release: it can read the changelog, write the copy and schedule it in iHatePosting without you leaving the project.

How iHatePosting works with Claude Code

Once connected, iHatePosting hands Claude Code its tools: your channels, posts, media and each channel's settings (14 tools in all). Claude Code calls them while you describe what you want.

  • iHatePosting MCP server (sign in): claude mcp add --transport http ihateposting https://app.ihateposting.com/mcp/oauth
  • iHatePosting plugin: /plugin marketplace add iHatePostingOrg/iHatePosting-Agent
  • iHatePosting skill (command line): npx skills add iHatePostingOrg/iHatePosting-Agent
Set up Claude Code
# iHatePosting MCP server (sign in) claude mcp add --transport http ihateposting https://app.ihateposting.com/mcp/oauth

LinkedIn and the other platforms Claude Code reaches

Ask for LinkedIn and other channels in a single message; every channel still applies its own settings.

Frequently asked questions

Start free for 30 days

Register iHatePosting in Claude Code with a single terminal command and a browser sign-in, connect LinkedIn in iHatePosting, then ask Claude Code for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.

Hand your LinkedIn posts to Claude Code

Start free for 30 days.