# pscat

> pscat is an open-source MCP server for design and media. PostScript interpreter in Rust that renders PNG, SVG and PDF, plus chalkboard math. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows, self-hosted, Web
- **Website:** https://pscatlabs.github.io/pscat/
- **Repository:** https://github.com/pscatlabs/pscat
- **MCP Registry name:** io.github.PSCatLabs/pscat
- **Categories:** design and media, developer tools
- **Listing updated:** 2026-11-15

## About

pscat is a from-scratch Level 2 PostScript interpreter written in Rust, and the MCP server lets an agent use it to draw and then look at the result. The registry lists rendering and debugging PostScript to PNG, SVG or PDF, handwritten notes and generative art. The server also has a chalkboard_math tool: LaTeX in, a PNG of the formula written in chalk on a board out, and the same LaTeX and seed give the same picture.

The README argues for it when output must be exact and checkable: correctly spelled text, a QR code that scans, a chart that matches the data, or a vector PDF that prints at size. It also notes that, as of November 2026, it gives a model with no image output, such as Claude, a way to draw real pictures. Test expectations are pinned against Ghostscript output.

Install with cargo install pscat, which provides pscat and pscat-mcp, or download a prebuilt binary for macOS, Linux or Windows. A wasm build runs in browsers, and there is an in-browser playground.

## Features

- **Render PostScript:** Converts PostScript and EPS to PNG, SVG and PDF.
- **Chalkboard math:** Writes LaTeX formulas on a chalkboard image with a repeatable seed.
- **Generative art:** Draws watercolor, oil, printmaking and handwriting styles from source.
- **Live drawing:** Shows a program drawing stroke by stroke in a window or browser.
- **Ghostscript-checked:** Tests are pinned against Ghostscript output.
- **Rust and wasm:** Usable as a CLI, Rust library or in-browser wasm renderer.

## Good for

- Let an agent draw an exact chart or QR code and view it
- Turn a LaTeX formula into a chalkboard image for a lecture slide
- Render PostScript files to PDF without Ghostscript
- Debug a PostScript program by watching it draw
- Produce deterministic generative art from a seed

## Install

### Claude Code (Terminal)

```sh
claude mcp add pscat -- npx -y pscat
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "pscat": {
      "command": "npx",
      "args": [
        "-y",
        "pscat"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "pscat": {
      "command": "npx",
      "args": [
        "-y",
        "pscat"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "pscat": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pscat"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "pscat": {
      "command": "npx",
      "args": [
        "-y",
        "pscat"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "pscat": {
      "command": "npx",
      "args": [
        "-y",
        "pscat"
      ]
    }
  }
}
```

## Tools

- `chalkboard_math`: Takes LaTeX and returns a PNG of the formula written on a chalkboard.

## FAQ

### How do I install it?

Run cargo install pscat, or download a prebuilt binary from the releases page.

### When should I use it instead of an image model?

When output must be exact and checkable, such as spelled text, scannable QR codes or print-size vector PDFs.

### Does it run in a browser?

Yes, through WebAssembly, and a playground needs no install.

### Which tool makes chalkboard images?

chalkboard_math, which takes LaTeX and returns a PNG.

### Is pscat free?

Yes. pscat is open source, so you can use and self-host it for free.

### How do I add pscat to Claude Code?

Run this command in your terminal: claude mcp add pscat -- npx -y pscat

### What are the best alternatives to pscat?

The closest alternatives to pscat are REA, HyperFrames by HeyGen, Codebase Memory, GitHub and Serena MCP: the IDE for your agent.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [ffmpeg-skill](https://ai-powered.com/mcp/ffmpeg-skill): ffmpeg-skill is an open-source MCP server for design and media.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/pscat
