Back to Home
neiltron icon

apple-health-mcp

Verified Safe

by neiltron

Overview

Query and analyze personal Apple Health data using SQL for health insights and automated reports.

Installation

Run Command
npx @neiltron/apple-health-mcp

Environment Variables

  • HEALTH_DATA_DIR
  • MAX_MEMORY_MB
  • CACHE_SIZE

Security Notes

The server uses an in-memory DuckDB instance and explicitly forbids DML/DDL operations ('drop', 'delete', 'truncate', 'insert', 'update', 'create table', 'alter') in the 'health_query' tool, allowing only SELECT statements. It processes local CSV files from a user-defined directory (`HEALTH_DATA_DIR`). The primary security considerations revolve around ensuring the `HEALTH_DATA_DIR` is trusted (as malicious CSV content could theoretically lead to resource exhaustion) and the robustness of the SQL query validation, which is a keyword-based check. Given it's designed as an internal MCP server for local data, these measures provide a high level of safety against typical external threats.

Similar Servers

Stats

Interest Score97
Security Score9
Cost ClassHigh
Avg Tokens2500
Stars511
Forks16
Last Update2026-01-16

Tags

Apple HealthHealth Data AnalysisSQLDuckDBMCP Server