Math Svg MCP server
io.github.wspringer/math-svg-mcp·v1.1.2·1 starsConvert LaTeX math expressions to crisp, scalable SVG images
1 stars35 downloads/wk
Reviews
Write oneNobody has reviewed Math Svg yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Math Svg tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
latex_to_svgConvert a LaTeX math expression to SVG and return the SVG content directly. Best for small expressions where you need the SVG inline.
latex_to_svg_fileConvert a LaTeX math expression to SVG and save it to a file. Best for larger expressions or when you need to reference the SVG by path.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan16 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 234 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Math Svg compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- Tools
- 2
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 35
- more than 25% of 12,191 servers with a package
What its tools let an agent do: 2 read
Install Math Svg in Claude Code, Cursor or VS Code
Runs npx -y math-svg-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add math-svg-mcp -- npx -y math-svg-mcp
What the publisher says
From the Math Svg repository's README, as published. We do not edit it. Read it on GitHub
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:
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/claudedesktopconfig.json Windows: %APPDATA%\Claude\claudedesktopconfig.json
{
"mcpServers": {
"math-svg": {
"command": "npx",
"args": ["-y", "math-svg-mcp"]
}
}
}Claude Code
Add to your Claude Code settings (.claude/settings.json or global settings):
{
"mcpServers": {
"math-svg": {
"command": "npx",
"args": ["-y", "math-svg-mcp"]
}
}
}Or run directly:
claude mcp add math-svg -- npx -y math-svg-mcpOther MCP Clients
Any MCP-compatible client can use this server with the same configuration pattern:
{
"command": "npx",
"args": ["-y", "math-svg-mcp"]
}Global Installation (Optional)
For faster startup, install globally:
npm install -g math-svg-mcpThen configure your client to use:
{
"command": "math-svg-mcp"
}Tools
latextosvg
Converts a LaTeX expression to SVG and returns the content directly.
Example: E = mc^2
latextosvg_file
Converts a LaTeX expression to SVG and saves to a file.
Example: \int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2} → /tmp/gaussian.svg
Available Fonts
The font parameter lets you choose from 10 math fonts. The default modern font (Latin Modern) is bundled; others are automatically downloaded on first use and cached in ~/.cache/math-svg-mcp/fonts/.
Requirements
- Node.js 18 or later
Development
npm install
npm run build
npm testLicense
MIT
Nothing above is checked by us. What we check is on the safety report.
Math Svg: common questions
- Is Math Svg MCP server safe?
- Mostly: it is graded B (75/100). Read the Math Svg safety report
- How do I install Math Svg?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Math Svg need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Math Svg maintained?
- The last commit was 271 days ago (2026-02-06). The latest release is v1.1.2.
- How does Math Svg compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); tools 2 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.