# Buoy

> Buoy is a freemium MCP server for developer tools. Check AI-written UI code against your design tokens and get exact line fixes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI
- **Repository:** https://github.com/ahoybuoy/buoy
- **MCP Registry name:** io.github.ahoybuoy/buoy
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-11-23

## About

Coding agents tend to write #3b82f6 when a variable like --color-primary exists. Buoy's MCP server gives an agent four tools to avoid that: list the tokens, map a raw value to the matching token, check UI code line by line against the design system, and fetch design system context. In Claude Code, a PostToolUse hook checks each style file the agent edits and returns fixes before it continues.

The wider CLI adds drift detection (hardcoded colors, arbitrary spacing, Tailwind escape hatches, naming inconsistencies), a system map of unmanaged UI surface, and a Rescue workflow that plans, applies reviewed fixes on a new branch, verifies and can roll back. Rescue does not commit, push or upload source.

A free GitHub App can review pull requests with no Buoy account.

## Features

- **Token lookup:** Maps a raw value like a hex color to a design token.
- **Line-level checks:** Returns the token and an exact edit for each issue.
- **Claude Code hook:** Checks style files after every edit.
- **Drift detection:** Flags hardcoded values, arbitrary spacing and sprawl.
- **Rescue workflow:** Plans, applies and verifies fixes with rollback.

## Good for

- Stop agents hardcoding colors
- Audit a codebase for design drift
- Measure where a component change would land
- Check pull requests for design violations

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add buoy -- npx -y @buoy-design/cli
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "buoy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add buoy -- npx -y @buoy-design/cli
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.buoy]
command = "npx"
args = ["-y", "@buoy-design/cli"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user buoy npx -- -y @buoy-design/cli

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "buoy": {
      "command": "npx",
      "args": [
        "-y",
        "@buoy-design/cli"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 4 tools read data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `list_design_tokens` (name suggests: reads): Lists the design tokens found.
- `find_token_for_value` (name suggests: reads): Maps a raw value to the matching token.
- `check_ui_against_design_system` (name suggests: reads): Line-level check with token and exact edit.
- `design_system_context`: Returns design system context for the agent.

## FAQ

### Is a config needed?

No, it auto-detects the framework; .buoy.yaml is optional.

### Which tools install Buoy?

Claude, Cursor, Codex and Windsurf through the mcp install command.

### Does Rescue upload code?

No.

### Is there a paid plan?

The CLI lists cloud billing and plans, but prices are not published.

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

Run this command in your terminal: claude mcp add buoy -- npx -y @buoy-design/cli

### What are the best alternatives to Buoy?

The closest alternatives to Buoy are REA, HyperFrames by HeyGen, Context7, Chrome DevTools MCP and Codebase Memory.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## 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.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [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): 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.

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