Figlens logo

Figlens

Read local Figma .fig files through MCP, including layout, text, variables, assets, icons, images, and frame renders.

Install Figlens

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "figlens": {
      "command": "npx",
      "args": [
        "-y",
        "@runkids/figlens"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @runkids/figlens

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

figlens MCP server parses local Figma .fig files and exposes their design context to coding agents without requiring the Figma app, a login, or Figma API access. Agents can search designs, retrieve layout and content details, access variables and assets, and obtain reference renders for frames. The server runs through a Node.js package or standalone binary and communicates over MCP stdio. Reach for it when design files need to be available locally in projects, remote hosts, or CI workflows.

Use cases

  • Inspect a local Figma file while implementing a screen
  • Search design text and layout values from a coding agent
  • Retrieve frame renders for visual implementation reference
  • Prepare a reusable local index for repeated design queries
  • Run design-aware agent workflows in CI or on remote hosts

Key features

  • Local parsing of Figma .fig files
  • Layout, text, styles, variables, and asset access
  • Reference renders for frames
  • Optional reusable local indexes
  • MCP workflow guidance
  • Configurable read and storage roots

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

9/9 checks healthy over the last 33d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @runkids/figlens (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars29Stargazers on the source repository.
npm downloads6.6kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Figlens works

What figlens does

figlens reads a locally saved Figma .fig file and makes its design data available to an AI coding agent. The exposed context includes layout values, text, styles, variables, icons, images, and other assets, along with a reference render for a frame. It operates on files saved from Figma using File > Save local copy, so the desktop Figma application does not need to be running.

The server is intended for implementation work where an agent needs design information alongside source code. It can be used in a project directory, on a remote host, or in CI without Figma login credentials or Figma API quota.

How it works

Place a .fig file such as design.fig beside the project code. figlens parses the file locally and serves the resulting design context through MCP. Ordinary searches read the file directly and do not create an index.

An optional local index can be prepared for a design and reused across restarts and hosts. Index preparation can be scoped to a selected range, and a custom storage location can be selected when needed. Semantic and hybrid search modes are optional and use a local model that the operator configures separately.

The workflow tool provides guidance for planning, implementation, and image preparation. This guidance is available through MCP and is also packaged with several host integrations.

Setup and configuration

The MCP server can run with Node.js 18+ through the @runkids/figlens npm package, or through the standalone figlens binary. A generic MCP configuration starts the package with the mcp command. Claude Code and Codex CLI have dedicated setup commands, while other MCP clients can use the same stdio configuration.

The optional --root DIR argument limits design reads and exports to specified directories and their descendants. Multiple roots can be supplied. --storage-root DIR limits where explicitly requested custom indexes may be stored; it does not itself choose the storage location. These paths must be absolute paths to existing directories.

The Pi package includes the CLI, MCP server, viewer, commands, and skill. OpenCode V2 and OMP provide package-based plugin installation. Plugin setup is also available for Claude Code, Codex, Cursor, Antigravity, and Kimi Code.

Tools and capabilities

  • Search a local .fig file for design information.
  • Expose layout, text, styles, variables, icons, images, and other assets.
  • Provide a reference render for a selected frame.
  • Prepare and reuse an optional local design index.
  • Supply workflow guidance for design-to-code tasks.
  • Restrict MCP reads, exports, and custom index storage with root arguments.

Limitations and notes

figlens requires a locally saved .fig file; it is not described as a connection to a live Figma document. The optional semantic and hybrid modes require a local model configured by the user. Root arguments restrict figlens MCP operations only and do not restrict the agent's other tools.

Multiple storage roots authorize several possible locations but do not distribute, synchronize, or back up indexes. An existing workspace database cannot be relocated simply by naming another root. Plugin installations pin the server package to the plugin release, so updating the plugin is the way to move to a newer release.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Figlens

figlens is an MCP server that connects coding agents to local Figma .fig files. Its main tools support searching design files, preparing optional local indexes, serving workflow guidance, and exposing layout, text, variables, assets, and frame reference renders without a Figma app, login, or API quota.

Install it with the figlens npm package or standalone binary, then start the MCP command over stdio. Generic clients can use `npx -y @runkids/figlens@latest mcp`; Claude Code and Codex CLI also provide dedicated MCP setup commands.

Yes, figlens works with Cursor through its plugin setup or a standard MCP configuration. The plugin can be installed into Cursor from the repository, while the MCP server can be registered with the package command and started in a new session.

No, figlens does not need a Figma login, running Figma app, or Figma API quota. Save a local copy of the design as a `.fig` file and place it where the server can read it.

Yes, use one or more `--root` arguments to limit design reads and exports to specified directories and their subfolders. Use `--storage-root` to authorize locations for explicitly requested custom index storage.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFiglens AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/figlens?style=directory)](https://allmcps.com/mcp/figlens)
HTML Embed
<a href="https://allmcps.com/mcp/figlens"><img src="https://allmcps.com/api/badge/figlens?style=directory" alt="Figlens on AllMCPs" /></a>