io.github.basalt-run/basalt
Design tokens, components, icons, and a11y data via MCP. For Cursor, Claude, and Windsurf.
Ask AI about io.github.basalt-run/basalt
Powered by Claude Β· Grounded in docs
I know everything about io.github.basalt-run/basalt. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Basalt Design System
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.
What's in this repo
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).
Using these tokens with AI tools
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.
Token architecture
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.
Links
- basalt.run β visual editor, component registry, MCP server
- MCP.md β MCP server docs and setup
- MCP Registry β search for
basalt
License
MIT β see LICENSE.
