
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@standardbeagle/figma-query
Advanced tools
Token-efficient Figma MCP server with image export, query DSL, and design token support
Token-efficient Figma MCP server with image export, query DSL, and design token support.
npm install -g @standardbeagle/figma-query
Or use with npx:
npx @standardbeagle/figma-query
# Using uvx (recommended)
uvx figma-query
# Using pipx
pipx install figma-query
# Using pip
pip install figma-query
FIGMA_ACCESS_TOKEN - Your Figma personal access token (required)FIGMA_EXPORT_DIR - Directory for file exports (default: ./figma-export)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"
}
}
}
}
| 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 |
| 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) |
| 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 |
| Tool | Description |
|---|---|
wireframe | Generate annotated wireframe with node IDs |
diff | Compare exports or file versions |
info | Help and status |
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 |
{
"file_key": "abc123",
"q": {
"from": ["COMPONENT"],
"where": { "name": { "$match": "Button*" } },
"select": ["@structure", "@css"]
}
}
{
"file_key": "abc123",
"q": {
"from": ["FRAME"],
"select": ["@structure", "@images"]
}
}
{
"file_key": "abc123",
"image_refs": ["ref123", "ref456"],
"output_dir": "./images"
}
MIT
FAQs
Token-efficient Figma MCP server with image export, query DSL, and design token support
We found that @standardbeagle/figma-query demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.