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

Claude Code + Telegram

Post to Telegram from Claude Code

Through iHatePosting, Claude Code can post messages with pictures or video into a Telegram channel or group. 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 text message can hold up to 4,096 characters; with a picture or a video the text becomes a caption of up to 1,024.

TelegramClaude Code15 networks

Posting to Telegram from Claude Code

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

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

Claude Code
> Post the release summary to my Telegram channel today at 18:00. Claude Code: Done. Scheduled on Telegram.

What Claude Code can do on Telegram

On Telegram, Claude Code can post messages with pictures or video into a Telegram channel or group.

Channel messages

Post into a channel or group your bot has been added to.

Media

Attach pictures or video to a message.

Scheduling

Send the message at a time you name.

How Claude Code gets a post onto Telegram

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

Find your Telegram channel

Which Telegram accounts do I have in iHatePosting?

What happens

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

Compose your content

Send poster.png with a short caption to my Telegram group tomorrow at 9:00.

What happens

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

Telegram settings reference

Telegram needs nothing beyond the text, the media and the time.

FieldTypeRequiredDescription
(none)-NoNo extra settings: Claude Code sends the text, the media and the time

Telegram requests to try in Claude Code

A channel update

Post the release summary to my Telegram channel today at 18:00.

A picture

Send poster.png with a short caption to my Telegram group tomorrow at 9:00.

A reminder

Remind my Telegram channel about Friday's livestream tomorrow at noon.

Telegram limits and gotchas to know

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

  • A text message can hold up to 4,096 characters; with a picture or a video the text becomes a caption of up to 1,024.
  • Only bold and underline survive in the text, and a link keeps its words but loses its address.
  • The channel has no extra settings to choose.

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

Telegram and the other platforms Claude Code reaches

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

Start free for 30 days.