Figma Query
FreeNot checkedToken-efficient Figma MCP server with image export, query DSL, and design token support.
About
Token-efficient Figma MCP server with image export, query DSL, and design token support.
README
Token-efficient Figma MCP server with image export, query DSL, and design token support.
Installation
npm
npm install -g @standardbeagle/figma-query
Or use with npx:
npx @standardbeagle/figma-query
Python (uvx/pipx)
# Using uvx (recommended)
uvx figma-query
# Using pipx
pipx install figma-query
# Using pip
pip install figma-query
Configuration
Environment Variables
FIGMA_ACCESS_TOKEN- Your Figma personal access token (required)FIGMA_EXPORT_DIR- Directory for file exports (default:./figma-export)
Claude Desktop / MCP Client
Add to your MCP configuration:
{
"mcpServers": {
"figma-query": {
"command": "npx",
"args": ["@standardbeagle/figma-query"],
"env": {
"FIGMA_ACCESS_TOKEN": "your-token-here"
}
}
}
}
Or if installed globally:
{
"mcpServers": {
"figma-query": {
"command": "figma-query",
"env": {
"FIGMA_ACCESS_TOKEN": "your-token-here"
}
}
}
}
Using uvx (Python):
{
"mcpServers": {
"figma-query": {
"command": "uvx",
"args": ["figma-query"],
"env": {
"FIGMA_ACCESS_TOKEN": "your-token-here"
}
}
}
}
Tools
Export Tools
| Tool | Description |
|---|---|
sync_file |
Export entire file to nested folders (includes assets by default) |
export_assets |
Export images/icons for specific nodes |
export_tokens |
Export design tokens to CSS/JSON/Tailwind |
download_image |
Download images by ref ID or render nodes as images |
Query Tools
| Tool | Description |
|---|---|
query |
Query nodes with JSON DSL and data shaping |
search |
Full-text search across names, text, properties |
get_tree |
Get file structure as ASCII tree with node IDs |
list_components |
List all components with usage stats |
list_styles |
List all styles (color, text, effect, grid) |
Detail Tools
| Tool | Description |
|---|---|
get_node |
Get full details for a specific node |
get_css |
Extract CSS properties for node(s) |
get_tokens |
Get design token references and resolved values |
Other Tools
| Tool | Description |
|---|---|
wireframe |
Generate annotated wireframe with node IDs |
diff |
Compare exports or file versions |
info |
Help and status |
Projections
Use projections in the select array to get specific property groups:
| Projection | Properties |
|---|---|
@structure |
id, name, type, visible |
@bounds |
x, y, width, height |
@css |
fills, strokes, effects, cornerRadius, opacity |
@layout |
layoutMode, padding, itemSpacing, constraints |
@typography |
fontFamily, fontSize, fontWeight, lineHeight |
@tokens |
boundVariables |
@images |
imageRefs (from fills/strokes/backgrounds), exportSettings |
@all |
All properties |
Examples
Query all buttons
{
"file_key": "abc123",
"q": {
"from": ["COMPONENT"],
"where": { "name": { "$match": "Button*" } },
"select": ["@structure", "@css"]
}
}
Get images from a node
{
"file_key": "abc123",
"q": {
"from": ["FRAME"],
"select": ["@structure", "@images"]
}
}
Download image fills
{
"file_key": "abc123",
"image_refs": ["ref123", "ref456"],
"output_dir": "./images"
}
License
MIT
Installing Figma Query
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/standardbeagle/figma-queryFAQ
Is Figma Query MCP free?
Yes, Figma Query MCP is free — one-click install via Unyly at no cost.
Does Figma Query need an API key?
No, Figma Query runs without API keys or environment variables.
Is Figma Query hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Figma Query in Claude Desktop, Claude Code or Cursor?
Open Figma Query on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
LibreOffice Tools
Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a
by passerbyflutterdannote/figma-use
Full Figma control: create shapes, text, components, set styles, auto-layout, variables, export. 80+ tools.
by dannoteLogo.dev
Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content
by NOVA-3951Design Inspiration Server
Searches top design platforms like Dribbble and Behance to provide UI inspiration, color palettes, and layout patterns via the Serper API. It allows users to re
by YonasValentinPIX4Dmatic
Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem
by jangjo123Figma
Extract design specs and assets
by Figmamcp-dockmaster
An Open-Sourced UI to install and manage MCP servers for Windows, Linux and macOS.
ariekogan/ateam-mcp
Build, validate, and deploy multi-agent AI solutions on the ADAS platform. Design skills with tools, manage solution lifecycle, and connect from any AI environm
by ariekoganthinkchainai/mcpbundles
MCP Bundles: Create custom bundles of tools and connect providers with OAuth or API keys. Use one MCP server across thousands of integrations, with programmatic
by thinkchainaiarikusi/nakkas
MCP server that turns AI into an SVG artist. One rendering engine with JSON config, AI controls all design parameters. CSS @keyframes + SMIL animations, 16+ ele
by arikusiCompare Figma Query with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All design MCPs
