1. Docs
  2. Astro

Finch on an Astro site.

Finch works on Astro sites with no extra setup: /finch-install finds the right place for it.

Install

Paste this into Claude Code, then run /finch-install in a new session in your project:

Claude Code
Add the Claude Code plugin finch@finch from the GitHub marketplace usefinch/notes (put it in my Claude Code settings if /plugin isn’t available here), then tell me how to load it and run /finch-install on this site.

Full steps are on the install page.

How Finch knows it’s Astro
It looks for astro.config.js, .mjs or .ts.
Where the script goes
Just before </body> in your main layout (src/layouts/Layout.astro or BaseLayout.astro). That’s the only change to your site’s code.

Good to know

  • The Finch script is added with is:inline so Astro loads it as it is instead of bundling it.
  • With no shared layout, Finch goes into each page in src/pages instead.