AI-by-design/primitiv
FreeNot checkedDesign contract layer for your codebase. Scans Figma, code, Storybook, and token files, reconciles conflicts, and serves a single machine-readable source of tru
About
Design contract layer for your codebase. Scans Figma, code, Storybook, and token files, reconciles conflicts, and serves a single machine-readable source of truth over MCP so every agent gets the same authoritative design rules before it builds. Local-first — your code never leaves your machine.
README
The design system contract keeping teams and agents in sync.
Retrieval gives you data. Reconciliation gives you truth.
The problem
Design-system knowledge is spread across code, Figma, Storybook, and documentation. When those sources drift, people reconcile the differences through experience; AI coding agents often fall back to generic patterns that work but do not belong in the product.
Primitiv gives every agent the same current design context through a machine-readable contract and a read-only MCP interface. It helps agents reuse what exists, follow established decisions, and surface inconsistencies before they ship.
Primitiv runs locally. Your code never leaves your machine.
Quick start
Run these commands from your project root:
npx @ai-by-design/primitiv init
npx @ai-by-design/primitiv build
npx @ai-by-design/primitiv serve
init sets up Primitiv for the current project, build creates its design contract, and serve makes that contract available to MCP-compatible agents.
See the Primitiv documentation for installation, configuration, commands, and integration guides.
[!IMPORTANT] Keep Primitiv configured at project level. A global MCP configuration can serve the wrong project's contract when you switch repositories.
Capabilities
- Bring design context from your codebase, Figma, and Storybook together
- Make existing tokens, components, rules, and rationale available to agents
- Surface conflicts, drift, and hardcoded token misuse
- Provide read-only access from MCP-compatible agents and editors
- Verify that the contract stays current in CI
Project links
Installing AI-by-design/primitiv
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/AI-by-design/primitivFAQ
Is AI-by-design/primitiv MCP free?
Yes, AI-by-design/primitiv MCP is free — one-click install via Unyly at no cost.
Does AI-by-design/primitiv need an API key?
No, AI-by-design/primitiv runs without API keys or environment variables.
Is AI-by-design/primitiv hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install AI-by-design/primitiv in Claude Desktop, Claude Code or Cursor?
Open AI-by-design/primitiv on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare AI-by-design/primitiv with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
