# StyleKit

> StyleKit is an open-source MCP server for design and media. Search 151 UI styles and lint AI-written code against a style's rules. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API
- **Website:** https://www.stylekit.top
- **Repository:** https://github.com/anxforever/stylekit/tree/HEAD/packages/mcp
- **MCP Registry name:** io.github.AnxForever/stylekit-mcp
- **Categories:** design and media, developer tools
- **Listing updated:** 2026-11-14

## About

StyleKit's server turns a catalogue of visual styles into something a coding agent can query while it builds an interface. It exposes five read-only tools: search styles by keyword or category, list and fetch public templates and design assets (with source provenance and licence-permitted files), fetch a full style profile, and lint generated code.

The style profile returns the philosophy, palette, do and don't rules, quality signals and a shadcn install command. Optional sections add typed design tokens, a single component recipe as className and JSX, or the complete stylekit-brief-v1 contract. The lint tool is the distinctive part: it resolves variant prefixes such as dark: and md:, understands class attributes, cn() and clsx() calls and template literals, and returns a reason and a fix per violation.

It runs locally over stdio with the official MCP SDK, MIT-licensed, and needs the network only for live catalogue data and assets. A hosted streamable HTTP endpoint is also published.

## Features

- **Style search:** Find styles like Neo-Brutalist, Bento Grid or Soft UI by keyword or category.
- **Design tokens:** Typed border, shadow, typography, spacing and colour tokens per style.
- **Component recipes:** className and JSX for a chosen component.
- **Code linting:** Checks generated UI code against a style with a fix per violation.
- **Asset browsing:** Lists public templates and assets with pagination and provenance.
- **Brief contract:** Full stylekit-brief-v1 bundle with merged lint rules.

## Good for

- Make an agent follow one visual style across a project
- Verify AI-generated Tailwind code against style rules
- Pull design tokens into a Tailwind or shadcn setup
- Browse templates while prototyping

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http stylekit-mcp https://www.stylekit.top/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://www.stylekit.top/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "stylekit-mcp": {
      "url": "https://www.stylekit.top/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "stylekit-mcp": {
      "type": "http",
      "url": "https://www.stylekit.top/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "stylekit-mcp": {
      "serverUrl": "https://www.stylekit.top/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "stylekit-mcp": {
      "type": "http",
      "url": "https://www.stylekit.top/mcp"
    }
  }
}
```

## Tools

- `stylekit_search_styles`: Search StyleKit design styles by keyword and/or category, with pagination. Exact slug or name matches are ranked first. Args: - query (string, optional): matches slug, name, description, tags, keywords (case-insensitive). - category ('modern'|'retro'|'minimal'|'expressive', optional): restrict to one category. - limit (number 1-50, default 15): page size. - offset (number >=0, default 0): results 
- `stylekit_list_assets`: Browse StyleKit's public asset catalogue by namespace and query. Use the returned kind/id pair with stylekit_get_asset. Args: - kind (optional): one public namespace such as animation, component-pattern, template, or experience-pack. - query (optional): search public names, descriptions and tags. - offset (number >=0, default 0): results to skip. - limit (number 1-100, default 20): page size. Retu
- `stylekit_get_asset`: Retrieve one public asset by its exact kind and id. Source is returned only where the asset's contentLevel and license permit it. Remote templates include their actual file set only when the live source is available; if it is down, the tool returns a structured unavailable error with safe metadata and does not treat a download URL as source code. External and restricted assets expose metadata, lic
- `stylekit_get_style`: Get one style's profile and, optionally, its design tokens, one component recipe, and the full implementation brief. Everything ships through this single tool so the server stays small: pass include: ["tokens"], ["recipe"], ["brief"] or a combination. Style data is read from the live catalogue with a five-minute cache; when live data is unavailable, a bundled snapshot may be returned and marked wi
- `stylekit_lint_code`: Check whether code actually follows a style's rules. Use this AFTER generating or editing UI code to verify it matches the style, instead of assuming it does. Reports forbidden classes with the reason they are banned and a concrete replacement. Understands JSX/HTML class attributes, cn()/clsx() calls, and template literals; variant prefixes (dark:, md:, hover:) are resolved before matching. Args: 

## FAQ

### Are the tools read-only?

Yes, the README states all five tools are read-only.

### How do I configure it?

Add an npx command running stylekit-mcp to your client config; Claude, Cursor and Windsurf are named.

### Is there a hosted option?

Yes, a streamable HTTP endpoint at https://www.stylekit.top/mcp.

### What licence is it under?

MIT.

### Is StyleKit free?

Yes. StyleKit is open source, so you can use and self-host it for free.

### How do I add StyleKit to Claude Code?

Run this command in your terminal: claude mcp add --transport http stylekit-mcp https://www.stylekit.top/mcp

### What are the best alternatives to StyleKit?

The closest alternatives to StyleKit are REA, HyperFrames by HeyGen, Codebase Memory, GitHub and Serena MCP: the IDE for your agent.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [ffmpeg-skill](https://ai-powered.com/mcp/ffmpeg-skill): ffmpeg-skill is an open-source MCP server for design and media.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/stylekit
