# Driftcheck

> Driftcheck is a free MCP server for design and media. Compares a running mobile app screen with its Figma frame and suggests code fixes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Android, iOS, macOS, Windows, Linux, CLI
- **Repository:** https://github.com/wilsonvargas/driftcheck
- **MCP Registry name:** io.github.wilsonvargas/driftcheck
- **Categories:** design and media, developer tools
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [ffmpeg-skill](https://ai-powered.com/mcp/ffmpeg-skill): ffmpeg-skill is an open-source MCP server for design and media.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/driftcheck
