Skip to main content
Glama

Apple Health MCP Server

get_xml_structure

Analyze Apple Health XML export files to extract metadata, including file size, root elements, record types, workout types, and data sources, without loading the entire file content.

Instructions

Analyze the structure and metadata of an Apple Health XML export file without loading the entire content.

Returns:

  • file_size_mb: Size of the file in megabytes
  • root_elements: List of unique root-level XML tags
  • record_types: List of unique health record types (see RecordType for most frequent types, but may include others)
  • workout_types: List of unique workout types
  • sources: List of unique data sources (device/app names)

Notes for LLMs:

  • Use this to quickly understand the contents and structure of a health XML file
  • RecordType contains only the most frequent types; other types may appear as strings

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

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/the-momentum/apple-health-mcp-server'

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