Postlint MCP Server logo

Postlint MCP Server

Checks social drafts against platform-specific limits, including URL, grapheme, emoji, and non-Latin counting rules.

Install Postlint MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "postlint-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@conorbronsdon/postlint-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Postlint MCP Server checks social media drafts against the published counting rules for X, Bluesky, LinkedIn, Threads, Mastodon, and Discord. Its tools calculate platform-specific lengths rather than using plain text length, accounting for fixed-width URLs, grapheme clusters, emoji sequences, and weighted characters. Use it before publishing a draft or when comparing whether one version fits several platforms. It runs locally with no API credentials or network access.

Use cases

  • Check a draft before publishing to X or Bluesky
  • Compare one post across several social platforms
  • Explain which URLs or characters push a post over its limit
  • Audit drafts that contain emoji, non-Latin text, or link placeholders

Key features

  • Platform-specific length calculation
  • Single-platform and multi-platform checks
  • URL and grapheme-aware counting
  • Per-result counting drivers and warnings
  • Published source details for platform limits
  • Offline, credential-free operation

Tools3

What Postlint MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~544 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

11/11 checks healthy over the last 64d

What it can do

From the 3 tools this server returned when we ran it.

Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age78 days
Maintainers1

Observed 2026-10-19 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · @conorbronsdon/postlint-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads3.4kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Tools exposed3Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Postlint MCP Server works

What Postlint MCP Server does

Postlint MCP Server measures social posts against platform limits before publication. It covers X, X Premium, Bluesky, LinkedIn, Threads, Mastodon, and Discord, with the platform identifiers exposed through the tools. Results include the calculated length, the applicable limit, whether the post fits, and remaining headroom where relevant.

The calculations reflect platform-specific rules rather than JavaScript-style string length. X uses weighted characters, including a fixed cost for URLs and double weighting for several non-Latin scripts and emoji. Bluesky and Mastodon use grapheme-based counting, while LinkedIn, Threads, and Discord use character limits with their own documented constraints.

How it works

The server is a deterministic computation service. An MCP client sends a draft and a platform name to check_post, or sends one draft to check_post_all for a comparison across every supported platform. The response explains the factors that affected the result, such as URL pricing or counted graphemes.

check_post_all keeps passing rows compact and includes detailed arithmetic only for platforms where the draft exceeds the limit. For a full breakdown of one result, use check_post directly. platform_limits provides the known limit, measurement unit, explanation of unusual counting behavior, and source associated with each platform.

Draft placeholders such as [URL], [LINK], and similar link markers are priced as a real link rather than as their literal visible length. The result includes a warning that the calculated value is a floor because the eventual URL may differ.

Setup and configuration

The package is published on npm and can be launched with npx, so a repository clone is not required. A local checkout can instead be built with npm install followed by npm run build, then started with Node against the generated dist/index.js file.

Claude Code and Claude Desktop use a stdio configuration with the npx -y @conorbronsdon/postlint-mcp command. Codex uses the same command and package through its TOML MCP configuration. The server needs no token, environment variable, or network connection.

To verify the setup, ask the connected assistant to check a draft for X and Bluesky, preferably including multiple links so the platform-specific counting is visible.

Tools and capabilities

  • check_post checks one draft against one platform and returns its length, limit, fit status, remaining space, counting unit, drivers, and applicable warnings.
  • check_post_all checks one draft across all supported platforms and returns separate rows for passing and over-limit results.
  • platform_limits lists supported platforms, their limits, measurement units, counting explanations, and source references.
  • X counting assigns each URL a width of 23 and applies weighted treatment to selected scripts and emoji sequences.
  • Bluesky counts grapheme clusters and also has a 3,000-byte UTF-8 cap that can matter for some ZWJ-heavy text.
  • Mastodon uses a 500-grapheme default, but individual instances may configure a different status limit.

Limitations and notes

This server only measures drafts. It does not publish, truncate, or modify posts, and it has no write operation, credentials, or network calls. Mastodon results use the documented 500-character default rather than querying the target instance's configured value; instance-specific deployments may allow more.

Platform limits and counting rules can change. The known limits are tied to published sources, including platform documentation and configuration files. A passing result therefore describes the configured rules represented by the server, not a live validation against an account or instance.

The package is maintained in maintenance mode: it is stable and receives security fixes, while new features are not planned.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Postlint MCP Server

Postlint MCP Server is an MCP server that connects an AI client to deterministic social-post length checks for X, Bluesky, LinkedIn, Threads, Mastodon, and Discord. Its main tools, `check_post`, `check_post_all`, and `platform_limits`, report platform-specific counts, limits, fit status, counting drivers, and source details.

Install it through an MCP client with `npx -y @conorbronsdon/postlint-mcp`. Claude Code and Claude Desktop use a stdio JSON configuration, while Codex uses an equivalent TOML entry. A local checkout can be built with `npm install` and `npm run build`.

Yes, Postlint MCP Server works with Claude Desktop through a stdio entry in `claude_desktop_config.json`. The configuration runs the npm package with `npx -y @conorbronsdon/postlint-mcp`, and no token, environment variable, or network access is required.

It checks Mastodon using a 500-grapheme default, but it does not query an instance's configured limit. Mastodon servers can set higher values, so the target instance's `configuration.statuses.max_characters` should be checked separately when that distinction matters.

No, Postlint MCP Server only measures drafts. It has no publishing operation, credentials, or network calls, and it does not truncate or rewrite a post after finding that it exceeds a platform limit.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPostlint MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/postlint-mcp-server?style=directory)](https://allmcps.com/mcp/postlint-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/postlint-mcp-server"><img src="https://allmcps.com/api/badge/postlint-mcp-server?style=directory" alt="Postlint MCP Server on AllMCPs" /></a>