# nudg

> nudg is an open-source MCP server for design and media. Describe UI motion in a JSON file your AI can edit and a validator can check. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Web, iOS, Android
- **Website:** https://seukwoo.github.io/nudg/demo/
- **Repository:** https://github.com/seukwoo/nudg
- **MCP Registry name:** io.github.seukwoo/nudg
- **Categories:** design and media, developer tools
- **Listing updated:** 2026-11-14

## About

nudg stores an interaction (its states, the events moving between them and the springs or gestures in between) in a small .nudg.json file beside a component. An AI coding tool edits the file, nudg validates the edit, and a small runtime plays it. The README compares the file to sheet music, runtimes to performance rules, the AI to an arranger and the developer to a director.

TypeScript, Swift and Kotlin runtimes play the same compiled program the same way, checked by a shared conformance suite, so one motion file serves web, iOS and Android. The nudg_compare tool plays two versions under the same tap and says whether a person would notice the change before showing before-and-after frames side by side. A live demo has 49 examples and a playground whose validator hints at misspelled keys.

## Features

- **Plain JSON motion:** States, events and transitions in one file.
- **Validation:** Checks AI edits and hints at misspelled keys.
- **Cross-platform runtimes:** TypeScript, Swift and Kotlin.
- **Before/after comparison:** Reports whether a change is noticeable.
- **Live playground:** 49 examples to edit and run.

## Good for

- Ask an AI to make a bounce springier
- Compare two motion variants
- Share one interaction spec across platforms
- Check a gesture definition before shipping

## Install

### Claude Code (Terminal)

```sh
claude mcp add nudg -- npx -y @nudg/core
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "nudg": {
      "command": "npx",
      "args": [
        "-y",
        "@nudg/core"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "nudg": {
      "command": "npx",
      "args": [
        "-y",
        "@nudg/core"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "nudg": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@nudg/core"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "nudg": {
      "command": "npx",
      "args": [
        "-y",
        "@nudg/core"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "nudg": {
      "command": "npx",
      "args": [
        "-y",
        "@nudg/core"
      ]
    }
  }
}
```

## Tools

- `nudg_compare`: Plays two versions of an interaction and reports how noticeable the difference is.

## FAQ

### Which platforms are supported?

Web, iOS and Android through TypeScript, Swift and Kotlin runtimes.

### How is the package installed?

Via npm as @nudg/core.

### Can I try it first?

Yes, the demo and playground.

### What does the compare tool do?

Plays both versions and describes how noticeable the difference is.

### Is nudg free?

Yes. nudg is open source, so you can use and self-host it for free.

### How do I add nudg to Claude Code?

Run this command in your terminal: claude mcp add nudg -- npx -y @nudg/core

### What are the best alternatives to nudg?

The closest alternatives to nudg 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/nudg
