rog0x avatar

Markdown

rog0x/mcp-markdown-tools

This server gives Claude five tools for working with Markdown files programmatically. You can generate tables of contents with configurable depth, lint documents for broken links and heading hierarchy issues, format content by normalizing heading styles and wrapping lines, pull statistics like word count and reading time, and create aligned tables from JSON data. It's built for workflows where you need structured Markdown operations beyond simple text editing, like maintaining documentation, analyzing content structure, or generating formatted output from data. Runs via Node.js and connects through stdio transport.

tool
1
transport
STDIO
last updated
Mar 22, 2026

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

to-markdownGenerate markdown description for files including PDF (.pdf), Images (.jpeg, .jpg, .png, .webp, .svg), HTML (.html), XML (.xml), Microsoft Office (.xlsx, .xlsm, .xlsb, .xls, .et), Open Document Format (.ods), CSV (.csv), and Apple Documents (.numbers)1 params

Generate markdown description for files including PDF (.pdf), Images (.jpeg, .jpg, .png, .webp, .svg), HTML (.html), XML (.xml), Microsoft Office (.xlsx, .xlsm, .xlsb, .xls, .et), Open Document Format (.ods), CSV (.csv), and Apple Documents (.numbers)

Parameters* required
filePathsarray
Array of absolute file paths to generate descriptions for

Sponsors

Readme

mcp-markdown-tools

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.

Tools

generate_toc

Generate a table of contents from markdown headings. Configure minimum/maximum heading depth and choose between ordered or unordered list output.

lint_markdown

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_markdown

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.

markdown_stats

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_table


View the full README on GitHub

Details

Repository
github.com/rog0x/mcp-markdown-tools
Category
Documents & Knowledge
Package
@rog0x/mcp-markdown-tools
Transport
STDIO
Registry
MCP registry, active

More from rog0x

Related Documents & Knowledge MCP servers

View all
1yourlifewithai avatarArcology Knowledge Nodeyourlifewithai/lifewithaiCollaborative engineering KB for a mile-high city. 9 tools, 8 domains, 32 entries.0stars
2mambalabsdev avatarMcp Business Pdf Field Extractormambalabsdev/mcp-business-pdf-field-extractorFixed fields and line items from invoice, purchase order, and contract PDFs, with OCR, no AI0stars
3ojaskord avatarDocument Integrity Validatorojaskord/document-integrity-validator-mcpAI reasoning checks any document against known international standards before your agent acts on it.0stars
4raulsimpetru avatarZotero Library Mcpraulsimpetru/zotero-library-mcpAdd papers and books to Zotero by DOI, arXiv ID, or ISBN and manage your library0stars
5sidney avatarWeb To Markdown Mcpsidney/web-to-markdown-mcpMCP server fetches URL through a real Chromium browser, returns main content as clean Markdown0stars
6vola-trebla avatarFlakiness Knowledge Graph Mcpvola-trebla/flakiness-knowledge-graph-mcpMCP server + Playwright reporter that builds a flakiness knowledge graph from test run history0stars