Skip to main content
Glama
Barbaroso

apple-health-semantic-mcp

by Barbaroso

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OSCAR_DATA_DIRNoFolder containing oscar.db
HEALTH_DATA_DIRYesDirectory produced by convert
HEALTH_MAX_MEMORYNoDuckDB memory ceiling, MB2048
HEALTH_WINDOW_DAYSNoLoad only the last N days. '0' loads everything0
HEALTH_NIGHT_SPLIT_HOURNoHour separating one night from the next12

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
health_schemaA

List every available health table and return the curated semantic layer: what each metric measures, which aggregate function is valid for it, and the known traps in the data. Call this before writing any query.

health_queryA

Run a read-only DuckDB SQL query against the health tables. Call health_schema first so you know the columns and the correct aggregate function for each metric.

health_reportA

Generate a summary across heart rate, sleep, activity, blood oxygen, workouts and CPAP therapy for a period. The window is either a named relative period or explicit dates; the reply states which window was used and why, so check period.start and period.end against what you asked for. Use health_query for anything more specific.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/Barbaroso/apple-health-semantic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server