# Postlint MCP Server [Health: Active]

**Category:** 🌐 Social Media  
**Repository:** https://github.com/conorbronsdon/postlint-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 3351  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/postlint-mcp-server

## Description
Check a social post against a platform's real character limit: X, Bluesky, LinkedIn, Threads.

## Tools
Capabilities this server exposes over MCP:

- **check_post** — Check a social post against one platform's real character limit and report whether it fits. Returns the counted length, the limit, and what drove the count (URLs billed at a fixed width, non-Latin characters billed double, emoji sequences collapsed to one grapheme). Use this before publishing anything with a hard limit — the counting rules are per-platform and are not text.length.
- **check_post_all** — Check one post against every platform at once and get a row per platform: counted length, limit, and whether it fits. Use this when deciding where a draft can go as-is. The per-platform arithmetic is included only for the platforms it fails, to keep the response small — call check_post for a single platform's full breakdown.
- **platform_limits** — List the platforms this server knows, with each one's limit, the unit it is measured in, why that unit is not a plain character count, and the source the number came from. Use it to explain a result or to see what is covered.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "postlint-mcp-server": {
    "command": "npx",
    "args": ["-y","@conorbronsdon/postlint-mcp"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/postlint-mcp-server/readme_

