Skip to main content
MCP server CX Codex

ballmac — Claude Code MCP server: what it does, how to install

Connects the Ballmac UI library to your coding agent to search React components, inspect props, and build page layouts. Works with shadcn CLI workflows.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add ballmac -- npx -y @ballmac/mcp
Open on GitHub

What ballmac does

This tool exposes Ballmac UI to MCP assistants. It lets the agent look up React and Tailwind elements by description, review prop signatures, and inspect keyboard interactions. Everything runs in read-only mode. The server delivers component details and terminal commands without modifying files on your machine.

Beyond component lookups, it includes helpers like compose_page to generate scaffold files and audit_project to catch styling flaws. Running it requires Node.js 20 or higher via npx. The free registry requires no credentials, while inspecting Pro assets needs a BALLMAC_LICENSE_KEY environment variable.

What it helps with

  • search React and Tailwind components by feature description
  • generate full page layouts with structured state scaffolding
  • fetch exact shadcn installation commands for package managers
  • audit existing files against UI and accessibility guidelines

Example prompts for the agent

  • Design a SaaS pricing page with an FAQ section using Ballmac UI.
  • Which Ballmac element should I use to display an animated counter?
  • Plan a store dashboard layout and generate the page scaffold.

How to install ballmac

Platform CLI

claude mcp add ballmac -- npx -y @ballmac/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about ballmac

How do I install ballmac in Claude Code?

Run claude mcp add ballmac -- npx -y @ballmac/mcp in your terminal. You must have Node.js 20 or later installed on your system.

What does ballmac do?

It connects coding agents to the Ballmac UI catalog to search items, inspect code, and retrieve install commands. It operates in read-only mode and leaves all file modifications to the user or agent.

Does ballmac require an API key?

The standard registry is free and needs no authentication. A BALLMAC_LICENSE_KEY token is only required when fetching source code for items in the Pro tier.

Similar MCP servers

All MCP servers for Frontend and UI →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor