Skip to content

Give Claude Code a designer’s eye

Paste one message into Claude Code and it sets Astron up for you, then checks the connection.

Copy and send this to Claude Code

Set up Astron for me so you can follow real design guides while you build UI. 1. Add the MCP server: run `claude mcp add astron https://mcp.astron.design --transport http`. 2. Check it: run `claude mcp list` and confirm astron shows 6 tools. 3. From now on, call get_design_guide before you write markup for a new screen, and run critique_ui on the result before you hand it back to me.

Works without a key on the free library. Create a key for Pro tools and usage by project.

What your agent
gets

Six tools, each answering one design question. The agent decides when to call them; you never have to name them.

The six Astron tools listed in an agent's tool picker.
  • get_design_guide

    The layout, type, spacing and rules for the screen being built.

  • search_references

    Annotated screens from shipped products, matched to the task.

  • load_skill

    Focused playbooks for empty states, forms, tables and settings.

  • critique_ui

    A review of the result against the guide, with the fix for each issue.

  • get_palette

    A neutral ramp, one accent and the contrast ratio of every pair.

  • get_type_scale

    Sizes, line heights and tracking tuned to a specific typeface.

Then just ask

Mention Astron once in a session. After that, the tool descriptions tell your agent when a guide applies.

  • Use Astron to design the billing settings page.

  • Redesign the pricing page with Astron's editorial SaaS guide.

  • Build an onboarding flow, then run critique_ui on it.

  • Find references for a dense analytics dashboard before you start.