
Math Svg Mcp
Converts LaTeX math expressions into scalable SVG images through two tools: latex_to_svg returns the SVG content directly, while latex_to_svg_file writes it to disk. You get control over display mode, font size, units (pt, px, mm, ex), and can choose from ten math fonts including Latin Modern, STIX Two, and Fira Math. Useful when you need Claude to generate publication ready mathematical notation without rasterization, whether for documentation, InDesign workflows, or web content. The server handles font caching automatically and runs via npx for zero install friction.
- tools
- 2
- transport
- STDIO
- last updated
- Feb 4, 2026
Tools
2 toolsPublic tool metadata for what this MCP can expose to an agent.
latex_to_svgConverts a LaTeX expression to SVG and returns the content directly.
Converts a LaTeX expression to SVG and returns the content directly.
No parameter schema in public metadata yet.
latex_to_svg_fileConverts a LaTeX expression to SVG and saves to a file.
Converts a LaTeX expression to SVG and saves to a file.
No parameter schema in public metadata yet.
Sponsors
Readme
math-svg-mcp
An MCP server that converts LaTeX math expressions to SVG.
Once configured, Claude (or your favorite AI assistant) is able to convert LaTeX math expressions to SVG. So you could, for instance, ask:
Give me the Laplace transform formula as SVG
The assistant will generate the LaTeX:
\mathcal{L}\{f(t)\} = \int_0^\infty f(t) e^{-st} \, dt = F(s)
and use the tool to render it:
Laplace transform
Works great with Sidekick for InDesign
Quick Install (Claude Desktop)
Download and open the .mcpb file from the latest release to automatically configure Claude Desktop.
Or use this direct link: math-svg-mcp.mcpb
Manual Configuration
Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Details
- Repository
- github.com/wspringer/math-svg-mcp
- Category
- Design & Creative
- Package
math-svg-mcp- Transport
- STDIO
- Registry
- MCP registry, active