# Color Contrast MCP

> Color Contrast MCP is an open-source MCP server. WCAG contrast ratios, AA/AAA checks and accessible colour suggestions for hex pairs - fully local. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mrfentmen/awesome-servers
- **MCP Registry name:** io.github.mrfentmen/color-contrast-mcp
- **Listing updated:** 2026-11-13

## About

WCAG contrast ratios, AA/AAA checks and accessible colour suggestions for hex pairs - fully local.

## Install

### Claude Code (Terminal)

```sh
claude mcp add color-contrast-mcp -- npx -y @mrfentmen/color-contrast-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "color-contrast-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/color-contrast-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "color-contrast-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/color-contrast-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "color-contrast-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/color-contrast-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "color-contrast-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/color-contrast-mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "color-contrast-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/color-contrast-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Color Contrast MCP free?

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

### How do I add Color Contrast MCP to Claude Code?

Run this command in your terminal: claude mcp add color-contrast-mcp -- npx -y @mrfentmen/color-contrast-mcp

---
Source: https://ai-powered.com/mcp/color-contrast-mcp
