# Use these docs with AI

Give your coding agent or AI assistant the Anara docs as clean Markdown, a single file, or an MCP server.

Every page on this site is written to be read by agents as well as people. Pick whichever fits your tool.

## Copy a page [#copy-a-page]

Use **Copy for LLM** in the right column of any page to copy it as Markdown, ready to paste into a chat. **View as Markdown** opens the same text in the browser.

## Fetch pages as Markdown [#fetch-pages-as-markdown]

Append `.md` to any docs URL, or send an `Accept: text/markdown` header to the normal URL.

```bash title="Terminal"
curl https://docs.anara.com/guides/quickstart.md
curl -H "Accept: text/markdown" https://docs.anara.com/api/search
```

## Index and full text [#index-and-full-text]

| File                               | What it holds                                                |
| ---------------------------------- | ------------------------------------------------------------ |
| [`/llms.txt`](/llms.txt)           | Every page with a one-line summary, grouped like the sidebar |
| [`/llms-full.txt`](/llms-full.txt) | The full text of every page in one file                      |
| [`/sitemap.xml`](/sitemap.xml)     | Every page URL                                               |

## Connect the docs over MCP [#connect-the-docs-over-mcp]

The docs are also a public MCP server (Streamable HTTP, no sign-in) at `https://docs.anara.com/mcp`. It has three tools:

* `list_docs`: every page with its URL and summary
* `search_docs`: full-text search across all pages
* `read_doc`: one page as Markdown

```json title="MCP client config"
{
  "mcpServers": {
    "anara-docs": { "url": "https://docs.anara.com/mcp" }
  }
}
```

This server only reads the docs. To let an agent work with your own Anara library, see [Anara over MCP](/guides/mcp).
