{"_id":"@neiltron/apple-health-mcp","_rev":"13-91df8865ca4cdd9dd873195a9d7bb882","name":"@neiltron/apple-health-mcp","dist-tags":{"latest":"1.4.5"},"versions":{"1.0.0":{"name":"@neiltron/apple-health-mcp","version":"1.0.0","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Kumar"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.0.0","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"b2354dd58a9c7ecd90538ec10cd365c8f714dc27","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.0.0.tgz","fileCount":3,"integrity":"sha512-c3KACN4FVVAdlR43VinQ56ZYk9WRpeDi6raQbq/AwsU+Mi718odGBd4XirVxro6nmJ4p22gFP9tqEiezWXjRyQ==","signatures":[{"sig":"MEYCIQCK/+hvYjMXTDCkkmS+K01i2GHT5QxRZcqs+12qSfK94wIhANx8KPnw5TPX+uK/0I1HQ3Td0e9t2egywN48cIjX7yJy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":452679},"main":"dist/server.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"9a7e8b65f713d3dc912b48e784043e5ffbe326c9","scripts":{"dev":"bun --watch src/server.ts","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"10.5.0","description":"MCP server for querying Apple Health data with DuckDB","directories":{},"_nodeVersion":"20.12.2","dependencies":{"duckdb":"^1.1.3","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.0.0_1753162176181_0.12633469882413895","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@neiltron/apple-health-mcp","version":"1.0.1","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Kumar"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.0.1","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"69f13b98ebb5ca825061e2d63cbadbbe98372972","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.0.1.tgz","fileCount":3,"integrity":"sha512-wZfCkc42tXNL5IRXflWVcFB+/rQ7EAn1BlNEtiRrpM5S2BfTHng5qi04d7IS17D3oThXryihgSIm4YwQlMNyvw==","signatures":[{"sig":"MEUCIQCIDvoShpr2vXAJ05oamYZ0VHzmZ59wSiJ85SrAjFzbuQIgKJqn9o+m7xxjqnVEa5x69QrXZm09DUEKwKXJvmXhujE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":457685},"main":"dist/server.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"3cf1edfd2f51b3b2717cfaaf72c8abe03862074d","scripts":{"dev":"bun --watch src/server.ts","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"10.5.0","description":"MCP server for querying Apple Health data with DuckDB","directories":{},"_nodeVersion":"20.12.2","dependencies":{"duckdb":"^1.1.3","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.0.1_1753163474998_0.2964802269316362","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@neiltron/apple-health-mcp","version":"1.0.2","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Kumar"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.0.2","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"5f1bc4fbf1abb84d98771b2df7ec91ae7d42e392","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.0.2.tgz","fileCount":3,"integrity":"sha512-pxcHb+loVZH6N70zdyaReB3p89gon9bvFQSY6zgw9GeIE3XhCRUp0ojIsJxhp0BLAmbtwpWDUctr+Zi+m4qvBg==","signatures":[{"sig":"MEUCIF34n9qCg42ylaOacadPf33v61GVZ4GOXklqQ5+GCVfIAiEAkxyc3b3v34K7WqgMwVx+xOwGV2HdvOoXp01n2/yg1+g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":458464},"main":"dist/server.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"947ccfa4a0fa33fab0d6ef8335e185caa660674a","scripts":{"dev":"bun --watch src/server.ts","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"10.8.1","description":"MCP server for querying Apple Health data with DuckDB","directories":{},"_nodeVersion":"22.4.0","dependencies":{"duckdb":"^1.1.3","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.0.2_1768591960385_0.03341655375439179","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@neiltron/apple-health-mcp","version":"1.1.0","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Kumar"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.1.0","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"03214dc3fa9351c1e1f479bc543bb58d3c3605a6","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.1.0.tgz","fileCount":3,"integrity":"sha512-uqvy+a1tmJbySEJ/KiGw+kqvWpQOM6n47Oa278aJJ6lHBOIEQdjQ+C+XooMU96Vi7KlZIiKPTkFOFbMQQVobXg==","signatures":[{"sig":"MEYCIQCA8J3T4VOpxeh+7ihiUX4Stt+r0/gjYXgAXp1GBE3HDQIhAIvuY1s7axbzfaCzfnd4RyC3nljnELW+PLi9AX/aZR+W","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":461651},"main":"dist/server.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"49de6c3e4eaadf7b1ad5946fe5a8c8359ba70fdc","scripts":{"dev":"bun --watch src/server.ts","test":"bun test","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"11.5.1","description":"MCP server for querying Apple Health data with DuckDB","directories":{},"_nodeVersion":"24.5.0","dependencies":{"duckdb":"^1.1.3","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.1.0_1785562919354_0.6176852170724667","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@neiltron/apple-health-mcp","version":"1.2.0","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Pullman"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.2.0","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"f6a3784174961b00d6c30b7aa6108f00862a2a31","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.2.0.tgz","fileCount":3,"integrity":"sha512-+d2mk0/4pWOSAoQNoPpZvbESOnnvH9IvIEXV2FIVAf2taIGas6x1Bljuzl6Ii1K3kJddb4Ibb/ImOzq2ITgmGA==","signatures":[{"sig":"MEYCIQCQ6pH8HobQoFgYkt/Kvyno7hRjdfM3KS95EfySGfZrpgIhAOGQLc6wI5Q4fuDj3pYrMEJS1X0fhrKubVOSOB8SSEoa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":481764},"main":"dist/server.js","pnpm":{"onlyBuiltDependencies":["duckdb"]},"type":"module","engines":{"node":">=22.0.0"},"gitHead":"b4205097a522a6db7e315f1b6d3544fb0f939ec7","scripts":{"dev":"bun --watch src/server.ts","test":"bun test","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"11.5.1","description":"MCP server for querying Apple Health data with DuckDB","directories":{},"_nodeVersion":"24.5.0","dependencies":{"duckdb":"^1.4.4","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.2.0_1785988330449_0.6991098020534741","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@neiltron/apple-health-mcp","version":"1.2.1","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Pullman"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.2.1","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"580654c2a3a391091587bfed25671acfcf5ead15","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.2.1.tgz","fileCount":3,"integrity":"sha512-LV6C8Fy76PPvCx47igag0/sSVZxke0ZNa5Qe6t6UOuWntjYcapiLkqhPPEHXGSYjjCFIXTeAX+/mtr3ZCyA22A==","signatures":[{"sig":"MEQCIEqFAr86fdNU74drIpuhPK981WFAOMre1ZlkNUs99w6QAiA30s7n7TXbkEhSLXKkzHKvqFgBzFa8ozf5voQhBBQWYg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":481816},"main":"dist/server.js","pnpm":{"onlyBuiltDependencies":["duckdb"]},"type":"module","engines":{"node":">=22.0.0"},"gitHead":"c31f140f064e10e00b325a31c61b3275149d6b26","mcpName":"io.github.neiltron/apple-health-mcp","scripts":{"dev":"bun --watch src/server.ts","test":"bun test","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"11.5.1","description":"MCP server for querying Apple Health data with DuckDB","directories":{},"_nodeVersion":"24.5.0","dependencies":{"duckdb":"^1.4.4","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5.7.3","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.2.1_1785988674229_0.44483994243246094","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@neiltron/apple-health-mcp","version":"1.3.0","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Pullman"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.3.0","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"25f78b943585f01ddbe338c0545d838cdb96f4c4","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.3.0.tgz","fileCount":3,"integrity":"sha512-DfCcjD4g64VjO+u7V+T78fFuGSaj3d3v2lkuV+kIffkZNaE0YiJTcYecK34ae1UXcpRYxMpycN8Q7ikGIpffWg==","signatures":[{"sig":"MEQCIFZxFRa4wQIt91BCCBfkeDS15IguykbDI0K+CZGC61RfAiAIe1XOD71zXaTF0MS/7++0UaXtAlfjb0lkmA08VQ6HtA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":480785},"main":"dist/server.js","pnpm":{"onlyBuiltDependencies":["duckdb"]},"type":"module","engines":{"node":">=22.0.0"},"gitHead":"a7b01c7c3d08109d371735657c8c45bdf3f1c138","mcpName":"io.github.neiltron/apple-health-mcp","scripts":{"dev":"bun --watch src/server.ts","test":"bun test","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"11.5.1","description":"MCP server for querying Apple Health data with DuckDB","directories":{},"_nodeVersion":"24.5.0","dependencies":{"duckdb":"^1.4.4","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^7.0.2","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.3.0_1786817691671_0.9820991149318516","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@neiltron/apple-health-mcp","version":"1.4.0","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Pullman"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.4.0","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"ee40190d0d5bd08dfd690dc7ddf42629f8d6dd35","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.4.0.tgz","fileCount":4,"integrity":"sha512-7nUtz0DBKjaO6kcb2FlC4BDqeYzg/Ott4MmRIqaa35QHHgqwiJDaShnGE2bhAAElg3CdQ8wRVpwDiOZnER1YFw==","signatures":[{"sig":"MEUCIFhdSZNax3ntLSpRHSJtbL6EVe/3uEXfiGbpEsxbnGyNAiEAmFUz17v+nxQS++tXQj6uZjeAzWN/hNVM+STrrUxmONE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":487827},"main":"dist/server.js","pnpm":{"onlyBuiltDependencies":["duckdb"]},"type":"module","engines":{"node":">=22.0.0"},"gitHead":"d50ab161a5e996a6b3adc0a7da81c6f8ee11cf5f","mcpName":"io.github.neiltron/apple-health-mcp","scripts":{"dev":"bun --watch src/server.ts","test":"bun test","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"11.5.1","description":"MCP server for querying Apple Health data with DuckDB","directories":{},"_nodeVersion":"24.5.0","dependencies":{"duckdb":"^1.4.4","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^7.0.2","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.4.0_1786901358094_0.11520296535571828","host":"s3://npm-registry-packages-npm-production"}},"1.4.1":{"name":"@neiltron/apple-health-mcp","version":"1.4.1","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Pullman"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.4.1","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"0fad1a0cba561040abe46eff63133f1032e35312","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.4.1.tgz","fileCount":4,"integrity":"sha512-ibb40H+zLlMitYC2L6affMFV3rcZV5LPW+OPZIKz1h0s9lKbMHqajgXTfY0jofnByElCeN/8f7JgITBtgiRM+g==","signatures":[{"sig":"MEYCIQCEofTxuFktV8rdZVrNk0TQEq2mx16+kneUzKLNRfs+4wIhAOK6loLvykgaenogwQTIIIuxYXduWDvuBRIyQDxpXtH/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":487853},"main":"dist/server.js","pnpm":{"onlyBuiltDependencies":["duckdb"]},"type":"module","engines":{"node":">=22.0.0"},"gitHead":"70e49ee6c780985b8314ad96099634588d8dc5c5","mcpName":"io.github.neiltron/apple-health-mcp","scripts":{"dev":"bun --watch src/server.ts","test":"bun test","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"11.5.1","description":"MCP server for querying Apple Health data with DuckDB","directories":{},"_nodeVersion":"24.5.0","dependencies":{"duckdb":"^1.4.4","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^7.0.2","@types/node":"^22.10.5"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.4.1_1786942813781_0.42986398979576945","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@neiltron/apple-health-mcp","version":"1.4.3","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Pullman"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.4.3","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"a07e2cb2e1f2911aacba78704c9ecd97fc48d8b1","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.4.3.tgz","fileCount":4,"integrity":"sha512-lo0Z90ZAdm8TiLltGQRm9gkGaD8VDNMjof8DPWHkB2xNA5jjscxTZZydTBpdrmxxfrDZCUJ/Rs8F4sNZHM6nwg==","signatures":[{"sig":"MEUCIBJRn8Zi9TZizYyGQpDGMh4GFPUcqrIYJzWD4aCUC91/AiEA294/FDQhC03J5GlUzbRznskWZhb7k39bBCO6LKFIQNo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIBwIyRe8RJduSUt7N0ppgtSOO892Xtedg/R1XktDLNcuAiB0ohr4Sfosb/I/Xlumt12N9xglPoba6M6mgwXw5gGWtA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":494825},"main":"dist/server.js","pnpm":{"onlyBuiltDependencies":["duckdb"]},"type":"module","engines":{"node":">=22.0.0"},"gitHead":"045354ecf0b009e4f80572b5a9de17382dffa41c","mcpName":"io.github.neiltron/apple-health-mcp","scripts":{"dev":"bun --watch src/server.ts","lint":"oxlint","test":"bun test","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"overrides":{"qs":"^6.15.3","tar":"^7.5.22","hono":"^4.13.4","node-gyp":"^11.0.0","ip-address":"^10.5.0","path-to-regexp":"^8.4.2","brace-expansion":"^2.1.3"},"deprecated":"Built from a review branch; use 1.4.4","repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"11.5.1","description":"Local-first Apple Health MCP server. Lets AI assistants answer questions about your sleep, workouts, activity and heart data from a local export.","directories":{},"_nodeVersion":"24.5.0","dependencies":{"duckdb":"1.4.4","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"oxlint":"1.79.0","@types/bun":"latest","typescript":"^7.0.2","@types/node":"^22.10.5","@oxlint/plugins":"1.79.0"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.4.3_1789867201692_0.09689913936479444","host":"s3://npm-registry-packages-npm-production"}},"1.4.4":{"name":"@neiltron/apple-health-mcp","version":"1.4.4","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"author":{"name":"Neil Pullman"},"license":"MIT","_id":"@neiltron/apple-health-mcp@1.4.4","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"homepage":"https://github.com/neiltron/apple-health-mcp#readme","bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"bin":{"apple-health-mcp":"dist/server.js"},"dist":{"shasum":"44fd3c63309f65692026c3bf0b2253ad9116da5e","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.4.4.tgz","fileCount":4,"integrity":"sha512-R74Zfpdcu1NYywbIUnt336UtXDmnEGz1GGg8gzAnyUSe/wD75q+xG7eBqNUTUyU5J2bIwkfO8/x6s2kMu9Rp6w==","signatures":[{"sig":"MEYCIQDAJ7t/VmVRoSVpMveDZuv8vgLIXTzhTwofPYgvBsc2kwIhANgjEzcJFEM00BuXRAYfobuvQcSzfv9yZLSYc24yC/QB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBCbAYAtXLMjeRJxU7cmpUsBHyro1aAioIqcpC7GJYGGAiEA766oCtdL3gKOJyZrgRPMJZOtORwR36oyu+39lGkpzdY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":495799},"main":"dist/server.js","pnpm":{"onlyBuiltDependencies":["duckdb"]},"type":"module","engines":{"node":">=22.0.0"},"gitHead":"db07ee39e55e9db36bf4fe42612fcc40c0eb6733","mcpName":"io.github.neiltron/apple-health-mcp","scripts":{"dev":"bun --watch src/server.ts","lint":"oxlint","test":"bun test","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"neiltron","email":"neil@descend.org"},"overrides":{"qs":"^6.15.3","tar":"^7.5.22","hono":"^4.13.4","node-gyp":"^11.0.0","ip-address":"^10.5.0","path-to-regexp":"^8.4.2","brace-expansion":"^2.1.3"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"11.5.1","description":"Local-first Apple Health MCP server. Lets AI assistants answer questions about your sleep, workouts, activity and heart data from a local export.","directories":{},"_nodeVersion":"24.5.0","dependencies":{"duckdb":"1.4.4","@modelcontextprotocol/sdk":"^1.30.0"},"_hasShrinkwrap":false,"devDependencies":{"oxlint":"1.79.0","@types/bun":"latest","typescript":"^7.0.2","@types/node":"^22.10.5","@oxlint/plugins":"1.79.0"},"_npmOperationalInternal":{"tmp":"tmp/apple-health-mcp_1.4.4_1789867648835_0.8560719960002767","host":"s3://npm-registry-packages-npm-production"}},"1.4.5":{"_id":"@neiltron/apple-health-mcp@1.4.5","bin":{"apple-health-mcp":"dist/server.js"},"bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"dist":{"shasum":"c21e311e53c66cc0da9dc3c40b5b39dba6733fb8","tarball":"https://registry.npmjs.org/@neiltron/apple-health-mcp/-/apple-health-mcp-1.4.5.tgz","integrity":"sha512-ekjcVHM3XQUJcsCU1NaLd2uypaGUGUsauw1WYIhSlPmSp7uv/zHk8/W29+X6iESCkqPiYeDwqVZPZ0HWHn/wpQ==","fileCount":4,"unpackedSize":488152,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@neiltron%2fapple-health-mcp@1.4.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAFfq7HCXtVlF7P6KQ9W08rfeXkoxirbk71AiyWfdTd8AiBBTvvJbY6WNc8aMaACMPEQIrNMI95dv2Yh8MqHEf9/gQ=="}]},"main":"dist/server.js","name":"@neiltron/apple-health-mcp","pnpm":{"onlyBuiltDependencies":["duckdb"]},"type":"module","author":{"name":"Neil Pullman"},"engines":{"node":">=22.0.0"},"gitHead":"7f89ab15b75470004c2b98a3838c94fb2b7a3e95","license":"MIT","mcpName":"io.github.neiltron/apple-health-mcp","scripts":{"dev":"bun --watch src/server.ts","lint":"oxlint","test":"bun test","build":"bun build src/server.ts --outdir dist --target node --format esm --external duckdb","start":"node dist/server.js","build:tsc":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"version":"1.4.5","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6e723eac-4ca9-41b4-b64d-48bfd1d63a48"},"approver":{"name":"neiltron","email":"neil@descend.org"}},"homepage":"https://github.com/neiltron/apple-health-mcp#readme","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"overrides":{"qs":"^6.15.3","tar":"^7.5.22","hono":"^4.13.4","node-gyp":"^11.0.0","ip-address":"^10.5.0","path-to-regexp":"^8.4.2","brace-expansion":"^2.1.3"},"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"_npmVersion":"11.19.1","description":"Local-first Apple Health MCP server. Lets AI assistants answer questions about your sleep, workouts, activity and heart data from a local export.","directories":{},"maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"_nodeVersion":"24.20.0","dependencies":{"duckdb":"1.4.4","@modelcontextprotocol/sdk":"^1.30.0"},"devDependencies":{"oxlint":"1.79.0","@types/bun":"latest","typescript":"^7.0.2","@types/node":"^22.10.5","@oxlint/plugins":"1.79.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/apple-health-mcp_1.4.5_1789878463866_0.6650958894325145"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-22T05:29:36.055Z","modified":"2026-09-20T04:27:44.274Z","1.0.0":"2025-07-22T05:29:36.397Z","1.0.1":"2025-07-22T05:51:15.162Z","1.0.2":"2026-01-16T19:32:40.529Z","1.1.0":"2026-08-01T05:41:59.567Z","1.2.0":"2026-08-06T03:52:10.607Z","1.2.1":"2026-08-06T03:57:54.393Z","1.3.0":"2026-08-15T18:14:51.805Z","1.4.0":"2026-08-16T17:29:18.243Z","1.4.1":"2026-08-17T05:00:13.931Z","1.4.3":"2026-09-20T01:20:01.819Z","1.4.4":"2026-09-20T01:27:28.919Z","1.4.5":"2026-09-20T04:27:43.967Z"},"bugs":{"url":"https://github.com/neiltron/apple-health-mcp/issues"},"author":{"name":"Neil Pullman"},"license":"MIT","homepage":"https://github.com/neiltron/apple-health-mcp#readme","keywords":["apple-health","mcp","model-context-protocol","health-data","duckdb","sql","health-analytics"],"repository":{"url":"git+https://github.com/neiltron/apple-health-mcp.git","type":"git"},"description":"Local-first Apple Health MCP server. Lets AI assistants answer questions about your sleep, workouts, activity and heart data from a local export.","maintainers":[{"name":"neiltron","email":"neil@descend.org"}],"readme":"# Apple Health MCP Server\n\n[![npm version](https://badge.fury.io/js/@neiltron%2Fapple-health-mcp.svg)](https://www.npmjs.com/package/@neiltron/apple-health-mcp)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nQuery Apple Health data from an MCP client using SQL and DuckDB. The server runs\nlocally, reads CSV exports on demand, and provides tools for schema discovery,\nanalytical queries, and health summaries.\n\n## Requirements\n\n- Node.js 22 or newer\n- An Apple Health CSV export created with\n  [Simple Health Export CSV](https://apps.apple.com/us/app/simple-health-export-csv/id1535380115)\n\nThe native Apple Health `export.xml` format is not currently supported.\n\n## Configure an MCP client\n\nFor Claude Desktop, add the following to\n`~/Library/Application Support/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"apple-health\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@neiltron/apple-health-mcp\"],\n      \"env\": {\n        \"HEALTH_DATA_DIR\": \"/path/to/your/unzipped/health-export\"\n      }\n    }\n  }\n}\n```\n\nRestart the client after changing its configuration. Other MCP clients can use\nthe same command, arguments, environment, and `stdio` transport.\n\n### Environment variables\n\n| Variable | Required | Default | Purpose |\n| --- | --- | --- | --- |\n| `HEALTH_DATA_DIR` | Yes | — | Directory containing the exported CSV files |\n| `MAX_MEMORY_MB` | No | `2048` | DuckDB memory limit in megabytes |\n| `CACHE_SIZE` | No | `100` | Maximum number of cached query results |\n\n## Export health data\n\n1. Install and open Simple Health Export CSV on your iPhone.\n2. Select **All** and choose the time range to export.\n3. Transfer the archive to the computer running your MCP client.\n4. Unzip it and set `HEALTH_DATA_DIR` to the resulting directory.\n\nThe server reads the files in place. It does not upload the export or make\nnetwork requests, although query results returned to your MCP client may be\nsent to that client's configured model provider.\n\n## Tools\n\n| Tool | Purpose |\n| --- | --- |\n| `health_schema` | Discover table names, columns, units, and sample rows |\n| `health_query` | Run one DuckDB SELECT-family analytical statement with JSON, CSV, or summary output |\n| `health_report` | Generate a weekly, monthly, or custom health summary |\n\nStart with `health_schema`; table names depend on the files in your export.\nSee [Querying Apple Health data](https://github.com/neiltron/apple-health-mcp/blob/main/docs/querying.md)\nfor the data model and working examples.\n\n`health_query` accepts one DuckDB analytical statement. See\n[Query safeguards](https://github.com/neiltron/apple-health-mcp/blob/main/docs/architecture.md#query-safeguards)\nfor supported statements and restricted operations.\n\n## Query safeguards\n\nThe server limits DuckDB file access to `HEALTH_DATA_DIR`. It also disables\nnetwork access and temporary disk storage, and it locks the database settings.\nThe data directory stays readable and writable so the importer can read CSV\nfiles.\n\nThese controls reduce accidental side effects from generated SQL. They do not\nisolate the process. Run the server through a local `stdio` MCP client. Do not\nexpose it to an untrusted network client. Use process or OS isolation if the\nserver must accept untrusted SQL.\n\n## History and memory\n\nThe first request that needs a table loads that table's full CSV history. There\nis no date window, so a query can reach as far back as the export goes.\n\nBecause every tool can reach the whole configured history, only start this\nserver from an MCP client you trust with that data.\n\nLoaded tables are held in memory, and DuckDB is given the `MAX_MEMORY_MB` limit\ndescribed above. Roughly 1 GiB covers a two-year multi-table export, so the\n2048MB default leaves headroom; raise `MAX_MEMORY_MB` for a larger export. The\nserver never spills health rows to a temporary directory on disk, so an export\nthat does not fit in the limit fails with an explicit error instead.\n\nOther current limitations:\n\n- Only the Simple Health Export CSV layout is supported.\n- The DuckDB database is in memory and is rebuilt for each server process, so\n  each launch reloads from the CSV files. Persistent incremental import is\n  planned future work, not current behavior.\n- Device overlap can produce duplicate-looking measurements; queries should\n  account for `sourceName` where appropriate.\n- Health reports summarize recorded data and are not medical advice.\n\n## Development\n\n```bash\ngit clone https://github.com/neiltron/apple-health-mcp.git\ncd apple-health-mcp\nbun install\n\nnpm test\nnpm run typecheck\nnpm run build\n```\n\nSee [Architecture](https://github.com/neiltron/apple-health-mcp/blob/main/docs/architecture.md)\nfor the code layout, data lifecycle, and implementation constraints.\nSee [Release procedure](https://github.com/neiltron/apple-health-mcp/blob/main/docs/releasing.md)\nfor publishing and recovery steps.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}