Section Decompose is an open MCP server that turns any web page into a clean list of visual sections — hero, feature grid, testimonials, pricing, FAQ, footer — and a whole website into a catalog of unique section types.
Ask your AI chat "Split https://example.com/ into sections", and you get a structured breakdown with a screenshot of every section, its position on the page, and a layout description you can use to estimate, plan, or rebuild the site.
How it works
The server does not contain its own AI. It captures full-page screenshots with Playwright and hands them to the model already connected in your chat: Cursor, Claude Desktop, Claude Code, VS Code, Windsurf, or any other MCP client. The model marks the sections, and the server crops them and stores the result.
Every analysis is cached. The next request for the same page returns instantly, for you or for anyone on your team who uses the same storage.
Features
- Page decomposition. Full-page capture with lazy loading, reveal animations, sticky headers, cookie banners and trackers handled for you.
- Site catalog. Pages are grouped into URL templates, and sections across the site are merged into unique component types with their variants and occurrences.
- Safe on large sites. Before capturing, the server shows the site's scale, coverage, time and token estimates for each option, and lets you choose. Work runs in batches with checkpoints, and a plan can be resumed in a new chat.
- Your choice of storage. Keep data in a local folder or in any S3-compatible bucket: AWS S3, DigitalOcean Spaces, Cloudflare R2, MinIO, Backblaze B2 and others. On first use, the chat asks where to store data and tells you exactly which settings to fill in.
- Freshness checks. Cached results older than 30 days are compared with the live page, and you are told which sections changed.
- Model guidance. The server tells you once per session which models give the best results: Claude Opus, Fable 5.2, GPT-5, Gemini Pro.
- Open data. Results are plain JSON and PNG files that other tools can read directly.
Who it is for
- Agencies and freelancers estimating redesigns and rebuilds
- Developers planning a component library from an existing site
- Designers auditing the consistency of a design system
- Teams that want a shared, reusable library of site decompositions
Get started
- Clone the repository and run
npm installandnpm run playwright:install. - Add the server to your MCP client config.
- In a new chat, pick a recommended model and ask: "Split https://example.com/ into sections."
Full setup, configuration, and customization guides are in the README.
Section Decompose only produces the decomposition. It never estimates cost, hours, or complexity, so you stay in control of the numbers.