Connect with an API Key
Connect a script, an agent or any MCP client with a bk_ API key.
In Claude and ChatGPT, the simplest way is to connect by signing in. Use an API key when the client cannot sign in, or for something that runs without you: a script, a cron job, an agent.
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, or sign in (OAuth) |
Configure your client
Add this entry to your client's MCP config file. Each client page below says where that file is.
{
"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.

