# Figme [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/ntson9p/figme-mcp  
**GitHub Stars:** 5  
**npm Downloads (last month):** 779  
**Views:** 9  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/figme

## Description
MCP server that reads local Figma .fig files, fully offline

## Tools
Capabilities this server exposes over MCP:

- **fig_overview** — Open a local Figma .fig file and summarise it: document name, export date, node counts by type, the page list, and how many components / variables / images it holds. START HERE. Then fig_tree a page, then fig_node / fig_style on interesting guids; fig_find jumps straight to a name or a piece of text. Everything is read-only and offline.
- **fig_tree** — List the layers under a node, breadth-limited by depth (default 2, max 6). Returns a FLAT list in document order; each entry carries `depth` (relative to the requested root) and `parent`, so the hierarchy is reconstructable, and `children` (count) so you can see where to deepen. Component instances are walked into, so the layers an instance shows come back with their overrides applied and ids like "I2:1329;0:2528", which every tool accepts; hidden layers are flagged. format:"outline" returns indented text lines instead of JSON and is roughly 4x denser for browsing. Large subtrees are truncated with truncated:true and a nextCursor you can pass back to continue.
- **fig_node** — Inspect one node by guid (e.g. "2:1339"), or a layer inside a component instance by the id fig_tree lists for it (e.g. "I2:1329;0:2528"). detail:"full" (default) gives geometry, fills/strokes/effects as hex colours, corner radii, auto-layout, text basics, component and variable links, plus child summaries. detail:"raw" returns the decoded Figma record verbatim — the escape hatch for fields this server does not map yet; it is limited to one node per call and can be large.
- **fig_find** — Search a file for nodes by name and by text content (case-insensitive substring), optionally restricted to node types and/or a subtree. Each hit comes back with the page it lives on, a breadcrumb of ancestor names, and which field matched — so you can jump straight to a guid and then call fig_node / fig_style. Omit `query` to list every node of the given types. instances:true also searches the layers component instances show, with their overrides.
- **fig_text** — Extract every string of copy in the file (or in one subtree via `scope`), in document order: guid, layer name, the characters, the page, and the base typography (font, size, line-height, colour). With includeRuns:true each node also carries its styled runs — the mixed-format spans Figma stores per UTF-16 code unit — with only the fields each run overrides. With a `scope`, the text inside component instances is included as those instances show it. Use this for copy audits and translation passes rather than walking the tree.
- **fig_style** — The flattened style of one node, shaped for writing code: hex fills / strokes / effects, corner radii, typography, and auto-layout translated into CSS flexbox terms (display, direction, gap, padding, justifyContent, alignItems, sizing) plus how the node behaves inside its parent layout (flexGrow, alignSelf, margin). Shared styles and variable bindings are named whenever they resolve inside this file, and a value that comes from a shared style is that style's live value. A layer inside a component instance (an id like "I2:1329;0:2528" from fig_tree) is styled as that instance shows it.
- **fig_components** — List the components (SYMBOL nodes) defined in the file: guid, name, description, the component-set it belongs to when it is a variant, its property definitions with defaults, and how many instances of it exist. Filter with `query` (case-insensitive substring of the name). Sorted by instance count, most-used first, so the load-bearing parts of the design system come back before one-off symbols. Follow up with fig_instance on a specific INSTANCE guid.
- **fig_instance** — Explain one component INSTANCE: which SYMBOL it points at, its component-property assignments with the property names resolved, and every override it applies — each with the path down into the component, the node that path addresses, and the fields it changes. Use it to see how an instance differs from its component without diffing two subtrees. An instance nested inside another (an id like "I2:1329;0:2528") also lists, as inherited, the overrides the enclosing instance applies inside it.
- **fig_variables** — List the design tokens in the file: every variable collection (VARIABLE_SET) with its modes, and every variable with its value per mode — colours as hex, numbers and strings verbatim. Aliases are followed when the target variable lives in this file; a variable published from another library is returned as its opaque assetRef instead. Filter with `set` (collection name or guid) or `query` (substring of the variable name).
- **fig_image** — Fetch a bitmap stored inside the .fig: pass `hash` (the 40-hex image id reported by fig_node / fig_style on an image paint), or `guid` to take the image(s) used by that node, or hash:"thumbnail" for the document preview. Small images come back as viewable image content; larger ones come back as metadata (mime, byte size, pixel dimensions) — give `savePath` to write the exact bytes to disk instead. NOTE: a .fig contains no rendered pictures of frames, only the bitmaps placed in image fills plus thumbnail.png, so this cannot screenshot a design.
- **fig_blob** — Return the raw bytes of one entry in the file's blob table. Vector geometry, glyph outlines and similar bulk payloads are stored there and referenced by index from fields such as `vectorData.vectorNetworkBlob` and `Path.commandsBlob` (fig_node reports these as `vector.networkBlob` / `vector.fillBlobs`). This server does not decode the vector-network format — you get the bytes, base64 or hex, truncated to maxBytes with a flag when longer.
- **fig_render** — Render a node — frame, component, instance, group, shape, text, or a whole page — to a PNG the model can look at, or to SVG. Fully offline: geometry, text outlines and images all come from the file. Rendering is best-effort: read `approximated` and `unsupported` in the report before trusting fine details; exact values remain available from fig_node / fig_style / fig_text. Default output is PNG at 2x, capped to 1568 px on the longest edge; use `savePath` to write a file instead of inlining it. A layer inside a component instance (an id like "I2:1329;0:2528" from fig_tree) is drawn as that instance shows it.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## What Figme does

