omnipost-social-engine
Provides platform envelope translation and character counting for composing and simulating posts on BlueSky (ATProto), including UTF-8 byte facet validation.
Provides platform envelope translation and character counting for composing and simulating posts on Mastodon, including platform-aware limits.
Provides platform envelope translation and character counting for composing and simulating posts on Threads, including platform-aware limits.
๐ Omnipost Social Engine
The unified, type-safe multi-platform social media orchestration framework for Python & AI Agents.
Web Studio โข MCP Guide โข Viral Hooks โข Platform Limits โข Examples
๐ Overview
Omnipost Social Engine eliminates the friction of managing cross-platform developer advocacy, launch campaigns, and technical content syndication. Write your post once, simulate how it looks across Twitter / X, LinkedIn, BlueSky, Threads, and Mastodon, optimize opening hooks with psychological heuristics, and broadcast safely with async leaky-bucket rate limiters.
Equipped with a Google Material 3 Light Mode Web Studio (public/index.html) and a native Model Context Protocol (MCP) server, Omnipost can be operated by human creators or fully autonomous AI coding assistants (Claude Desktop, Cursor, Cline, Zed).
Related MCP server: Publora MVP MCP Server
โจ Key Features
๐จ Google Material 3 Studio (
public/index.html):0 external font/cookie tracking scripts, fast, private, offline-first.
Live circular character counter progress ring with platform-aware limits.
Algorithmic Virality Score meter (0โ100) with diagnostic breakdown.
โ๏ธ Multi-Platform Composer & Simulator:
Real-time side-by-side mockups of Twitter, LinkedIn (with 210-char
see morecutoff), BlueSky, and Threads.1-Click Unicode mathematical typography toolbar (Bold, Italic, Monospace, Strikethrough).
๐งต Smart Thread Splitter:
Auto-split essays, markdown docs, or newsletters into numbered thread cards.
Look-ahead sentence boundary packing (<280 chars) with draggable reordering.
๐ฃ High-Converting Viral Hook Generator:
15+ battle-tested psychological copywriting frameworks (Curiosity Gap, Contrarian Hot Takes, Playbooks, Shocking Metrics).
๐ค Native Model Context Protocol (MCP) Server:
Seamless integration with Claude Desktop, Cursor, Cline, and Zed.
Standard JSON-RPC 2.0 tools:
score_virality,generate_thread,convert_platform,optimize_hook,schedule_campaign,validate_limits.
๐ก๏ธ Deterministic Platform Limits Engine:
Precise character counting (Twitter weighted glyphs + 23-char
t.coURLs, ATProto UTF-8 byte facets).Leaky-bucket rate limit queues with exponential backoff.
๐๏ธ Architecture
flowchart TD
subgraph Input["Input Channels"]
Studio["๐จ Google Material 3 Studio<br/>(public/index.html)"]
CLI["๐ป Omnipost CLI"]
MCP["๐ค AI Agent MCP Clients<br/>(Claude, Cursor, Cline, Zed)"]
PyAPI["๐ Python SDK / API"]
end
subgraph Core["Omnipost Social Engine Core"]
Tokenizer["AST Tokenizer & Thread Splitter"]
UnicodeEngine["Unicode Mathematical Typography"]
ViralityScorer["Algorithmic Virality Diagnostics"]
EnvelopeEngine["Platform Envelope Translators"]
RateLimiter["Leaky Bucket Async Token Bucket"]
end
subgraph Outputs["Target Platforms"]
TW["๐ / Twitter (280 chars)"]
LI["๐ผ LinkedIn (3000 chars)"]
BS["๐ฆ BlueSky ATProto (300 chars)"]
TH["๐งต Threads (500 chars)"]
MA["๐ Mastodon Fediverse (500 chars)"]
end
Studio --> Core
CLI --> Core
MCP --> Core
PyAPI --> Core
Core --> TW
Core --> LI
Core --> BS
Core --> TH
Core --> MAโก Quickstart
1. Installation
# Clone the repository
git clone https://github.com/omnipost/omnipost-social-engine.git
cd omnipost-social-engine
# Install in editable mode
pip install -e .2. Launch Google Omnipost Web Studio
Open public/index.html directly in your browser (no Node.js build step or local server required):
# macOS
open public/index.html
# Linux
xdg-open public/index.html
# Windows
start public/index.html๐ Python API Usage
Score Virality & Diagnose Draft
from omnipost_social_engine import OmnipostEngine
engine = OmnipostEngine()
draft = """
๐ We just open-sourced Omnipost Social Engine!
One unified Python library to compose, simulate, and broadcast across:
โข Twitter / X
โข LinkedIn
โข BlueSky & Threads
Star the repo on GitHub ๐
#Python #OpenSource
"""
result = engine.score_virality(draft, platform="twitter")
print(f"Virality Score: {result.score}/100 ({result.grade})")
print(f"Hook Strength: {result.factors.hook_power}/30")Split Long Essay into a Verified Thread
essay = Path("article.md").read_text()
thread = engine.split_thread(
source_text=essay,
max_chars_per_post=280,
numbering_style="fraction", # (1/N)
auto_hook=True,
auto_cta=True
)
for post in thread.posts:
print(f"[{post.order}/{len(thread.posts)}] ({len(post.text)} chars):\n{post.text}\n---")๐ค Model Context Protocol (MCP) Integration
Omnipost includes ready-to-copy MCP configurations for all major AI coding environments in examples/mcp-clients/:
Claude Desktop: Add to
claude_desktop_config.json:
{
"mcpServers": {
"omnipost-social-engine": {
"command": "python",
"args": ["-m", "omnipost_social_engine.mcp_server"],
"env": {
"PYTHONPATH": "src"
}
}
}
}Cursor IDE: Add to
.cursor/mcp.json.Cline: Add to
cline_mcp_settings.json.Zed: Add to
~/.config/zed/settings.json.
Read the complete MCP Guide for full tool schemas.
๐ Repository Structure
omnipost-social-engine/
โโโ .github/
โ โโโ workflows/
โ โโโ ci.yml # 15-job matrix (Ubuntu, macOS, Win / Python 3.9-3.13)
โ โโโ release.yml # Wheel/sdist packaging, SHA256, PyPI & GitHub Release
โโโ docs/
โ โโโ MCP_GUIDE.md # Model Context Protocol manual & tool schemas
โ โโโ PLATFORM_LIMITS_GUIDE.md# Platform rate limits, character specs & media matrix
โ โโโ VIRAL_HOOK_FORMULAS.md # 15+ psychological copywriting formulas & heuristics
โโโ examples/
โ โโโ README.md # Master examples catalog
โ โโโ developer-thread/ # 10-part technical developer thread example
โ โ โโโ thread.md
โ โ โโโ README.md
โ โโโ launch-campaign/ # Complete omnichannel product launch dataset
โ โ โโโ campaign.json
โ โ โโโ posts.csv
โ โ โโโ README.md
โ โโโ mcp-clients/ # Pre-built configs for Claude, Cursor, Cline, Zed
โ โโโ claude_desktop_config.json
โ โโโ cursor_mcp.json
โ โโโ cline_mcp.json
โ โโโ zed_settings.json
โ โโโ README.md
โโโ public/
โ โโโ index.html # Google Material 3 Studio single-page application
โโโ src/
โ โโโ omnipost_social_engine/ # Core engine Python package
โโโ tests/
โโโ test_examples.py # Validation test suite for UI, examples & docs๐งช Testing & Verification
Run the comprehensive pytest suite:
PYTHONPATH=src pytest tests/ -vAll 15 matrix environments in GitHub Actions enforce:
Python 3.9, 3.10, 3.11, 3.12, 3.13
Linux (Ubuntu), macOS, and Windows runners
100% test pass rate
๐ License
Distributed under the MIT License. See LICENSE for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Draft, schedule and publish social posts to nine platforms from any AI agent.
Schedule and publish social media posts to 10 platforms from your AI agent
Post, schedule, and track social posts on X, Bluesky, LinkedIn, Instagram and more from AI agents.
Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI assistants to schedule and publish social media posts to platforms like Instagram, TikTok, YouTube, LinkedIn, Facebook, X, Threads, and Pinterest using natural language.3399 npm3MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to create, schedule, and manage social media posts across 10 platforms via a unified API.-
- AlicenseNot gradedqualityAmaintenanceSocial media scheduling and publishing for AI agents. 17 validation-first tools to post to X, LinkedIn, Instagram, TikTok, YouTube, Reddit, Discord, Telegram, and more through one connected workspace.52 npm87MIT

PostMCP MCP Serverofficial
AlicenseAqualityBmaintenanceEnables AI assistants to manage social media publishing across platforms like LinkedIn, Twitter, Facebook, Instagram, Threads, and Bluesky.754 npmMIT