macOS CLI & MCP server for Apple HealthKit - your health data, your way
MCPpedia last refreshed this data
Vitalink is an MCP server that macOS CLI & MCP server for Apple HealthKit - your health data, your way. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 60/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"vitalink": {
"args": [
"mcp",
"serve"
],
"command": "/path/to/vitalink"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A macOS CLI & MCP server for Apple HealthKit - enabling AI agents to read and write health data.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in health
MCP server for the ClinicalTrials.gov v2 API. Search trials, retrieve study details and results, and match patients to eligible trials.
Search ClinicalTrials.gov: find studies, retrieve results, match patients to candidate trials.
FL Studio MCP server: AI mixing, mix diagnosis, plugin control, patterns and composition.
Every doctor, your complete record: connect your patient portals or upload records from any doctor.
MCP Security Weekly
Get CVE alerts and security updates for Vitalink and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A macOS CLI & MCP server for Apple HealthKit - enabling AI agents to read and write health data.
cd ~/Developer/Vitalink
swift build -c release
# Copy to PATH (optional)
cp .build/release/vitalink /usr/local/bin/
IMPORTANT: HealthKit requires the binary to be code-signed with a valid Apple Developer certificate. Without proper signing, macOS will terminate the process immediately (SIGKILL / exit code 137).
security find-identity -v -p codesigning
Look for a certificate like Apple Development: Your Name (TEAMID).
# Build release
swift build -c release
# Sign with your certificate and entitlements
codesign --force --sign "Apple Development: Your Name (TEAMID)" \
--entitlements Resources/Vitalink.entitlements \
--options runtime \
.build/release/vitalink
# Verify signing
codesign -dvvv .build/release/vitalink
On first run, macOS will prompt for HealthKit authorization. You can also grant access in System Settings → Privacy & Security → Health.
vitalink status
vitalink authorize # Full read/write access
vitalink authorize --read-only # Read-only access
# Steps
vitalink read steps --from 7d --to now
# Heart Rate
vitalink read heart-rate --from 1d --json
# Workouts
vitalink read workouts --from 30d --activity-type running
# Activity Summary (Apple Watch rings)
vitalink read activity --date today
# Any quantity type
vitalink read quantity weight --from 30d
# Record weight
vitalink write quantity weight 75.5
# Record blood glucose
vitalink write quantity blood_glucose 95 --unit mg/dl
# Log a workout
vitalink write workout running \
--start "2025-01-05T07:00:00" \
--end "2025-01-05T07:30:00" \
--calories 300 \
--distance 5000
# Get stats for steps over the last week
vitalink query stats steps --from 7d
# Get daily trends for heart rate
vitalink query trends heart_rate --from 30d --interval day
Start the MCP server for AI agent integration:
vitalink mcp serve
List available tools:
vitalink mcp tools --json
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"vitalink": {
"command": "/path/to/vitalink",
"args": ["mcp", "serve"]
}
}
}
# Install mcpli
bun install -g mcpli
# Test MCP server
mcpli --help -- /path/to/vitalink mcp serve
# Call a specific tool
mcpli health_status -- /path/to/vitalink mcp serve
2025-01-05T10:30:00Z, 2025-01-051d (1 day ago), 7d, 1w (1 week), 1m (1 month)now, `to