Connects your Git-based design system to AI coding tools using the W3C DTCG token format. Serves primitives, semantic tokens (light and dark themes), component definitions, and accessibility data through a hosted MCP endpoint at basalt.run. AI can query actual token values and resolve the full reference chain from component tokens down to raw hex values instead of guessing at your brand colors or spacing scale. Requires an API key for the remote server. Useful when you're building UI with an established design system and want Claude or Cursor to reference real token names and values rather than making up CSS variables or hardcoding colors.
Design tokens in Git. Readable by AI. Beautiful to edit.
This repo is managed by Basalt — a design system platform that stores tokens, components, and documentation in Git and serves them to AI coding tools via MCP.
tokens/
├── primitives.json # Raw values (colors, spacing, radii)
├── semantic.light.json # Light theme semantic tokens
└── semantic.dark.json # Dark theme semantic tokens
All tokens use the DTCG 2025.10 format (W3C standard).
Basalt serves this design system to Cursor, Claude Code, Claude Design, and Windsurf via an MCP server. AI tools query your real token values instead of guessing.
See MCP.md for setup instructions and available tools.
Quick config (Cursor / Claude Code / Windsurf):
{
"mcpServers": {
"basalt": {
"url": "https://basalt.run/api/mcp",
"headers": {
"Authorization": "Bearer bsk_your_key_here"
}
}
}
}
Get a free API key at basalt.run.
Three tiers, each referencing the layer above:
Primitive → raw values (color.orange.500 = #F97316)
Semantic → intent + theming (color.action.default → color.orange.500)
Component → scoped to UI elements (button.background.default → color.action.default)
AI tools resolve the full chain automatically via MCP.
basaltMIT — see LICENSE.
miapre/html-to-figma-design-system
ie3jp/illustrator-mcp-server
coding-solo/godot-mcp
ivanmurzak/unity-mcp
yctimlin/mcp_excalidraw
figma/mcp-server-guide