Figma Analyzer MCP Server

Analyzes Figma files and extracts node hierarchies and metadata for use with LLMs.

Local serverstdio 2

What is the Figma Analyzer MCP server?

Figma Analyzer MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Analyzes Figma files and extracts node hierarchies and metadata for use with LLMs.

What you get

An MCP (Model Context Protocol) server for analyzing Figma file structures.

  • Analyze Figma files to extract node hierarchies
  • Supports both REST API and MCP protocol
  • Configurable node tree depth

What the assistant can call

Once Figma Analyzer is connected, these are the calls the assistant has available:

  • Testing — The Testing tool exposed by this server

Setting it up

figma-mcp-server on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration and credentials

You will need 3 environment variables: FIGMA_API_KEY, FILE_ID, NODE_ID. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Node.js 16+ - npm or yarn - A Figma API key

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Figma Analyzer's toolset — Testing — is a fair guide to whether it matches your workflow. It is maintained by moonray; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the figma analyzer mcp server does with a few real requests.

Available tools

ToolWhat it does
TestingThe Testing tool exposed by this server.

How to install the Figma Analyzer MCP server

{
  "mcpServers": {
    "figma-analyzer": {
      "command": "npx",
      "args": ["-y", "figma-mcp-server"],
      "env": {
        "FIGMA_API_KEY": "your-value",
        "FILE_ID": "your-value",
        "NODE_ID": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 16+ - npm or yarn - A Figma API key
VariableDescriptionRequired
FIGMA_API_KEYCredential the server authenticates with.Yes
FILE_IDConfiguration value read at startup.Optional
NODE_IDConfiguration value read at startup.Optional

Example prompts to try

  • Use Figma Analyzer to Testing.

Frequently asked questions

You'll need Node.js 16+, npm (or yarn), and a Figma API key. Instructions for obtaining a Figma API key are available on the Figma Developers website.