Skip to main content
Glama

pocket-design-mcp

English · Português

A free MCP server that gives your coding agent (Claude Code, Cursor, etc.) direct access to icons, fonts, images, components, easings, contrast checks, SVG optimization and color palettes. You ask ("put a Phosphor house icon in the header", "find a display font like Satoshi", "make this fade feel springy") and the agent finds it and drops it into your code.

Inspired by Rei do Photoshop.

Tools

Tool

What it does

Source

Key needed?

list_resources

Lists ~180 curated design resources and how to reach each one

local

no

search_icons / get_icon

Searches and returns SVGs from Phosphor, Hugeicons, Feather and Pixelarticons

Iconify

no

search_fonts

Finds fonts and returns the CSS link

Google Fonts + Fontshare

no

search_images

Photos, illustrations and vectors

Pixabay

yes, free

search_components / get_component

Code and install command

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

no

get_easing

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

local

no

easing_gradient

Smooth gradients without the hard edge

local

no

check_contrast

WCAG 2 ratio + APCA Lc, with a fix suggestion

local

no

optimize_svg

Shrinks SVGs (the engine behind SVGOMG)

svgo, local

no

make_palette

50–950 scale in OKLCH, harmonies and WCAG contrast

local

no

Resources without a free API (Mobbin, Awwwards, Godly...) show up in list_resources as links only. Those with an official MCP (Figma, ElevenLabs, Supabase, Vercel, Notion, Linear, PostHog, 21st.dev) are marked mcp: install theirs alongside this one.

Related MCP server: animotion-mcp

Install

npm install
npm run build

Register it in Claude Code (replace the path with yours):

claude mcp add pocket-design --scope user -- node /PATH/pocket-design-mcp/dist/index.js

With Pixabay images (get a free key at https://pixabay.com/api/docs/):

claude mcp add pocket-design --scope user -e PIXABAY_API_KEY=your_key -- node /PATH/pocket-design-mcp/dist/index.js

Restart the session and check with /mcp.

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, including Claude's.

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

Flow: you speak → the text lands in Claude Code → the agent calls pocket-design → the icon, font or component ends up in your code.

Test

npm test

It starts the server and calls every tool for real, so it needs internet. Without PIXABAY_API_KEY, it only checks that the image search warns about the missing key.

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: MIT (Phosphor, Hugeicons, Feather and Pixelarticons, as listed on Iconify).

  • Google Fonts: open licenses. Fontshare: ITF Free Font License, free for commercial use too; read it before shipping.

  • Pixabay: free to use, no attribution required. Download and host images yourself.

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

Available Tools

12 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.

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, hugeicons:home-01, feather:home, pixelarticons:home.

Inputs: name (required), size, color.

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_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.

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 and Fontshare. Returns weights, whether it is variable, the CSS link to paste in , and the font page. Without a query, returns the most popular in the category.

Inputs: limit, query, source, category.

search_iconsSearch iconsA
Read-only

Searches Phosphor, Hugeicons, Feather and Pixelarticons (via Iconify, free). Returns names as prefix:name; use get_icon to get the SVG. Search in English (house, arrow, settings).

Inputs: query (required), sets, limit.

search_imagesSearch imagesB
Read-only

Searches free photos, illustrations and vectors on Pixabay. Needs the PIXABAY_API_KEY variable (free key).

Inputs: query (required), type, limit, orientation.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes (contrast, SVG optimization, palette generation, icon/component/font/image search). The two search/get pairs (search_icons→get_icon, search_components→get_component) are well-telegraphed, but get_easing vs easing_gradient both concern easing curves and could be momentarily confused. list_resources also sits adjacent to the search_* family as a meta-catalog.

    Naming Consistency4/5

    Nearly all names follow a snake_case verb_noun pattern (search_images, get_component, check_contrast, optimize_svg, make_palette, list_resources). The lone deviation is easing_gradient, a noun_noun name that lacks a verb and slightly breaks the pattern.

    Tool Count5/5

    12 tools is squarely in the well-scoped range for a design-assistant server. Each tool maps to a distinct capability (search sources, getters, generators, checks) with no filler entries.

    Completeness4/5

    The surface broadly covers design needs: imagery, UI components, icons, fonts, palettes, contrast checking, easing/motion, and SVG optimization, with list_resources tying them together. Minor gaps exist (e.g. no image detail/download step after search_images, no spacing/shadow/typography-scale helpers), but agents can work around them.

    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.
      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