WCAG Color Contrast MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WCAG Color Contrast MCP Servercheck if #333333 on #f0f0f0 meets WCAG AA for normal text"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WCAG MCP Server
A Model Context Protocol (MCP) server for WCAG color contrast checking and accessibility analysis. Built with Bun, TypeScript, and Culori.
Rationale
LLMs will attempt to give you WCAG contrast scores for color pairs, but they are often inaccurate because the LLM is not running the actual equations for determine contrast between colors. This MCP server provides that capability.

Related MCP server: Accessible Color Contrast MCP
Quick Start
# Install
bun install
# Build and run
bun run build
bun run startMCP Configuration
Add to your MCP client configuration:
{
"mcpServers": {
"wcag": {
"command": "bun",
"args": ["run", "start"],
"cwd": "/path/to/wcag"
}
}
}Tools
analyze_contrast
Calculate WCAG contrast ratio between two colors.
{
"foreground": "red",
"background": "white"
}Returns ratio, compliance levels, and color details.
get_color_luminance
Get color luminance value and format conversions.
{
"color": "#3366cc"
}Returns luminance and formatted color values.
check_wcag_compliance
Check specific WCAG compliance.
{
"foreground": "#666666",
"background": "#ffffff",
"level": "AA",
"textSize": "normal"
}batch_contrast
Analyze multiple color pairs.
{
"colorPairs": [
{"foreground": "red", "background": "white", "label": "Error text"},
{"foreground": "blue", "background": "gray", "label": "Link"}
]
}Color Formats
Supports any format Culori can parse:
Hex:
#ff0000,#f00CSS:
rgb(255,0,0),hsl(0,100%,50%)Named:
red,blue,whiteModern:
oklch(0.7 0.15 180)
WCAG Standards
Level | Normal Text | Large Text |
AA | 4.5:1 | 3:1 |
AAA | 7:1 | 4.5:1 |
Development
bun run dev # Development with hot reload
bun run build # Build for production
bun run test-server # Test the mcp serverLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides web accessibility analysis and color blindness simulation using axe-core and Puppeteer, enabling detailed accessibility checks and visual simulations based on WCAG guidelines.24MIT
- Alicense-qualityCmaintenanceEnables checking WCAG color contrast ratios and accessibility compliance between color pairs. Helps determine optimal text colors for backgrounds and validates color combinations meet accessibility standards.302MIT
- Alicense-qualityDmaintenanceProvides comprehensive color conversion, manipulation, analysis, and WCAG accessibility tools supporting multiple formats (hex, rgb, hsl, oklch, oklab) for design systems and web development.8572MIT
- FlicenseAqualityDmaintenanceEnables accessibility testing of websites and HTML content using axe-core and IBM Equal Access engines. Supports WCAG compliance checking, multi-viewport testing, and provides detailed violation reports with remediation guidance.51
Related MCP Connectors
Deterministic axe-core accessibility scans (WCAG 2.1 AA, EN 301 549, PDF/UA) via your account.
Scan URLs for WCAG 2.1 violations, generate AI fixes, and produce VPAT 2.5 compliance reports.
On-demand drift checks: declared CSS color, radius, spacing & type vs your own tokens or a pack
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bryanberger/mcp-wcag-color-contrast'
If you have feedback or need assistance with the MCP directory API, please join our Discord server