The web framework for content-driven websites: server-first, with zero JavaScript by default.
open sourceMITself-hostablefreeMCP
Astro is a JavaScript web framework for content-driven sites such as marketing pages, blogs, documentation and e-commerce. It renders components on the server and sends plain HTML, shipping only the JavaScript a page needs; interactive parts are islands written in React, Vue, Svelte, Preact, Solid, Angular, Qwik or web components, which can share a page. Content collections give Markdown and MDX type-safe frontmatter, and data can also come from APIs or a CMS. Built in are file-based routing, optimized images, view transitions, prefetching, middleware, type-safe server actions, environment variable handling and a dev toolbar, with adapters to deploy on Node.js, Cloudflare, Vercel, Netlify, Deno or AWS. Hundreds of integrations and themes extend it, and Starlight builds documentation sites on it. The team behind it joined Cloudflare in January 2026, and Astro stays MIT-licensed.
Problems it solves
- my marketing site built with React ships too much JavaScript and loads slowly
- build a fast blog from Markdown files with type-checked frontmatter
- improve our Core Web Vitals and SEO on a content site
- use React and Svelte components on the same static site
- a static site generator that can also render some pages on the server
- migrate a slow Gatsby site to something faster
- deploy a content site to Cloudflare, Vercel or Netlify without rewriting it
Features
- server-first rendering with zero JavaScript by default
- islands architecture
- React, Vue, Svelte, Preact, Solid, Angular, Qwik and web components
- content collections with type-safe Markdown and MDX
- file-based routing
- optimized images
- view transitions
- prefetching
- middleware
- type-safe actions
View 5 more
- environment variables API
- dev toolbar
- deployment adapters for Node.js, Cloudflare, Vercel, Netlify, Deno and AWS
- hundreds of integrations and themes
- official MCP server and context files for AI tools
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
Alternatives
The same job
These do what Astro does.
- Next.js The React framework for the web.
- Eleventy A simpler static site generator
- Hugo The world's fastest framework for building websites.
- Hexo A fast, simple and powerful blog framework powered by Node.js
- SvelteKit Web development, streamlined
- Gatsby The React-based, open source framework for fast websites and apps