---
title: "Post to LinkedIn from Claude Code"
description: "Claude Code can turn your slide images into a LinkedIn document carousel or write a launch post as long as 3,000 characters, and PostQueen puts it live for you."
canonical_url: "https://postqueen.ai/claude-code/linkedin"
markdown_url: "https://postqueen.ai/claude-code/linkedin.md"
last_updated: "2026-10-20"
llms_txt: "https://postqueen.ai/llms.txt"
---

# Post to LinkedIn from Claude Code.

Claude Code + LinkedIn

With PostQueen added to Claude Code, ask for a launch post on your profile or a swipeable carousel on your company page. Claude Code drafts the text, and PostQueen sends it out on LinkedIn at the hour you name.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-channel-hero) [How it works](https://postqueen.ai/claude-code/linkedin#how)

Every post waits on your calendar first.

How it works

## Three steps, then just ask.

1

### Add your profile or company page

Pick LinkedIn in Add Channel to post as yourself, or LinkedIn Page for a company page you administer or manage content for. You can connect both.

2

### Add it at project scope

Run claude mcp add --scope project with the sign-in address, so the shared .mcp.json holds no key. Then sign in through /mcp as a workspace admin.

3

### Hand over the slides

Point Claude Code at 2 or more slide images and give the carousel a title. For a text post, tell it the story, who it’s for and the day.

[The full Claude Code setup](https://postqueen.ai/claude-code#setup) [Everything about LinkedIn](https://postqueen.ai/channels/linkedin)

What you can publish

## Post types on LinkedIn.

- Supported Text post Up to 3,000 characters
- Supported Image or multi-image post One image, or up to 20 in a multi-image post, checked before scheduling
- Supported Video One MP4, as the only media in the post
- Supported Document carousel 2 or more images turned into one swipeable document
- Supported Follow-up comments Text comments on your post, each with its own delay
- Supported Company page mentions Mention company pages in your post
- Not supported Polls Not available
- Not supported Link preview cards Links are posted as plain text

Limits at a glance

## LinkedIn limits.

|  |  |  |
| --- | --- | --- |
| Post text | 3,000 characters | [Official docs](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/ugc-post-api) |
| Images in a multi-image post | 2 to 20 images, checked before scheduling | [Official docs](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/multiimage-post-api) |
| Video | One MP4, 75 KB to 500 MB, 3 seconds to 30 minutes | [Official docs](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/videos-api) |
| Document carousel | Built from 2 to 300 images, up to 100 MB | [Official docs](https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/documents-api) |
| Comments | Text only; no images or video on comments |  |

From each network’s documentation and PostQueen’s own checks.

What to ask

## Ask Claude Code for the post.

- Build a document carousel from the 8 slides in ./deck, title it ‘How we built it’ and post it on our LinkedIn Page Wednesday at 8am.
- Write a launch post for my LinkedIn profile on Tuesday at 9am with our 90-second demo video, then a comment with the signup link.
- Post these 4 screenshots as one multi-image post on our company page Thursday at noon and mention our partner’s company page.

### Good to know

- LinkedIn builds no preview from a link, so the URL sits in the text; ask Claude Code to attach a screenshot when the post needs a picture.
- Video goes out alone on LinkedIn: a single MP4, 30 minutes at most, with no screenshots beside it.
- Your own PDF can’t be posted, even through the CLI’s upload command. Slide images become the document instead.
- Claude Code can rank your company page posts with analyticsPostsTool; a personal profile has no analytics in PostQueen.

## Claude Code and LinkedIn, answered.

Anything else? Write to [support@postqueen.ai](mailto:support@postqueen.ai) and a person answers.

### Can Claude Code post a LinkedIn carousel?

Yes, as a document carousel. Give it 2 or more images and a title, and PostQueen joins them into one swipeable document of up to 300 images and 100 MB.

### Can Claude Code post to my company page and my own profile?

Yes, once both are connected: LinkedIn for you and LinkedIn Page for the company. Tell Claude Code which one each post is for, or ask for a version on each.

### How long can a LinkedIn post from Claude Code be?

Up to 3,000 characters, so there is room for the longer launch story. Follow-up comments under it are text only.

### Will I need to reconnect LinkedIn to keep the posts going?

No. The LinkedIn connection refreshes automatically in PostQueen, so the week of posts you planned in Claude Code keeps publishing.

Keep going

## More ways to post.

### Claude Code on other networks

- [Instagram Post from Claude Code](https://postqueen.ai/claude-code/instagram)
- [TikTok Post from Claude Code](https://postqueen.ai/claude-code/tiktok)
- [X Post from Claude Code](https://postqueen.ai/claude-code/x)
- [Facebook Post from Claude Code](https://postqueen.ai/claude-code/facebook)
- [YouTube Post from Claude Code](https://postqueen.ai/claude-code/youtube)
- [Threads Post from Claude Code](https://postqueen.ai/claude-code/threads)
- [Pinterest Post from Claude Code](https://postqueen.ai/claude-code/pinterest)

### Other agents on LinkedIn

- [ChatGPT Post to LinkedIn](https://postqueen.ai/chatgpt/linkedin)
- [Claude Post to LinkedIn](https://postqueen.ai/claude/linkedin)
- [OpenClaw Post to LinkedIn](https://postqueen.ai/openclaw/linkedin)
- [Codex Post to LinkedIn](https://postqueen.ai/codex/linkedin)

### Hand your socials to Claude Code.

Get your time back. Every post still lands on your calendar first.

[Start 7-day trial for $0](https://app.postqueen.ai/auth?utm_source=postqueen.ai&utm_medium=landing&utm_campaign=trial&utm_content=agent-channel-band) $0 due today. Cancel in one click.
