---
title: "Install Nuxt AI Ready"
description: "Get started with Nuxt AI Ready by installing the dependency to your project."
canonical_url: "https://nuxtseo.com/docs/ai-ready/getting-started/installation"
last_updated: "2026-09-05T14:05:14.963Z"
---

## Setup Module

::module-install{name="nuxt-ai-ready"}
::

> [!IMPORTANT]
> [Node.js](https://nodejs.org) 22.13 and later use built-in [SQLite](https://sqlite.org). Older Node versions require [`better-sqlite3`](https://github.com/WiseLibs/better-sqlite3). Install it alongside the module:
>
> ```bash
> [pnpm](https://pnpm.io) add better-sqlite3
> ```
>
> [Bun](https://bun.sh), [Cloudflare](https://cloudflare.com) (D1), and [Vercel](https://vercel.com) (Neon Postgres) deployments don't need it. See [Database Configuration](/docs/ai-ready/guides/runtime-indexing#database-configuration).
>
> If no requested feature needs stored pages, the runtime skips database setup.
> Builds before Node 22.13 still need `better-sqlite3` for prerender indexing.

> [!TIP]
> Generate an Agent Skill for this package using [skilld](https://github.com/harlan-zw/skilld):
>
> ```bash
> npx skilld add nuxt-ai-ready
> ```

## Verifying Installation

Zero-config module. After installation:

- Visit any route with `.md` suffix (e.g., `/about.md`) to see markdown output
- Run `nuxi build`{lang="bash"} then check `/llms.txt` and `/llms-full.txt`
- `/robots.txt` shows [Content Signals](/docs/ai-ready/guides/content-signals)

## Configuration

### MCP Integration (Optional)

Connect AI agents to your site via [Model Context Protocol](https://modelcontextprotocol.io/):

```bash
npx nuxi module add @nuxtjs/mcp-toolkit
```

```ts [nuxt.config.ts]
export default defineNuxtConfig({
  modules: [
    'nuxt-ai-ready',
    '@nuxtjs/mcp-toolkit',
  ],
})
```

Add to Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):

```json
{
  "mcpServers": {
    "my-site": {
      "command": "npx",
      "args": ["-y", "@nuxtjs/mcp-client", "http://localhost:3000/mcp"]
    }
  }
}
```

See the [MCP guide](/docs/ai-ready/guides/mcp) for tools, resources, and production setup.

### Rendering Mode Support

Works with all server rendering modes:

| Feature              | SSG | Hybrid             | SSR-only           | SPA |
| -------------------- | --- | ------------------ | ------------------ | --- |
| llms.txt with titles | ✅   | ✅                  | ✅                  | ❌   |
| llms-full.txt        | ✅   | ✅ Prerendered only | ❌ Placeholder      | ❌   |
| Runtime `.md` routes | ✅   | ✅                  | ✅                  | ❌   |
| MCP tools/resources  | ✅   | ✅                  | ✅ Indexed on visit | ❌   |
| FTS5 search          | ✅   | ✅                  | ✅                  | ❌   |

**SSG**: Full support. All pages indexed during `nuxi generate`{lang="bash"}.

**Hybrid**: Prerendered pages indexed at build; SSR pages indexed on first visit.

**SSR-only**: Pages index on first visit. MCP search works after you visit them.

**SPA**: Not supported. Workaround: enable `nitro.prerender.routes`{lang="ts"} for specific pages.

## Next Steps

You've successfully installed Nuxt AI Ready. Here's the recommended reading path:

1. **[Content Signals](/docs/ai-ready/guides/content-signals)** - Configure AI training/search permissions
2. **[llms.txt Guide](/docs/ai-ready/guides/llms-txt)** - Customize llms.txt output
3. **[MCP Guide](/docs/ai-ready/guides/mcp)** - Tools and resources for AI agents
4. **[Runtime Indexing](/docs/ai-ready/guides/runtime-indexing)** - Database, TTL, and search configuration
5. **[Cloudflare Deployment](/docs/ai-ready/guides/cloudflare)** - Deploy with D1 database