Md2svg-mcp MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add md2svg -- uvx md2svg-mcp
README.md

Converts Markdown text into customizable SVG images

Md2svg-mcp

A Model Context Protocol (MCP) server that converts Markdown text to SVG images.

Overview

This MCP server provides a tool to transform Markdown content into SVG format. It supports various Markdown elements, including headings, lists, code blocks, and tables. The server can be easily integrated into any MCP client, allowing users to visualize Markdown content in a scalable vector graphic format.

Features

  • Markdown Parsing: Converts Markdown text to structured blocks.
  • SVG Generation: Renders Markdown elements as SVG elements.
  • Customization: Supports customizable output dimensions, padding, and colors.
  • MCP Integration: Compatible with any MCP client.

Installation

{
  "mcpServers": {
    "md2svg-mcp": {
      "command": "uvx",
      "args": [
        "md2svg-mcp"
      ]
    }
  }
}

Configuration

The markdown_to_svg tool supports the following parameters:

  • md_text: The Markdown text to be converted.
  • output_file: The output SVG file name (default: output.svg).
  • width: The width of the SVG image (default: 720).
  • padding: The padding around the SVG content (default: 50).

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Tools (1)

markdown_to_svgTransforms Markdown content into a scalable vector graphic (SVG) file.

Configuration

claude_desktop_config.json
{"mcpServers": {"md2svg-mcp": {"command": "uvx", "args": ["md2svg-mcp"]}}}

Try it

Convert this markdown list of project tasks into an SVG image named tasks.svg.
Create an SVG visualization of the following markdown table with a width of 800.
Generate an SVG file from this markdown documentation snippet with 100 pixels of padding.

Frequently Asked Questions

What are the key features of Md2svg-mcp?

Converts Markdown text to structured SVG blocks. Supports headings, lists, code blocks, and tables. Customizable output dimensions and padding. Compatible with any MCP client.

What can I use Md2svg-mcp for?

Generating visual summaries of markdown notes for presentations. Creating shareable SVG diagrams from technical documentation. Visualizing markdown-based task lists or project plans as images.

How do I install Md2svg-mcp?

Install Md2svg-mcp by running: uvx md2svg-mcp

What MCP clients work with Md2svg-mcp?

Md2svg-mcp works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Md2svg-mcp docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare