Skip to content
MCP server

Driftcheck

Compares a running mobile app screen with its Figma frame and suggests code fixes

Runs locallyStatus and history
Pricing
Free
Platforms
Android, iOS, macOS
Runs
Locally
Version
0.1.1
Listing updated
2 days ago

About Driftcheck

Driftcheck is a free MCP server for design and media. It runs locally on your machine and is started by your AI client.

Driftcheck runs locally and closes the loop between a design and a running app. It captures the screen of an Android device or emulator through adb, or an iOS Simulator through simctl with an XCUITest helper that reads the accessibility tree, then lines it up with a Figma frame. The agent gets back a fidelity score, a table of differences covering position, size, text, font, colours, corner radius and borders, plus missing icons or images, and an HTML report with a slider, diff and side-by-side view.

Fix suggestions are phrased in the target framework's own properties, for .NET MAUI, Android views, Jetpack Compose, UIKit, SwiftUI or Flutter. Layers are matched to app elements by AutomationId, visible text or position, and text is compared by visible glyphs rather than boxes. Frames are cached locally because Figma rate limits can be harsh, and a Figma plugin can export a frame without any API token.

Current limits: iOS works on the simulator only, only the visible area is compared, and font size in the app is not measured. It needs the .NET 10 SDK and is installed from NuGet at version 0.1.1.

Install

Run in a terminal

claude mcp add driftcheck --env FIGMA_TOKEN='<FIGMA_TOKEN>' -- dnx Driftcheck --yes

Add to claude_desktop_config.json

{
  "mcpServers": {
    "driftcheck": {
      "command": "dnx",
      "args": [
        "Driftcheck",
        "--yes"
      ],
      "env": {
        "FIGMA_TOKEN": "<FIGMA_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "driftcheck": {
      "command": "dnx",
      "args": [
        "Driftcheck",
        "--yes"
      ],
      "env": {
        "FIGMA_TOKEN": "<FIGMA_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "driftcheck": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "Driftcheck",
        "--yes"
      ],
      "env": {
        "FIGMA_TOKEN": "<FIGMA_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "driftcheck": {
      "command": "dnx",
      "args": [
        "Driftcheck",
        "--yes"
      ],
      "env": {
        "FIGMA_TOKEN": "<FIGMA_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "driftcheck": {
      "command": "dnx",
      "args": [
        "Driftcheck",
        "--yes"
      ],
      "env": {
        "FIGMA_TOKEN": "<FIGMA_TOKEN>"
      }
    }
  }
}

Configuration

  • FIGMA_TOKENFigma Personal Access Token (scope File content: Read-only). Optional if you export frames with the Driftcheck Figma plugin.
  • DRIFTCHECK_OUTPUTFolder for captures, reports and the Figma cache. Default: driftcheck in the temp folder.
  • DRIFTCHECK_EXPORTSFolder where Figma plugin exports are looked up. Default: Downloads.

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

list_devices
Lists connected Android devices and booted iOS simulators.
get_design_specs
Returns sizes, colours, texts and fonts of a Figma frame.
capture_screen
Captures the screen plus app elements with their AutomationId.
compare_screen
Compares design and app and returns fidelity, differences, fixes and report.html.
import_design
Imports a .driftcheck.json exported by the Figma plugin.

What it does

Fidelity score
Reports how many elements match the Figma frame and tracks progress between fixes.
Framework-specific fixes
Writes suggestions for MAUI, Android views, Compose, UIKit, SwiftUI and Flutter.
Interactive report
Produces an HTML report with slider, opacity, diff and side-by-side views.
Android and iOS capture
Reads the screen via adb or the iOS Simulator.
Figma plugin fallback
Exports frames without an API token or quota.
Local frame cache
Reuses downloaded frames so repeated comparisons avoid Figma rate limits.

Good for

  • Find where a built screen drifts from its design
  • Read exact sizes, colours and fonts from a frame before coding the UI
  • Track UI polish progress with a fidelity score
  • Share a visual diff report with designers
  • Compare against a design when the Figma API quota is exhausted

Pricing

Free

Free NuGet package; licence not published

Driftcheck FAQ

Does it run on physical iPhones?

No. iOS support is for the simulator only.

Do I need a Figma token?

It is optional. A Figma Personal Access Token with File content read-only scope works, or use the Driftcheck Figma plugin export instead.

What do I need installed?

The .NET 10 SDK, plus adb for Android or Xcode for the iOS Simulator.

Does it compare scrolled content?

No. Only the visible area is compared.

Is Driftcheck free?

Yes. Driftcheck is free to use.

How do I add Driftcheck to Claude Code?

Run this command in your terminal: claude mcp add driftcheck --env FIGMA_TOKEN='<FIGMA_TOKEN>' -- dnx Driftcheck --yes

What are the best alternatives to Driftcheck?

The closest alternatives to Driftcheck are REA, HyperFrames by HeyGen, Codebase Memory, GitHub and Serena MCP: the IDE for your agent.

Alternatives to Driftcheck

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Hosted MCP connector for creating and rendering videos from HTML through AI chat

    • Remote
    • Freemium
    • 85.3K GitHub stars
    • Design and media
  3. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  4. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  5. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  6. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory