Skip to main content
MCP server CX Codex

svg-tracer — Claude Code MCP server: what it does, how to install

Vectorizes raster graphics into SVG files using potrace directly on your filesystem. Useful for turning PNG or JPG icons into vector assets.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add svg-tracer -- npx -y @pulsemcp/svg-tracer-mcp-server
Open on GitHub

What svg-tracer does

The server exposes a single tool named trace_bitmap_to_svg. It takes local raster files like PNG, JPEG, WebP, BMP, GIF, or TIFF and turns them into SVG paths. For PNGs with transparency, it converts the alpha channel into a monochrome mask before tracing.

Relative paths will fail. The input_path parameter demands an absolute path on disk. Callers can adjust the black-and-white cutoff via threshold (default 128), remove speckles with turd_size (default 2), and tune curve fitting with opt_tolerance. You can also set output dimensions with target_width and target_height, or pick custom fill and background colors.

What it helps with

  • trace raster logos into clean vector SVG files
  • generate sized vector icons from bitmap sketches
  • suppress speckles and noise during image tracing
  • convert transparent PNG silhouettes into vectors

Example prompts for the agent

  • Convert /tmp/logo.png to an SVG file in the same directory
  • Create a 50x50 icon from /tmp/icon.png with fill color #FF5733
  • Trace /tmp/sketch.webp with a threshold of 150 and speckle suppression

How to install svg-tracer

Platform CLI

claude mcp add svg-tracer -- npx -y @pulsemcp/svg-tracer-mcp-server

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about svg-tracer

How to install svg-tracer in Claude Code?

Run claude mcp add svg-tracer -- npx -y @pulsemcp/svg-tracer-mcp-server in your terminal. This registers the server and exposes its tracing tool.

What formats does svg-tracer support?

It handles common raster formats including PNG, JPEG, WebP, BMP, GIF, and TIFF.

Does svg-tracer accept relative file paths?

No. The input_path parameter requires an absolute filesystem path to read the source image correctly.

Similar MCP servers

All MCP servers for Design →

From the same set28

vercel Manage Vercel deployments and inspect build or runtime logs from an AI coding agent. Useful when checking releases or tracing application failures. CX Codex +1 ★ 81repo stars twist Bridges your Twist workspace and an AI agent: list channels, open threads, post messages through MCP tools. Handy when discussion lives in Twist but you work from the chat. CX Codex +1 ★ 81repo stars ssh This MCP server connects an AI agent to a remote host over SSH for commands, directory browsing, and SFTP transfers. It can use an SSH agent. CX Codex +1 ★ 81repo stars slack An MCP server for Slack that reads channels and threads, posts and edits messages, and adds reactions. Useful when your agent has to work with chat without leaving the editor. CX Codex +1 ★ 81repo stars serpapi-hotels Connects Google Hotels to your coding assistant via SerpAPI. It lets agents check lodging prices, filter by stay dates, and inspect guest feedback. CX Codex +1 ★ 81repo stars s3 This MCP server lets an agent work with AWS S3 and compatible storage. Use it to inspect buckets, handle objects, and limit available operations. CX Codex +1 ★ 81repo stars remote-filesystem An MCP server that lets your agent work with a Google Cloud Storage bucket: upload, download, list, edit properties and delete files. CX Codex +1 ★ 81repo stars pulse-subregistry Connects your assistant to the PulseMCP Sub-Registry catalog to search and inspect MCP servers. Useful when finding existing tool integrations directly from chat. CX Codex +1 ★ 81repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor