Skip to main content
Glama

pocket-design-mcp

English · Português

A free MCP server that gives your coding agent (Claude Code, Claude Desktop, Cursor...) a designer's toolbox: icons from 280 sets, fonts, images, components, design tokens, easings, contrast checks, SVG tools and background patterns. You ask ("put a Lucide house icon in the header", "make tokens from #4f46e5", "give this card a softer shadow") and the agent finds it and drops it into your code.

No API keys needed.

Inspired by Rei do Photoshop.

Install

Claude Code:

claude mcp add pocket-design --scope user -- npx -y pocket-design-mcp

Claude Desktop (claude_desktop_config.json) or Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "pocket-design": { "command": "npx", "args": ["-y", "pocket-design-mcp"] }
  }
}

Optional: add "env": { "PIXABAY_API_KEY": "your_key" } to search Pixabay too (free key at https://pixabay.com/api/docs/).

Related MCP server: animotion-mcp

Tools

Tool

What it does

Source

search_icons / get_icon

Any of Iconify's ~280 sets: Lucide, Phosphor, Tabler, Material Symbols, Heroicons, Solar... plus brand logos, emoji and flags

Iconify

list_icon_sets

Lists the sets with icon count, license and samples

Iconify

svg_to_react

Turns an SVG into a typed React component with props spread on the root

svgo, local

optimize_svg

Shrinks SVGs (the engine behind SVGOMG)

svgo, local

search_fonts

Google Fonts, Fontshare and Fontsource, with the CSS link and the npm package to self-host

Google Fonts, Fontshare, Fontsource

search_images

Freely licensed photos and illustrations, with license and attribution

Wikimedia Commons, Openverse, Pixabay (optional key)

search_components / get_component

Code and install command

shadcn/ui, React Bits, Motion Primitives, Fancy Components

make_palette

50–950 scale in OKLCH (your color stays in it), harmonies and WCAG contrast

local

check_contrast

WCAG 2 ratio + APCA Lc, with a fix suggestion

local

type_scale

Fluid modular type scale as CSS clamp(), with line-height and tracking

local

spacing_scale

Linear or geometric spacing scale

local

make_shadows

Layered elevation shadows (xs to 2xl)

local

export_tokens

Colors + type + spacing + radius + shadows as CSS variables, Tailwind v4 @theme or DTCG JSON

local

get_easing

easings.net curves as CSS, Motion and GSAP; springs as CSS linear()

local

easing_gradient

Smooth gradients without the hard edge

local

make_pattern / make_blob

Seamless SVG patterns (grid, dots, waves, noise...) and organic blobs

local

list_resources

~180 curated design resources and how to reach each one

local

Prompts

Clients that support MCP prompts show these in their menu:

  • design_review: checks a screen for contrast, type scale, spacing rhythm, icon consistency and motion.

  • build_section: builds a landing page section (hero, features, pricing...) with tokens, fonts, icons and components.

  • brand_kit: turns one color and a mood into palette, fonts, scales, shadows and exported tokens.

  • unify_icons: swaps every icon in a folder for one consistent set.

The catalog is also available as the resource pocket-design://catalog.

Talk instead of typing (Wispr Flow style, for free)

The MCP does not record audio. Your voice becomes text before it reaches the agent:

  • macOS Dictation: System Settings > Keyboard > Dictation. Then press the shortcut (default: Fn twice) in any text field.

  • VoiceInk: an open-source Mac app that runs Whisper locally, closer to the Wispr Flow experience.

Develop

npm install
npm test

The test starts the server and calls every tool for real, so it needs internet.

Releases are automatic: bump version in package.json in a pull request, and merging it publishes to npm (with provenance) and creates the GitHub Release.

License

Code under Apache-2.0. You can use, modify and redistribute it, including in commercial and closed-source projects, as long as you keep the license and copyright notices and state your changes. It also grants a patent license from contributors.

The resources this MCP fetches have their own licenses:

  • Icons: each set's license is in list_icon_sets (most are MIT, Apache or ISC; brand logos belong to their owners).

  • Fonts: open licenses (OFL and similar); Fontshare uses the ITF Free Font License. Read them before shipping.

  • Images: Wikimedia Commons and Openverse results carry their own Creative Commons license; show the attribution when it is required. Pixabay needs no attribution.

  • Components: check each registry's license (shadcn/ui, React Bits, Motion Primitives and Fancy Components).

Available Tools

20 tools
check_contrastCheck contrastA
Read-only

Measures text/background contrast with WCAG 2 (ratio) and APCA (Lc). If it fails the requested level, suggests the closest text color that passes.

Inputs: text (required), background (required), level.

easing_gradientEased gradientA
Read-only

Generates a CSS linear-gradient with stops spaced along an easing curve, without the hard edge of linear gradients. Good for scrims over images and transitions between sections.

Inputs: from (required), to, steps, easing, +1 more.

export_tokensExport design tokensB
Read-only

Turns brand colors (plus a type scale, spacing, radius and shadows) into ready-to-paste tokens: CSS variables, a Tailwind v4 @theme block, or W3C Design Tokens (DTCG) JSON. Each color becomes a 50–950 scale.

Inputs: colors (required), fonts, format, shadowColor, +1 more.

get_componentComponent codeA
Read-only

Returns a component's code, dependencies and install command. In a project that already uses shadcn, prefer running the install command.

Inputs: name (required), registry.

get_easingReady-made easingA
Read-only

Returns an easings.net curve as CSS (cubic-bezier or linear()), values for Motion, and the matching GSAP name. With spring, computes a spring (stiffness, damping, mass) and returns linear() plus its duration.

Inputs: name, spring.

get_iconGet icon SVGA
Read-only

Returns a ready-to-use icon SVG, e.g. ph:house, lucide:house, simple-icons:figma, flag:br-4x3, fluent-emoji-flat:rocket.

Inputs: name (required), size, color.

list_icon_setsList icon setsA
Read-only

Lists Iconify icon sets with prefix, icon count, license, category and sample names. Use it to pick a set for search_icons.

Inputs: limit, query, category.

list_resourcesResource catalogA
Read-only

Lists the design resources in the catalog (references, images, components, icons, fonts, motion, 3D, audio...). The access field says whether a tool in this MCP covers it (tool:...), whether it has an official MCP (mcp), or whether it is just a link. Use it to suggest where to find inspiration or which tool to use.

Inputs: query, pricing, category.

make_blobOrganic blobB
Read-only

Generates a smooth organic blob shape as SVG. The same seed always returns the same shape; change it for variations.

Inputs: seed, size, color, points, +1 more.

make_paletteGenerate paletteA
Read-only

From a base color, generates the 50–950 scale (Tailwind-style, computed in OKLCH) and harmony colors, with each step's WCAG contrast against white and black. Runs locally.

Inputs: base (required), name, harmony.

make_patternBackground patternA
Read-only

Generates a seamless SVG background pattern (grid, dots, diagonal, cross, checker, waves, noise) and the CSS to use it as background-image.

Inputs: type (required), size, color, stroke, +2 more.

make_shadowsLayered shadowsB
Read-only

Generates elevation shadows (xs to 2xl) built from several stacked layers, which look closer to real light than a single blur. Tint them with the background hue for a more natural result.

Inputs: color, style, levels, intensity.

optimize_svgOptimize SVGB
Read-only

Optimizes an SVG locally with svgo (the engine behind SVGOMG). Returns the SVG and its size before and after.

Inputs: svg (required), precision.

search_componentsSearch componentsA
Read-only

Searches four shadcn-format registries: shadcn (base UI), reactbits (animated text, backgrounds, cursors), motion-primitives (animated components built with Motion) and fancy (effects and micro-interactions). Use get_component to see the code.

Inputs: type, limit, query, registries.

search_fontsSearch fontsA
Read-only

Searches free fonts on Google Fonts, Fontshare and Fontsource. Returns weights, whether it is variable, the CSS link to paste in , and selfHost (npm install + import) for self-hosting with Fontsource. Without a query, returns the most popular in the category.

Inputs: limit, query, source, category.

search_iconsSearch iconsA
Read-only

Searches any of Iconify's ~280 free icon sets. Returns names as prefix:name; use get_icon to get the SVG. Aliases: phosphor, lucide, tabler, hugeicons, heroicons, solar, material, feather, pixelarticons, brands, logos, emoji, flags (brands = brand logos, emoji, flags). Default sets: ph, lucide, tabler, hugeicons, heroicons, solar, feather, pixelarticons. Search in English (house, arrow, settings).

Inputs: query (required), sets, limit.

search_imagesSearch imagesA
Read-only

Searches free images with no key: Wikimedia Commons first, Openverse as fallback (both Creative Commons / free licenses). Uses Pixabay instead when PIXABAY_API_KEY is set. Results include the license and the attribution text to show next to the image.

Inputs: query (required), type, limit, source, +2 more.

spacing_scaleSpacing scaleB
Read-only

Builds a spacing scale in px and rem: linear (Tailwind multipliers of a base unit) or geometric (each step multiplied by a ratio).

Inputs: base, kind, ratio.

svg_to_reactSVG to React componentA
Read-only

Converts an SVG (e.g. from get_icon) into a React component: optimized with svgo, JSX attribute names, and props spread on the root so size, color and aria-label can be set from outside.

Inputs: svg (required), name, optimize, typescript.

type_scaleFluid type scaleA
Read-only

Builds a modular type scale that grows smoothly between two viewports, as CSS clamp() values, with line-height and letter-spacing per step. Named ratios: minor-second, major-second, minor-third, major-third, perfect-fourth, augmented-fourth, perfect-fifth, golden-ratio.

Inputs: maxBase, minBase, stepsUp, maxRatio, +4 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 20 tools

    Disambiguation4/5

    Most tools target a clearly distinct action+resource (check_contrast vs search_fonts vs make_blob, etc.), and the icon trio (list_icon_sets, search_icons, get_icon) has an explicitly documented pipeline. Minor overlap remains between make_palette and export_tokens (both produce 50–950 color scales) and between check_contrast and make_palette's built-in contrast reporting, and list_resources acts as a metacatalog that partly duplicates the tool surface.

    Naming Consistency3/5

    The dominant pattern is verb_noun (check_contrast, search_icons, get_component, export_tokens), but a separate make_* family (make_shadows, make_pattern, make_blob, make_palette) coexists with bare noun forms (type_scale, spacing_scale, easing_gradient) and non-verb constructs (svg_to_react, optimize_svg). Readable overall, but there is no single predictable convention an agent can rely on.

    Tool Count4/5

    Twenty tools is at the high end, but the server spans many genuinely different design subdomains (color, type, space, icons, images, motion, components), so each tool covers distinct ground rather than duplicating. Slightly heavy but defensible for a general design toolkit.

    Completeness4/5

    Coverage is broad and lifecycle-complete for most areas: color creation + contrast auditing + token export, font search + type scale, spacing, shadows, icon search/fetch/convert/optimize, component discovery + retrieval, motion easing. Gaps are minor—no radius-scale generator despite export_tokens mentioning radius, and no dark-mode/palette-theming pass or layout/grid helper.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Visual icon search, retrieval, and comparison for AI agents. Search 200k+ icons semantically, render side-by-side comparison grids, and retrieve raw SVG markup — all tools return images so vision-capable LLMs can see the icons.
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      745+ CSS3 animations and 9,000+ real SVG icons (Lucide, Heroicons, Tabler, Bootstrap) for AI coding agents. Zero-clone setup via npx animotion-mcp. 10 MCP tools including search_animations, get_icon, suggest_animation, compose_animation, and more.
      13
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI coding tools to search, inspect, recommend, and export SVG icons from svgicons.com for use in design systems, frontend projects, and AI-assisted workflows.
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides AI agents with 22 read-only design tools: font search and recognition, color contrast/shades/naming, palette extraction, code minification and detection, and SVG optimization. It's a free, hosted remote MCP server with no auth, rate-limited at 60 req/min per IP.
      1
      MIT