Show HN: CLI Figma .fig –> .json for LLM
1 points
1 hour ago
| 0 comments
| github.com
| HN
I built fig2json, a CLI tool that converts Figma .fig files into clean JSON optimized for LLM consumption.

Why Not MCP?

There are MCP servers for Figma (even an official one). I couldn’t get them to work reliably. A simple CLI that outputs a JSON file felt more robust and predictable.

Workflow

- Export from Figma: File → Save local copy

- Run fig2json design.fig output-dir

- Feed the JSON to your LLM with implementation instructions

Usage

# Install

cargo install fig2json

# Convert (export your .fig from Figma first: File → Save local copy)

fig2json design.fig output-dir

That’s it. Check out the GitHub repo : https://github.com/kreako/fig2json/ or grab it from https://crates.io/crates/fig2json

Hope this will help someone

No one has commented on this post.