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

Claude Code + YouTube

Post to YouTube from Claude Code

Through iHatePosting, Claude Code can upload videos with a title, a visibility, a thumbnail and tags. 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 must have one video attachment; it cannot be empty.

YouTubeClaude Code15 networks

Posting to YouTube from Claude Code

Add iHatePosting to Claude Code once, connect YouTube, 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 YouTube 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 YouTube post

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

Claude Code
> Upload tutorial.mp4 to YouTube as public, titled Getting started in five minutes, with thumbnail.png, on Friday at 9:00. Claude Code: Done. Scheduled on YouTube.

What Claude Code can do on YouTube

On YouTube, Claude Code can upload videos with a title, a visibility, a thumbnail and tags.

Video uploads

Upload one video per post from your media library.

Visibility

Publish as public, unlisted or private.

Thumbnails

Attach a custom thumbnail picture.

Tags

Add tags so the video is easier to find.

Made for kids

Say whether the video is meant for children, as YouTube asks.

How Claude Code gets a post onto YouTube

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

Find your YouTube channel

Which YouTube accounts do I have in iHatePosting?

What happens

  • Claude Code lists your channels and finds YouTube
  • It also reads the channel's rules and settings

Compose your content

Upload demo.mp4 to YouTube as private with the title Internal demo, tonight at 22:00.

What happens

  • Claude Code drafts the text for YouTube
  • 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 YouTube at that time

YouTube settings reference

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

FieldTypeRequiredDescription
titlestringYesThe video's title, 1 to 100 characters
typestringYespublic, private or unlisted
selfDeclaredMadeForKidsstringNoyes or no
thumbnailobjectNoA thumbnail picture from your media library
tagsarrayNoTags, each with a value and a label

Common configurations

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

A public video

Publish it as public with the title Launch walkthrough

  • Applies: title: Launch walkthrough, type: public

A private upload

Keep it private for now

  • Applies: type: private

Tagged video

Tag it social media and scheduling

  • Applies: tags: social media, scheduling

YouTube requests to try in Claude Code

Publish a tutorial

Upload tutorial.mp4 to YouTube as public, titled Getting started in five minutes, with thumbnail.png, on Friday at 9:00.

A private draft

Upload demo.mp4 to YouTube as private with the title Internal demo, tonight at 22:00.

Add tags

Upload recap.mp4 to YouTube as unlisted with the tags recap and webinar.

YouTube limits and gotchas to know

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

  • A post must have one video attachment; it cannot be empty.
  • A description can hold up to 5,000 characters.
  • The title is required and can be up to 100 characters; the visibility is required too.
  • All tags together can hold up to 500 characters.

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

YouTube and the other platforms Claude Code reaches

Ask for YouTube 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 YouTube 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 YouTube posts to Claude Code

Start free for 30 days.