whatisgithub

What is ant-design-cli?

ant-design/ant-design-cli — explained in plain English

Analysis updated 2026-05-18

216TypeScriptAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

An offline command-line tool that gives developers and AI coding assistants instant, version-accurate lookup of Ant Design component docs and migration help.

Mindmap

mindmap
  root((antd CLI))
    What it does
      Offline component docs
      Version snapshots v3-v6
      Usage scanning
    Tech stack
      TypeScript
      Node CLI
      MCP server
    Use cases
      Component lookup
      Migration checklists
      Agent integration
    Audience
      Frontend developers
      AI coding agents

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Look up Ant Design component props, docs, and demos offline without a browser.

USE CASE 2

Scan a project's source code to find deprecated Ant Design API usage.

USE CASE 3

Generate a step-by-step migration checklist when upgrading between major Ant Design versions.

USE CASE 4

Run the CLI as an MCP server so AI coding assistants can query Ant Design directly.

What is it built with?

TypeScriptNode.jsMCP

How does it compare?

ant-design/ant-design-clisuyancc/openai-plus-vxtgermondai/trawl
Stars216217218
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasymoderatemoderate
Complexity2/53/53/5
Audiencedevelopergeneralops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

This is a command-line tool for working with Ant Design, a popular set of pre-built interface components used to build web applications. The CLI gives developers and AI coding assistants fast, offline access to detailed information about every Ant Design component across multiple versions of the library. The tool ships with all component data bundled locally, so there is no internet connection required and no API key needed. You can look up the available settings for any component, read its documentation, view code examples, and see how the API changed between library versions. It covers Ant Design versions 3 through 6, with over 55 snapshots so you can query the exact state of the library at a specific release. Beyond documentation lookup, the tool can scan your project's source code to find which components you are using, check for outdated or deprecated API usage, and generate a step-by-step migration checklist when you need to upgrade from one major version to another. A diagnostic command runs checks on your project configuration to catch common setup problems. For developers using AI coding tools, the CLI can run as an MCP server, which lets editors like Cursor or Claude Desktop call its commands directly as tools within the AI assistant interface. There is also a skill file that teaches code agents when and how to use each command automatically. The project is open source under the MIT license and is maintained by the Ant Design team. It supports English and Chinese output throughout, with a flag to switch between languages on any command.

Copy-paste prompts

Prompt 1
Install @ant-design/cli and show me all the props for the Button component.
Prompt 2
Scan ./src for deprecated Ant Design usage and list what needs fixing.
Prompt 3
Generate a migration checklist for upgrading my project from Ant Design v4 to v5.
Prompt 4
Set up the antd CLI as an MCP server in Claude Desktop.

Frequently asked questions

What is ant-design-cli?

An offline command-line tool that gives developers and AI coding assistants instant, version-accurate lookup of Ant Design component docs and migration help.

What language is ant-design-cli written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, MCP.

What license does ant-design-cli use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is ant-design-cli to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is ant-design-cli for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.