
Chart Color Audit
io.github.socraticstaticPublished by GitHub account socraticstaticv0.2.5Updated Nov 1, 2026
CI-friendly accessibility audit for chart color palettes: WCAG contrast, CVD simulation, OKLab ΔE.
The publisher's own server: audit.domains - Domain Valuation
Overview
Audits chart color palettes for colorblind safety and WCAG contrast, letting an assistant measure series separation instead of guessing.
- What you can do
- Audit a pasted palette: simulate deuteranopia, protanopia, tritanopia and achromatopsia, measure pairwise OKLab separation and contrast against a background
- Audit tokens from a config file: read series, semantic and text colors from CSS custom properties or design-tokens JSON and report named findings
- Return per-vision minimum distance, closest pair, band and a pass or fail verdict with human-readable failure reasons
- When to use it
- Useful when choosing or reviewing dashboard and chart palettes and you want a measured answer to whether data series stay distinguishable for colorblind viewers and meet contrast floors, rather than an opinion.
- Requirements
- Runs locally over stdio via npx from the npm package chart-color-audit; no authentication, environment variables or headers are declared. The token audit reads a config file such as chartaudit.config.json pointing at CSS or design-tokens files. No network access is needed for the audit itself.
Installation
In SourceWeft
- Open Chart Color Audit in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
chart-color-audit
Accessibility audit for chart color palettes. Answers one question with math: can everyone still tell your data series apart?
Plenty of tools check text contrast. This one checks the thing dashboards actually break: whether your palette survives colorblindness. It simulates deuteranopia, protanopia, and tritanopia with the published Machado, Oliveira & Fernandes 2009 matrices, measures pairwise separation in OKLab, checks WCAG 2.2 contrast against your background, and fails your build when a change quietly breaks any of it.
Four ways in. Pick yours.
1 · Try a palette (nothing to install)
Those three colors separate cleanly under every colorblind simulation. The orange still fails: 2.42:1 against white, below the 3:1 floor for chart marks. Pale bars on white is one of the oldest dashboard sins, and this is it, caught in numbers.
Exit codes: 0 pass, 1 fail, 2 bad input. That is the whole CI
contract.
Reading the output
ΔE is perceptual color distance (OKLab × 100). About 2 is the edge of what a human eye can tell apart.
closest pair names the two slots (1-based) that came nearest. Fix those
two, re-run, repeat.
CLI
2 · Gate your CI
Two files, no dependencies added.
Step 1. Put chartaudit.config.json in your repo root, pointed at the
tokens you already have:
Step 2. Add the workflow:
Done. A token edit that breaks a floor now exits 1 with named findings, in the PR, before anyone screenshots anything.
Prefer a pinned dependency? npm i -D chart-color-audit and call it from a
package script. Same behavior.
The famous-palette test
That is Tableau 10, one of the most-shipped chart palettes on earth, on a white dashboard:
Its red and green sit ΔE 0.7 apart under deuteranopia simulation. Roughly 1 in 12 men has red-green color vision deficiency; for most of them, series 3 and series 5 on that chart are the same color. Nothing in code review catches this. Math does.
3 · Call it from code
Fully typed. Two data dependencies (culori for color math, the MCP SDK for the server). No DOM, no network.
4 · Wire it into an agent (MCP)
Let an agent audit colors mid-conversation:
Two read-only tools: audit_palette (paste colors) and audit_tokens
(point at a config). Ask "is this palette colorblind-safe on white?" and the
answer comes back with measurements instead of vibes.
Listed in the official MCP Registry
as io.github.socraticstatic/chart-color-audit and on
Glama.
Floors
Text tokens are checked at 4.5:1 in every mode. Changing default floors is a major version, always: a CI gate that tightens defaults in a patch release breaks builds and trust.
Honest scope
Tokens in, findings out. This audits declared palette colors. It does not render charts, screenshot pixels, or crawl pages. Contrast checkers for text exist in plenty; what this adds is the part I could not find anywhere else: CVD-simulated series separation, as a build gate and an MCP tool.
Where this came from
The engine was extracted from a chart color system whose own history proves the point: an "accuracy fix" commit once replaced the correct deuteranopia matrix with confident, plausible, fabricated values, and review passed it. Only a pinned regression test would have caught it, so this package pins the matrices against the published paper in its test suite, permanently.
The full story: docs/POSTMORTEM.md: nine weeks of a wrong matrix, the AI-co-authored commit that forged it, and why the math now checks the math.
Consulting
I audit dashboards and design systems for exactly these failures. 30 years of UX practice, and the math above to prove findings instead of arguing them. [email protected]
MIT © Micah Boswell
Source: README.md at commit 5624266
Tools
0Version history
2- v0.2.5LatestOct 4, 2026
- v0.2.4Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Audit integrations
audit.domains - Domain Valuation
domains.auditOfficial publisher
Deterministic domain-name valuation: fair-value intervals, comparable recorded sales, availability checks, and a verified for-sale listing market.
Revenue Agent — OpenAPI Audit & Change Detection
news.prhOfficial publisher
A remote MCP endpoint that audits OpenAPI specifications and detects API changes, charging $0.10 USDC per analysis via x402 on Base.

SEO Audit & Broken Link Checker
Published by GitHub account prometheus-maker
An Apify-hosted MCP server that audits a website's pages for SEO metadata and finds broken links and images, returning per-page scores.

FinePrint AI Legal Risk & Contract Audit MCP Server
Published by GitHub account RitualDev-Lab
Local in-memory scanner that grades legal contracts, NDAs and leases for risk and drafts redline amendments for coding agents.

Mcp Supply Audit
Published by GitHub account kimmawla
Audits MCP servers as supply-chain artifacts — registry entries, PyPI/npm packages, client configs and tool definitions — using read-only static checks.