Claude Code + Mastodon Post to the Fediverse with AI
Use the Upload-Post skill to publish text toots, photos, and videos to Mastodon directly from Claude Code. Post to any instance in the fediverse using your instance URL and access token, no bespoke API code required.
✓ Toot published to your Mastodon instance
Federated across the network
Install in Seconds
Works with Claude Code, Cursor, Windsurf, and any AI coding agent that supports skills.
$ npx skills add Upload-Post/upload-post-skill What You Can Post to Mastodon
Features for Mastodon
Everything you need to publish and automate Mastodon content from your terminal.
Text Toots
Publish toots with full support for links, mentions, and hashtags. Formatting is preserved exactly as your Mastodon instance renders it.
Photo Posts
Attach images to your toots with support for JPEG, PNG, GIF, and WebP. Media is uploaded to your instance and displayed inline in the timeline.
Video Posts
Share video content natively to Mastodon. Upload videos that play inline in the timeline, reaching the fediverse with engaging multimedia.
Any Instance
Connect any Mastodon instance using its URL and an access token. It works with mastodon.social, niche community servers, and your own self-hosted instance alike.
Fediverse Reach
Your toots federate across the wider fediverse network, reaching followers on other instances that connect to Mastodon through the ActivityPub protocol.
Multi-Platform Reach
Publish the same update to Mastodon and other platforms in a single call, so your announcement lands across the fediverse and your other channels at once.
How It Works
Install the Skill
Run the install command in your terminal. The skill is added to Claude Code instantly.
Connect Mastodon
Link your Mastodon account on the Upload-Post dashboard and create a profile with your API key.
Publish from Claude Code
Tell your AI agent to post content to Mastodon. It handles formatting, uploading, and publishing automatically.
Start Posting to Mastodon from Claude Code
Join thousands of developers automating their social media workflow with AI. Free plan available.
Prefer another integration path? Explore the Mastodon Upload API or the Mastodon MCP server.