Betterness
Bett-iDocsTutorialsAboutAugmented Wellness

Overview

Trust

Resources

System

Get Started

Recipes

Reference

DocsOverviewCLI or MCP?

CLI or MCP?

Both surfaces hit the same data. Pick by where the agent runs.

Quick decision

If you are…Use
Building a script, cron job, or shell pipelineCLI
Calling from a Claude Code, Cursor, or Windsurf sessionMCP
Inside Claude Desktop or ChatGPT (developer mode)MCP
Running an autonomous OpenClaw / BetterClaw agentEither — often both (MCP for tool calls, CLI inside subprocess)
Writing a backend service against the REST APIDirect REST, but consider MCP for tool semantics

What both surfaces guarantee

  • Same auth model (bk_* API keys; OAuth additionally for CLI interactive flows)
  • Same rate limits and audit logging
  • Same data model — biomarkers, lab orders, wearable readings — returned in JSON
  • Same governance — every call requires a consent grant for the relevant data category

Where they differ

 CLIMCP
Distributionnpm install -g @betterness/cliJSON config in your client
OutputText or --jsonJSON tool results returned over HTTP
ComposabilityPipe to jq, scripts, other CLIsTool calls inside agent reasoning loops
LatencyCold-start each invocationLong-lived session
Discoverybetterness --help, betterness schemaTool list returned by tools/list

Can I use both?

Yes. They share credentials — the CLI's betterness mcp install <client> command writes the same API key into your MCP client config. A common pattern is to keep the CLI for cron and shell utilities while using MCP inside an editor or assistant.

Next

  • Install the CLI
  • Set up MCP
What is BetternessTrust Center
© 2026 Betterness Inc.
Privacy PolicyTerms of ServiceHealth Data