Figma Compact

•

Streams Figma design context to AI coding agents in an ultra-compact format that reduces token consumption by up to 94%.

Figma Compact connects Figma Desktop to AI coding environments like Cursor, Claude Code, and Claude Desktop, supplying design context with up to 94% fewer tokens than standard Figma REST JSON. Composed of a read-only Figma plugin and a local Spring AI-based bridge communicating over WebSockets, it allows agents to access component hierarchies, text layers, design styles, and screenshots on demand. By stripping out the noise from raw design files and providing line-based, structured context, it enables agents to implement UI accurately without exhausting model context windows.

主な機能

01Communicates securely over local loopback using a prebuilt Docker container or Java runtime.
02Guarantees safe, read-only document access through Figma's Plugin API without modifying files.
03Reduces design token consumption by approximately 94% compared to standard Figma REST JSON.
040 GitHub stars
05Provides granular tools for querying selections, layer hierarchies, text content, styles, and node inspections.
06Exports visual frame screenshots directly to MCP clients as image content.

ユースケース

01Translating Figma screens and components directly into code using AI coding assistants like Cursor and Claude Code.
02Extracting layout parameters, auto-layout values, colors, and typography styles efficiently during development.
03Inspecting layer trees and providing visual UI screenshots to multimodal coding agents without hitting context limits.