Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
제작자가 쓴 설명(영어 원문)
CI-friendly accessibility audit for chart color palettes: WCAG contrast, CVD simulation, OKLab ΔE.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"chart-color-audit": {
"command": "npx",
"args": [
"-y",
"chart-color-audit",
"mcp"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add chart-color-audit -- npx -y chart-color-audit mcp프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"chart-color-audit": {
"command": "npx",
"args": [
"-y",
"chart-color-audit",
"mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"chart-color-audit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"chart-color-audit",
"mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검
레지스트리 이름이 GitHub 계정 socraticstatic 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.2.5)은 34일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Figma Context MCP, Claude Real Video, Figma MCP Server
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
Let any LLM watch a video locally — and search everything it has ever watched.
The Figma MCP server brings Figma design context directly into your AI workflow.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
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.
| you are | you want | go to |
|---|---|---|
| a designer with a palette in hand | a verdict right now, nothing installed | 1 · Try a palette |
| a team with tokens in a repo | the build to fail when a color change breaks accessibility | 2 · Gate your CI |
| an engineer building tooling | the audit as a typed function | 3 · Call it from code |
| working with Claude or another agent | the audit as an MCP tool | 4 · Wire it into an agent |
npx chart-color-audit --colors "#4E79A7,#F28E2B,#E15759" --bg "#fff"
chart-color-audit · 3 colors on #ffffff · mode: perceptual
vision min ΔE closest pair reading · normal 14.6 2 ↔ 3 clearly distinct · deutan 11.9 2 ↔ 3 clearly distinct · protan 11.9 1 ↔ 3 clearly distinct · tritan 10.3 2 ↔ 3 clearly distinct · achromatopsia 5.2 1 ↔ 3 distinguishable
contrast vs background: worst 2.42:1 (slot 2, needs ≥ 3:1) ✗ slot 2 #f28e2b — 2.42:1
FAIL — 1 finding: · contrast: slot 2 (#f28e2b) is 2.42:1 vs. background (needs ≥ 3:1, WCAG 2.2 SC 1.4.11).
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.
ΔE is perceptual color distance (OKLab × 100). About 2 is the edge of what a human eye can tell apart.
| reading | min ΔE | meaning |
|---|---|---|
| clearly distinct | ≥ 10 | survives a projector and a hallway glance |
| distinguishable | ≥ 2 | a careful reader separates the series |
| patterns carry identity | < 2 | color alone is not enough; dash/shape must carry it |
| COLLISION | ≈ 0–1 | two series are the same color for these viewers |
closest pair names the two slots (1-based) that came nearest. Fix those two, re-run, repeat.
npx chart-color-audit --colors <list> --bg <color> [options]
npx chart-color-audit [--config chartaudit.config.json] npx chart-color-audit mcp
| flag | what it does |
|---|---|
--colors | comma-separated palette, any CSS color syntax: hex, hsl(), rgb(), oklch(), named, raw triples ("222 47% 6%") |
--bg | background the marks render on |
--mode | perceptual (default) · redundant-encodings · strict (see Floors) |
--config | config file, default ./chartaudit.config.json |
--json | full result as JSON: verdict, failures[], perVision[], contrast[], semantic[], text[] |
--version, --help | the usual |
Two files, no dependencies added.
Step 1. Put chartaudit.config.json in your repo root, pointed at the tokens you already have:
{
// Where your tokens live: a .css file (custom properties) or a // W3C design-tokens .json file. Optional; you can also write // literal colors directly in the fields below. "tokens": "src/index.css",
// CSS selector whose block holds the variables. Optional, default ":root". "selector": ":root",
// REQUIRED. Your data-series colors, in slot order. // Each entry is a literal ("#4E79A7"), a CSS variable name from the // tokens file ("--chart-cat-1"), or a dotted path into design-tokens // JSON ("chart.categorical.1"). "categorical": ["--chart-cat-1", "--chart-cat-2", "--chart-cat-3"],
// REQUIRED. The background your marks render on. "background": "--chart-bg",
// Optional. Status colors, checked at 3:1 vs the background AND for // collisions against the palette: the classic silent failure where a // "positive" green KPI reads as data series 3 for deutan viewers. // Verdict semantics: "low-contrast" and "collision" FAIL the audit; // "cvd-risk" (collides with a slot only under CVD simulation) is // REPORTED but does not fail — semantic roles usually carry redundant // cues (position, icon, label). Treat cvd-risk as a review prompt. "semantic": { "positive": "--chart-positive", "muted": "--chart-muted" },
// Optional. Tokens rendered as UI text (status labels, captions, table // numbers). Text needs 4.5:1 (SC 1.4.3), not the 3:1 mark floor. // Reusing mark tokens as text is the most common failure I have shipped: // one measured sweep found 111 instances of it in a single app. "text": { "positive": "--chart-positive-text" },
// Optional. Floors preset, and per-floor overrides on top of it. "mode": "perceptual", "floors": { "minContrast": 3, "minTextContrast": 4.5 } }
Step 2. Add the workflow:
# .github/workflows/chart-colors.yml
on: [push, pull_request] jobs: chart-colors: runs-on: ubuntu-latest steps:
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.
npx chart-color-audit --colors "#4E79A7,#F28E2B,#E15759,#76B7B2,#59A14F,#EDC948,#B07AA1,#FF9DA7,#9C755F,#BAB0AC" --bg "#fff"
That is Tableau 10, one of the most-shipped chart palettes on earth, on a white dashboard:
✗ deutan 0.7 3 ↔ 5 COLLISION
✗ protan 0.9 4 ↔ 10 COLLISION ✗ achromatopsia 1.6 2 ↔ 4 COLLISION ... FAIL — 8 findings
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.
npm i chart-color-audit
import { audit } from "chart-color-audit";
const result = audit({ colors: ["#4E79A7", "#F28E2B", "#E15759"], background: "#ffffff", // optional: semanticRoles, textRoles, mode, floors });
result.verdict; // "pass" | "fail" result.failures; // human-readable reasons, empty on pass result.perVision; // per simulation: minDeltaE, closestPair, band
Fully typed. Two data dependencies (culori for color math, the MCP SDK for the server). No DOM, no network.
Let an agent audit colors mid-conversation:
claude mcp add chart-color-audit -- npx chart-color-audit mcp
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.
| mode | fails when | for |
|---|---|---|
perceptual (default) | any pair lands below ΔE 2, the edge of human perception, under any simulation; or contrast < 3:1 | palettes where color alone carries identity |
redundant-encodings | outright collision only (ΔE < 1 normal / < 0.1 CVD) | design systems pairing every color with a dash/decal/shape channel |
strict | below ΔE 10 normal / ΔE 4 CVD | control rooms, projectors, hallway glances |
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.
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.
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](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.
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. micah@conscious-shell.com
MIT © Micah Boswell