PlugWiki
Chakra UI logo

Chakra UI MCP Server: Setup for Claude Code, Cursor and Other Apps

OfficialLocal
Getnpm@chakra-ui/react-mcpchakra-ui/chakra-ui

Lets Claude, Cursor and other assistants look up Chakra UI components, props, examples and themes.

Chakra UI's own server gives Claude, Cursor and other assistants the real Chakra UI component list, props, examples and theme, so they stop guessing at the API. It also shows how v2 code changes in v3. It runs on your computer with npx and needs no account. An optional Chakra UI Pro key adds the Pro template tools.

Good for

  • React developers building with Chakra UI v3 who want the assistant to use real props
  • Teams upgrading a Chakra UI v2 app to v3
  • Designers who want pages that follow the Chakra theme tokens

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install Chakra UI MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the Chakra UI MCP server to Claude Code. Run this command:
    
    claude mcp add chakra-ui -- npx -y @chakra-ui/react-mcp
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

Built from the package data we hold. Not yet tested by us.

Tools

  • Lists every Chakra UI component

    Returns the names of all Chakra UI components, so the assistant picks real ones instead of guessing.

    Try: “Which Chakra UI components can I use for a form?”

    Network · list_components

  • Shows the options a component accepts

    Returns a component's props, such as size and variant, and its configuration options.

    Try: “What props does the Chakra UI Button accept?”

    Network · get_component_props

  • Shows working example code for a component

    Returns usage examples for one component, from basic use to common patterns, with full code.

    Try: “Show me an example of the Chakra UI Dialog.”

    Network · get_component_example

  • Shows the default theme

    Returns the theme specification: colors, fonts, text styles and layer styles. The assistant uses it to design pages that match.

    Try: “What colors and text styles does the default Chakra theme have?”

    Network · get_theme

  • Helps set up your own theme

    Gives guidance and the list of token categories for defining new design tokens or changing existing ones.

    Try: “Add a brand color palette to my Chakra theme.”

    Network · customize_theme

  • Gives short setup steps for Chakra UI

    Returns install steps for Vite, Next.js App Router, Next.js Pages Router or a general setup.

    Try: “How do I set up Chakra UI in a new Vite app?”

    Network · installation

  • Shows how Chakra v2 code changes in v3

    Returns before-and-after snippets for common v2 to v3 changes. Its description tells the assistant to use it on any Chakra code it generates, so it does not use outdated v2 syntax.

    Try: “Migrate this Modal from Chakra v2 to v3.”

    Network · v2_to_v3_code_review

  • Lists the Chakra UI Pro templates

    Lists the ready-made Pro blocks. It only appears when you set a Chakra Pro API key.

    Try: “What Pro templates does Chakra UI have for pricing pages?”

    Network · list_component_templates

  • Fetches a Pro template

    Gets the code for one Pro block, such as a pricing section. It only appears when you set a Chakra Pro API key.

    Try: “Get the code for the Pro pricing template.”

    Network · get_component_templates

Read from the source code

Permissions

low risk · 2 things to watch

Low risk

The server only reads Chakra UI documentation and component data from Chakra's websites, and it cannot change your files or accounts.

What it can do

Watch out for

  • Pro key is sent to Chakra's Pro service

    If you set CHAKRA_PRO_API_KEY, the key goes in a request header to pro.chakra-ui.com. Leave it out if you do not use the Pro templates. github.com

  • Your code stays on your machine

    The tools take component names and search words, not your files. The assistant still sees whatever you paste into the chat. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Turning on read-onlyEvery tool only reads; there is nothing to switch off.
Talks tochakra-ui.com for components, props, examples and docs. pro.chakra-ui.com for Pro templates, only when you set a Pro API key
Sign-in and keysNo account for the free tools. The optional Pro API key is read from the CHAKRA_PRO_API_KEY environment variable and sent to Chakra's Pro service.

Questions

Is this the official Chakra UI server?

Yes. It is published by the Chakra UI team from the Chakra UI repository under the name @chakra-ui/react-mcp.

Do I need an API key?

No. The component, theme, install, migration and search tools work without one. A Chakra UI Pro API key adds two template tools.

Does it work with Chakra UI v2?

It targets Chakra UI v3. One tool exists to show how v2 code changes in v3, so use it when you upgrade.

Can it change my project files?

No. It only returns documentation and examples. The assistant writes any code changes through its own tools.

Does it need internet access?

Yes. It fetches components, props and examples from chakra-ui.com each time, so it needs a connection.

Is the tool list complete?

The list here has the nine tools in the published npm package (@chakra-ui/react-mcp 2.1.1). Two of them, the Pro template tools, appear only when you set a Pro API key. The README names seven tools and uses older names such as get_components and list_blocks. The repository source also has a search_docs tool that is not in the published package yet.

Information

updated Nov 2, 2026

Publisher
Official
Package
@chakra-ui/react-mcp
Registry
npm
Transport
stdio
Auth
None
Version
2.1.1
License
MIT
Last commit
Oct 29, 2026
Open issues
1

WebsiteGitHubnpmChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 4
  1. @chakra-ui/react-mcp on npm · npmjs.com
  2. Chakra UI MCP README · github.com
  3. Tool registrations · github.com
  4. Where the data comes from · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.