Figme exposes a local Figma `.fig` file to an MCP-compatible agent. It reads the saved snapshot rather than connecting to Figma, so the workflow requires no Figma account, API token, or network access. The server is read-only: it does not modify the design file, although image and render tools can write requested output files.

The available data includes pages, layers, geometry, layout, fills, strokes, effects, typography, components, instances, variables, embedded images, prototype links, and other records stored in the file. Layout information is translated into CSS-like flexbox properties where possible, and colors are returned as hex values. Shared styles and variable bindings retain their names when they can be resolved within the file.

## How it works

Save a design from Figma as a local copy, then start Figme as a local stdio MCP process. Give the agent the full path to the `.fig` file. A Figma URL can provide context, but it does not identify the local file, so the path is still required.

A typical inspection starts with `fig_overview`, which reports the document name, export date, pages, node counts, and counts of components, variables, and images. Use `fig_tree` to browse a page or subtree, then inspect selected identifiers with `fig_node` or `fig_style`. `fig_find` searches names and text and returns matching guids with page and ancestor information.

Responses are shallow, filterable, and paged. `fig_tree` supports depth limits, cursors for large subtrees, and a denser outline format. The parser reads the schema stored in each `.fig` file, allowing fields added by later Figma versions to remain available through raw records or blobs.

## Setup and configuration

Figme requires Node.js 22.15 or newer. Start it with:

```bash
npx -y figme-mcp
```

For Claude Code, the command is:

```bash
claude mcp add figme -- npx -y figme-mcp
```

Cursor, VS Code, and Windsurf use their MCP configuration files with `npx` as the command and `-y`, `figme-mcp` as the arguments. VS Code uses a `servers` key and can also register the server with `code --add-mcp`. The Claude Code extensions for VS Code and JetBrains use Claude Code's configuration. Other clients can use the same stdio command if they support launching local MCP servers.

On Windows, clients that cannot locate `npx` can invoke it through `cmd /c`. For large files, `--max-files 1` limits the number of parsed files retained in memory.

## Tools and capabilities

- `fig_overview` summarizes the document and its contents.
- `fig_tree` lists layers beneath a node with depth, parent, child counts, and pagination.
- `fig_node` returns mapped node details or the decoded raw Figma record.
- `fig_find` searches node names and text, optionally by type or subtree.
- `fig_text` extracts copy, typography, and optionally styled text runs.
- `fig_style` returns colors, effects, typography, corner radii, and CSS-like layout data.
- `fig_components` lists components, properties, variants, and instance counts.
- `fig_instance` describes a component instance and its resolved overrides.
- `fig_variables` lists collections, modes, variable values, and local aliases.
- `fig_image` retrieves embedded bitmaps or the document thumbnail, with optional file output.
- `fig_blob` returns raw blob-table bytes, including undecoded vector data.
- `fig_render` produces a PNG or SVG for a node or page, with approximation details.

## Limitations and notes

A `.fig` file is a snapshot; changes in Figma require saving a new local copy. Rendering is best-effort rather than pixel-perfect. Reports identify approximated or unsupported effects, while `fig_node`, `fig_style`, and `fig_text` retain exact stored values for inspection.

Images in the file are embedded bitmaps and the document thumbnail, not rendered screenshots of frames. `fig_blob` returns vector-network and similar data without decoding its format. Assets published from other files appear as references without their external values. A 39 MB file can use about 900 MB of RAM after parsing, and the server can retain up to four parsed files by default.

_Full upstream README: https://allmcps.com/mcp/figme/readme_

