/guava-health:setupfrom guava-health
End-to-end setup of the unofficial Guava Health integration: install the guava CLI, create the Guava API app, store credentials, connect the account holder and any dependents, then optionally deploy it as an MCP server, either locally in Claude Code or as a container behind an MCP gateway on a home server. Use for "set up Guava", "install the Guava plugin", "deploy Guava as an MCP", "put Guava on my gateway".
Ships in guava-health. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Unofficial integration, not made by Guava Health, Inc. Work through the stages in order, skip any that are already done, and confirm the route with the user at stage 5.
command -v guava || uv tool install 'git+https://github.com/danielrosehill/Guava-Health-Plugin'.
Add [nfc] ('guava-cli[nfc] @ git+…') if they want DIY tags. Check with guava version.
If no client id exists yet, run the create-api-app skill (the form is in
reference/app-form.json). New apps get test keys (sandbox, synthetic patient only).
For real data: app page → Submit for production approval (was instant for a personal
app on 2026-11-03) → Create live key. The user clicks the key-creation buttons.
The user stores GUAVA_CLIENT_ID and GUAVA_CLIENT_SECRET in their secrets manager. If they
keep the sandbox key too, it goes in GUAVA_TEST_CLIENT_ID / GUAVA_TEST_CLIENT_SECRET. Never
echo a secret back or write it to a repo. Expose the variables to wherever guava or
guava-mcp will run (stage 5 decides where).
Guava rotates the refresh token on every use, so each grant must live in exactly one place. Two machines sharing a copy will lock each other out. So:
connect-profile skill).auth_start / auth_finish
once it's deployed (stage 5c). Or move (never copy) existing token files from
~/.config/guava-health/tokens/ into the server's volume, then delete the local copies.Then ask: just you, or you and people you manage in Guava (children, dependents)?
--profile me --name <Name> --relation self. Every later
command can leave --profile out.--profile <firstname> --name <Name> --relation dependent --alias "my son". On the consent
screen the user must select that dependent's profile. Afterwards the user can say "check
's medications" or "log a dose for my son" and the skills pick the grant.
Run each grant through the connect-profile skill. To add a dependent later, run it again.Ask which one they want:
a. CLI only. Done. The other skills call guava.
b. Local MCP (Claude Code on this machine):
claude mcp add guava -e GUAVA_CLIENT_ID=… -e GUAVA_CLIENT_SECRET=… -e MCP_TRANSPORT=stdio \
-- uvx --from 'guava-cli[mcp] @ git+https://github.com/danielrosehill/Guava-Health-Plugin' guava-mcp
Prefer the user's secrets wrapper over literal -e values. Tokens stay in ~/.config/guava-health.
c. Gateway (home server, shared by every client):
Dockerfile, or add the repo as a
submodule of the gateway's deployment repo and build from it). Run it on the gateway's
Docker network with no host port. Mount a named volume or bind mount at /data: the
tokens live there and must survive recreates. Pass the two credentials as env.
Example compose service in docs/mcp-server.md.http://<container>:3000/mcp.
Add it to the groups/namespaces of the people who should reach it. Health data is
personal, so don't put it in a shared namespace unless the user asks.version and profiles through the gateway (tools appear as
e.g. mcp__gateway__guava__profiles). Then auth_start for each profile, have the user
open the URL, select the profile, approve and paste back the redirect URL, and finish with
auth_finish.guava revoke -p <label> only revokes that
machine's grant), so only the server holds tokens.profiles lists each grant with the right name and relation (fix with label_profile /
guava label). whoami / guava me -p <label> for each profile shows the right person, then one read (e.g.
search metrics --types weight). Don't write test entries to real profiles. Use dry_run.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
18 skills in this plugin
/add-medication-noteAdd or change the note on a medication in Guava's web app, using the browser, because the API can't write medication notes. Use on "add a note to my medication" or "note on this med". A note on a single dose doesn't need this: use log-medication or log-health-entry./connect-data-sourceConnect a device or app (Garmin, Oura, Withings, Health Connect, Google Fit, Fitbit, Dexcom, Omron…) or a health system to a Guava profile, via the web app. The agent opens the right tile; the user completes the third-party sign-in. Use on "connect my Fitbit to Guava", "link Health Connect", "what sources are connected"./connect-profileAuthorise the Guava Health API for one profile, the account holder or a dependent such as a child on a family plan, and store its tokens under a short label. Use for "connect Guava", "add my son/daughter", "authorise my daughter's profile", "re-login to Guava", invalid_grant errors, or listing which profiles are connected.guava-health@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin guava-health