Install MCP
Connect any MCP-compatible client to Betterness.
What MCP gives you
The Model Context Protocol lets AI clients call Betterness tools directly. Your client gets governed access to biomarkers, lab orders, wearables, and the full data surface — without you writing any glue code.
Connection details
| Endpoint | https://api.betterness.ai/mcp |
| Transport | Stateless HTTP |
| Auth | Authorization: Bearer bk_your_api_key_here |
Two install paths
A — Auto-install via the CLI (fastest, recommended). Reads your stored credentials and writes the right config to your client's file:
npm install -g @betterness/cli
betterness auth login
betterness mcp install claude # Claude Desktop
betterness mcp install claude-code # Claude Code
betterness mcp install cursor # Cursor
betterness mcp install windsurf # Windsurf
betterness mcp status --json # check what's configured
B — Manual JSON config. Add this entry to your client's MCP config file:
{
"mcpServers": {
"betterness": {
"url": "https://api.betterness.ai/mcp",
"headers": {
"Authorization": "Bearer bk_your_api_key_here"
}
}
}
}
Pick your client
Generate an API key
Go to /console/keys, click Create Key, copy it (it's shown once), and paste it into your config.

