health-mcp
Syncs workout data from Hevy, including workouts, exercise templates, and body measurements.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@health-mcpsync my latest Hevy workouts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
health-mcp
A single agent-facing surface over one person's health data, so an AI can cross-reference sources that usually sit in separate apps — training and nutrition today ("did intake track with volume?"), with room to bring in sleep or other metrics later — in service of actually optimizing toward that person's health goals, not just logging numbers.
It's an MCP server, speaking stdio, backed by one SQLite file. Training data is synced in from external sources — currently Hevy for lifting, with Strava for cardio planned next. Food is logged directly through the agent against a small hand-curated Catalog of Products.
Tools
find_product(query?)— search the Catalog by name/brand; list it all ifqueryis omitted. Always call this beforelog_foodagainst a Catalog item.add_product(...)— add a Product to the Catalog. Macros are per 100g;sourceisverified(off a package label) orestimated.log_food(grams, product_id? | name + macros, at?)— log that a quantity was eaten, either against a Catalog Product or as a one-off (always recorded as estimated).delete_food_entry(id)— remove a Food Log Entry.sync_workouts(full?)— pull new workouts, exercise templates, and body measurements from Hevy. Delta by default;full=Truere-fetches everything and reconciles deletions.query(sql)— read-only SQL (SELECT/WITHonly) against the whole schema. There are deliberately no narrow read tools (list_workouts,daily_nutrition, etc.) — see ADR-0006.
The domain vocabulary these tools use (Product, Food Log Entry, Macros, Catalog, Verified/Estimated, Day, Workout, Volume) is defined in CONTEXT.md.
Related MCP server: Apple Health AI Bridge MCP Server
Setup
Requires Python 3.13+ and uv.
uv syncConfigure via a .env file in the repo root (or HEALTH_MCP_* env vars):
HEALTH_MCP_DB_PATH=/path/to/health.db # defaults to ~/health/health.db
HEALTH_MCP_HEVY_API_KEY=... # required for sync_workouts / `sync`Migrations run automatically on every CLI invocation.
Running
As an MCP server (what Claude Code / Claude Desktop launch):
uv run health-mcp serveThis repo is already registered as a project-scoped MCP server in .mcp.json, so any
Claude Code session opened here loads it automatically.
Other CLI commands:
uv run health-mcp sync # pull new workouts from Hevy (delta)
uv run health-mcp sync --full # re-fetch everything, reconcile deletions
uv run health-mcp normalize # re-parse stored raw workout payloads, no networkTests
uv run pytestRoadmap
Next up is a Strava sync for cardio (runs, rides) alongside the existing Hevy sync for
lifting, so query can answer questions across both. See "Future ideas" in
PLAN.md for this and other planned work.
Design notes
Key decisions and their rationale live in docs/adr/:
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceRead-only MCP server that exposes Apple Health data (steps, workouts, sleep, etc.) from a local SQLite store, allowing AI agents to query health metrics without sending data to hosted services.3Apache 2.0
- AlicenseAqualityAmaintenanceAn MCP server that exposes the Hevy fitness API as 22 tools, enabling AI agents to manage workouts, routines, exercise templates, and body measurements through natural language.2365MIT
- Alicense-qualityAmaintenanceAn MCP server that securely syncs and queries your health data from Apple Health, storing it in your own Supabase Postgres database and exposing tools for AI assistants to retrieve weight, calories, macros, and more.16MIT
Related MCP Connectors
Create Hevy routines and analyze your training from chat. Unofficial; BYO Hevy PRO API key.
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielv27/health-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server