← Back to Markdown Tools

Install Markdown Tools

Pick your client, copy the command, done.

Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1

Prepare the server locally

Run this once before adding it to Claude Code.

npm install
npm run build
2

Register it in Claude Code

claude mcp add markdown-tools -- node /path/to/dist/index.js

Replace any placeholder paths in the command with the real path on your machine.

Available Tools (5)

Once configured, Markdown Tools gives your AI agent access to:

generate_tocGenerate a table of contents from markdown headings.
min_depthmax_depthordered
lint_markdownCheck markdown for common issues like broken links, heading hierarchy, and whitespace.
content
format_markdownFormat and prettify markdown content, normalizing styles and aligning tables.
contentwidth
markdown_statsCompute detailed statistics from markdown content including word count and reading time.
content
generate_tableGenerate formatted markdown tables from JSON data.
datacolumnsalignment

Try It Out

After setup, try these prompts with your AI agent:

Generate a table of contents for the current markdown file with a maximum depth of 3.
Lint this markdown file and fix any heading hierarchy violations.
Format the provided markdown content to ensure table columns are aligned and lines are wrapped.
Calculate the reading time and word count for this documentation file.
Convert this JSON data into a formatted markdown table with center alignment.
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Node.js 18+ with npm/npx installed
Alternative installation methods

Claude Code

claude mcp add markdown-tools node /path/to/dist/index.js

Keep this setup from going cold

Save the docs, env vars, and workflow around Markdown Tools in Conare so Claude Code, Codex, and Cursor remember it next time.

Remember this setup