Claude Code + Stitch Workflow
Design your app UI in Google Stitch, connect it to Claude Code over MCP, then turn the whole design into production-ready code with one prompt. Includes the exact prompt and step-by-step setup. Both tools free.
Claude Code is excellent at writing code but weak at designing front ends. This workflow fixes that: you design the UI in Google Stitch, connect it to Claude Code over MCP, then have Claude turn the whole design into production-ready code with one prompt.
What You Need
- Google Stitch (free), stitch.withgoogle.com
- Claude Code, claude.com/product/claude-code
- A reference image or two from Dribbble or Pinterest (optional but recommended)
Step by Step
- Go to Google Stitch and describe your app idea in plain English (what it does, who it's for, the main screens).
- Grab a design you like from Dribbble or Pinterest, save the image, and drop it into Stitch as a reference so the style matches what you want.
- Let Stitch generate the UI. It produces all the screens plus a complete design system (colours, fonts, spacing). Tweak anything by typing.
- Once you're happy, hit Export, select MCP, then Setup MCP, and choose Claude Code as your AI.
- Copy the connection it gives you and paste it into your Claude Code terminal. Claude Code now has full access to all of your Stitch designs.
- Run the prompt below. Claude reads the designs and builds them into real, connected, animated code.
The Prompt
Paste this into Claude Code once the Stitch MCP is connected:
Using the Stitch designs now connected through MCP, build this as a production-ready app.
- Implement every screen exactly as designed, using the full design system (colours, typography, spacing, and components).
- Wire up all navigation so the screens connect into complete user flows.
- Add smooth, tasteful animations and transitions between states.
- Make it fully responsive across mobile and desktop.
- Structure the code cleanly so it's ready to deploy.
Start by listing the screens you found, then build them one by one and tell me when each is done.Tips
- Give Stitch a reference image, it dramatically improves the output versus a text-only description.
- Get the design fully right in Stitch before exporting. Fixing layout in Stitch is faster than fixing it in code.
- If Claude misses a screen, just tell it which one and point it back at the Stitch MCP, it can re-read the designs anytime.
- Ask Claude to add a backend (database, auth) as a follow-up once the front end is built.
Why It Works
Stitch outputs a structured design system, not just a picture. When Claude Code reads that over MCP it gets the exact colours, spacing, and components, so the code it writes matches the design instead of approximating it. You get the design quality of a dedicated UI tool and the build quality of a coding agent, with no manual hand-off in between.
New guides land in your inbox first
One short email a week with the tools and prompts worth your time. Free, and you can leave any time.