# Quickstart

> Documentation index: https://docs.thefaceanalysis.com/llms.txt · HTML version: https://docs.thefaceanalysis.com/quickstart · Updated 2026-10-18

Connect an AI assistant to the face measurement data, check it works, then use the dataset and the widget. No account and no API key are needed for any step.

## 1. Connect your assistant

The hosted server works in every client that supports remote MCP servers. Claude Code is one command:

**Claude Code**

```
claude mcp add --transport http --scope user thefaceanalysis https://mcp.thefaceanalysis.com/mcp
```

For other clients use the same URL: `https://mcp.thefaceanalysis.com/mcp`. Step-by-step pages: [Claude Code](https://docs.thefaceanalysis.com/mcp/claude-code), [Claude (claude.ai and Desktop)](https://docs.thefaceanalysis.com/mcp/claude), [Claude Desktop (local)](https://docs.thefaceanalysis.com/mcp/claude-desktop), [ChatGPT](https://docs.thefaceanalysis.com/mcp/chatgpt), [Codex](https://docs.thefaceanalysis.com/mcp/codex), [Cursor](https://docs.thefaceanalysis.com/mcp/cursor), [VS Code](https://docs.thefaceanalysis.com/mcp/vscode), [Gemini CLI](https://docs.thefaceanalysis.com/mcp/gemini-cli), [Any other client](https://docs.thefaceanalysis.com/mcp/other).

## 2. Ask a question

Using The Face Analysis, what is the median fWHR across your 102 reference faces?

The answer should be **1.78**, the median fWHR across the 102 reference faces, returned by the `get_reference_statistics` tool.

## 3. Check without a client

**curl**

```
curl -s https://mcp.thefaceanalysis.com/mcp \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

`https://mcp.thefaceanalysis.com/health` answers `ok`. The server is stateless and accepts only `POST /mcp`, so a browser visit to `/mcp` shows 405.

## 4. Use the data directly

**JavaScript**

```
npm install thefaceanalysis-data

import { median } from "thefaceanalysis-data";
median("fwhr"); // 1.78
```

Files, columns and examples in Python and R are on the [dataset page](https://docs.thefaceanalysis.com/data).

## 5. Put the widget on a page

**HTML**

```
<div data-tfa-widget="face-shape" data-size="standard"></div>
<script async src="https://thefaceanalysis.com/embed.js"></script>
```

All widgets, sizes, the npm and React versions, a platform guide and the terms are on the [embed page](https://docs.thefaceanalysis.com/embed).
