Markdown TOC, lint, format, stats for AI agents
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP (Model Context Protocol) server that provides tools for working with Markdown content. Analyze, lint, format, and generate Markdown programmatically through any MCP-compatible client.
Generate a table of contents from markdown headings. Configure minimum/maximum heading depth and choose between ordered or unordered list output.
Check markdown for common issues including broken link syntax, heading hierarchy violations, trailing whitespace, missing image alt text, inconsistent list markers, and excessive blank lines.
Format and prettify markdown content. Normalizes heading styles (converts setext to ATX), fixes spacing around headings and blocks, aligns table columns, and wraps long lines at configurable width.
Compute detailed statistics from markdown content: word count, character count, estimated reading time, headings by level, link count, image count, code block count with language distribution, list items, blockquotes, and paragraph count.
Generate formatted markdown tables from JSON data. Supports column selection, custom header labels, and per-column alignment (left, center, right).
Add the following to your Claude Desktop configuration file:
%APPDATA%\Claude\claude_desktop_config.json~/Library/Application Support/Claude/claude_desktop_config.jsonAdd the server using the Claude Code CLI:
Or add it to your .mcp.json configuration:
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/markdown-2)<a href="https://allmcps.com/mcp/markdown-2"><img src="https://allmcps.com/api/badge/markdown-2?style=directory" alt="Markdown on AllMCPs" /></a>