Skip to content

Astro Docs MCP: install, tools and limits

Better Design

Direct answer

The Astro Docs MCP server gives a coding agent search access to the current official Astro documentation. It runs over the remote URL https://mcp.docs.astro.build/mcp, needs no sign-in, and exposes 1 tools.

A hand-drawn terminal that connects a coding agent to Astro Docs MCP, with the server's name and tool count written beside it.

What Astro Docs MCP does

The Astro Docs MCP server gives a coding agent search access to the current official Astro documentation. It runs remotely and keeps an up-to-date index of the docs through the kapa.ai API.

Astro maintains it.

How a coding agent uses Astro Docs MCP

The agent asks, Astro Docs MCP acts, and the result comes back into the session.

A hand-drawn three-step flow from the coding agent to Astro Docs MCP and back: How do content collections work in this Astro version?, Searches the current Astro docs, The docs passages for the installed version.
  1. The agent asks: How do content collections work in this Astro version?
  2. Astro Docs MCP acts: Searches the current Astro docs
  3. The result comes back: The docs passages for the installed version

Install Astro Docs MCP in Claude Code

terminal
claude mcp add --transport http astro-docs https://mcp.docs.astro.build/mcp

Install Astro Docs MCP in Cursor

Cursor install link
cursor://anysphere.cursor-deeplink/mcp/install?name=Astro%20docs&config=eyJ1cmwiOiJodHRwczovL21jcC5kb2NzLmFzdHJvLmJ1aWxkL21jcCJ9

Install Astro Docs MCP in VS Code

VS Code install link
vscode:mcp/install?%7B%22name%22%3A%22Astro%20docs%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.docs.astro.build%2Fmcp%22%7D

Install Astro Docs MCP in Codex

~/.codex/config.toml
[mcp_servers.astro-docs]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.docs.astro.build/mcp"]
# ~/.codex/config.toml or .codex/config.toml

The 1 tools Astro Docs MCP gives your agent

Astro Docs MCP lists these names in its own documentation, read on November 12, 2026. Your agent sees each one as a tool it can call.

  • search_astro_docs

Settings worth knowing in Astro Docs MCP

npx -y mcp-remote https://mcp.docs.astro.build/mcp
What it changes

Runs a local proxy for clients that only start local servers.

Server

Astro Docs MCP

allowed_tools: "mcp__astro-docs__search_astro_docs"
What it changes

Lets the Claude Code GitHub Action call the Astro docs tool.

Server

Astro Docs MCP

Sign-in, limits and caveats for Astro Docs MCP

Sign-in: None. The server is public.

Limits and price: The Astro docs call the server free and open source. They state no rate limit.

  • Clients that support only SSE for remote servers cannot connect directly; use the mcp-remote proxy.
  • The server gives access to docs only; the AI tool still interprets them and writes the code, so review generated code.
  • The one tool searches the docs through the kapa.ai API, so results depend on that external index.

Use Astro Docs MCP for interface work

A coding agent building Astro pages or components can check current Astro APIs (content collections, actions, sessions) before writing code, instead of relying on outdated training data.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "Astro Docs MCP: install, tools and limits" at https://better-design.com/blog/astro-mcp and help me apply it to my project.

The Astro Docs MCP server gives a coding agent search access to the current official Astro documentation. It runs over the remote URL https://mcp.docs.astro.build/mcp, needs no sign-in, and exposes 1 tools.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What does Astro Docs MCP do?

The Astro Docs MCP server gives a coding agent search access to the current official Astro documentation. It runs remotely and keeps an up-to-date index of the docs through the kapa.ai API.

Does Astro Docs MCP need an API key or sign-in?

None. The server is public.

Is Astro Docs MCP free?

The Astro docs call the server free and open source. They state no rate limit.

Which coding agents can use Astro Docs MCP?

Its documentation shows a setup for Claude Code, Cursor, VS Code, Codex. Any client that speaks MCP over the remote URL https://mcp.docs.astro.build/mcp can connect.

Where these Astro Docs MCP facts come from

Each fact on this page comes from Astro Docs MCP's own repository, documentation or package registry, read on November 12, 2026.

Add design rules next to it

Astro Docs MCP gives the agent its tools. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.