# io.github.ogSINGH/contrast-checker-mcp (npm · contrast-checker-mcp)

MCP - WCAG 2.1 color contrast checker - contrast ratios, compliance and accessible color suggestions

- Trust score: 70/100 (medium)
- Change this week: +24
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-04

## Components

- npm · `contrast-checker-mcp`: 70/100 (this document), [markdown](https://verifymcp.io/servers/ogsingh-contrast-checker-mcp/contrast-checker-mcp.md), [page](https://verifymcp.io/servers/ogsingh-contrast-checker-mcp/contrast-checker-mcp)

## Channel facts

- Registry: `npm`
- Package: `contrast-checker-mcp`
- Version: `1.0.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-04.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 160 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 80/100
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 281 tokens (~93/item across 3 items; 3 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add ogsingh-contrast-checker-mcp -- npx -y contrast-checker-mcp
```

### Codex

```bash
codex mcp add ogsingh-contrast-checker-mcp -- npx -y contrast-checker-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "ogsingh-contrast-checker-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "contrast-checker-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add ogsingh-contrast-checker-mcp --command npx --arg -y --arg contrast-checker-mcp
```

### Hermes

```yaml
mcp_servers:
  ogsingh-contrast-checker-mcp:
    command: "npx"
    args: ["-y", "contrast-checker-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "ogsingh-contrast-checker-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "contrast-checker-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-04 (score 70, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-08-02 (score 66, +30)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional regression] Security disclosure: fail → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional] Licence: Apache-2.0

### 2026-08-01 (score 36, +15)

- [functional regression] Dependency health: partial → unverified
- [functional improvement] Tool coverage: unverified → 100

### 2026-07-31 (score 21, −7)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (3)

### `check_contrast` (~108 tokens)

Check the contrast ratio between two colors and evaluate WCAG 2.1 compliance. Accepts hex (#fff, #ffffff), rgb(r,g,b), hsl(h,s%,l%), and CSS named colors.

Input parameters:

- `background` (string, required): Background color (e.g. '#fff', 'rgb(255,255,255)', 'white')
- `foreground` (string, required): Foreground color (e.g. '#333', 'rgb(0,0,0)', 'navy')

### `suggest_accessible_color` (~91 tokens)

Suggest a replacement color that meets a WCAG contrast target. Adjusts lightness while preserving hue and saturation to stay as close to the original as possible.

Input parameters:

- `background` (string, required): Background color
- `fix` (string): Which color to adjust (default: foreground)
- `foreground` (string, required): Foreground color
- `target_level` (string): WCAG target level (default: AA)

### `parse_color` (~82 tokens)

Parse a color string and return it in hex, rgb, and hsl formats. Accepts hex (#fff, #ffffff), rgb(r,g,b), hsl(h,s%,l%), and CSS named colors.

Input parameters:

- `color` (string, required): Color to parse (e.g. '#ff6600', 'rgb(255,102,0)', 'tomato')

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/ogsingh-contrast-checker-mcp/contrast-checker-mcp#diagnostics

## Score history

- 2026-08-04: 70
- 2026-08-03: 66
- 2026-08-02: 66
- 2026-08-01: 36
- 2026-07-31: 21
- 2026-07-30: 28
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/contrast-checker-mcp
- Socket report: https://socket.dev/npm/package/contrast-checker-mcp
- Repository: https://github.com/ogSINGH/contrast-checker-mcp
- Changelog RSS feed: https://verifymcp.io/servers/ogsingh-contrast-checker-mcp/contrast-checker-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/ogsingh-contrast-checker-mcp/contrast-checker-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/ogsingh-contrast-checker-mcp/contrast-checker-mcp
