Swift Health Kit
Seamlessly integrates Apple HealthKit data into your frontend applications via a streamlined, nonameplum API.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add swift-health-kit npx -- -y @trustedskills/swift-health-kit
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"swift-health-kit": {
"command": "npx",
"args": [
"-y",
"@trustedskills/swift-health-kit"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides access to Apple HealthKit data. It allows AI agents to retrieve and utilize health metrics like steps, distance walked, heart rate, and sleep analysis from a user's iPhone or other connected devices. The agent can then process this information for personalized recommendations or insights.
When to use it
- Fitness Tracking: Build an app that provides customized workout plans based on the user’s activity levels recorded by HealthKit.
- Sleep Analysis: Create a sleep coaching application that analyzes sleep data and offers tailored advice for improved rest.
- Heart Rate Monitoring: Develop a system to alert users or caregivers about unusual heart rate patterns detected through HealthKit data.
- Personalized Reminders: Trigger reminders based on activity levels, such as prompting hydration after a long walk.
Key capabilities
- Access to step count data
- Retrieval of distance walked information
- Ability to read heart rate metrics
- Sleep analysis data integration
Example prompts
- "What was my average daily step count last week?"
- "Show me a graph of my heart rate during yesterday's workout."
- "How much sleep did I get last night, and what was the quality like?"
- “Give me personalized recommendations for improving my sleep based on my recent trends.”
Tips & gotchas
- Requires user permission to access HealthKit data. Ensure clear communication about data usage and privacy.
- HealthKit data availability depends on the user’s device and connected health tracking devices.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.