In-depth architectural comparison of the Health Export MCP and Langfuse MCP Java MCP servers. Compare execution transports, security boundaries, tool capabilities, quality scores, and ready-to-paste client installation snippets for Claude, Cursor, Windsurf, and VS Code.
At a Glance & Executive Verdict
Health Export MCP
Monitoring · Local stdio
Quality: 61/100 (Good) | Auth: No auth required
Langfuse MCP Java
Monitoring · Local stdio
Quality: 53/100 (Good) | Auth: API Key required
Verdict Summary: Choose Health Export MCP if you need specialized Monitoring tools running via a local process. Choose Langfuse MCP Java if your workspace requires Monitoring integration with local subprocess execution. Both servers can be configured concurrently in your client's mcpServers manifest.
Which MCP Server Should You Choose?
Choose Health Export MCP when:
You need dedicated capabilities in the Monitoring domain.
You prefer local stdio subprocess transport architecture.
Your security boundary fits: No auth required (Free / Open Source).
You have access to required keys: HEALTH_DATA_DIR.
Query 190 Apple Health metrics from any MCP agent — zero-dependency, read-only, local-first.
Query Langfuse traces, debug exceptions, analyze sessions, scores, datasets, schema, observations and manage prompts. Full observability toolkit for LLM applications. (https://github.com/langfuse/langfuse)
Category & Scope
Tools & Capabilities Breakdown
Health Export MCP Tools (14)
get_mcp_status
Health check: data source, how many metrics/workouts are available, which optional context files exist, and the most recent data date. Call this first to confirm the bridge is connected.
list_metrics
List every available Apple Health metric with its unit, day count, and date range. Use this to discover metric names before querying.
get_health_metrics
Get values for a metric (or all metrics) over an optional date range, with an aggregate (avg/sum/min/max/latest). The core data-retrieval tool. Every result carries a `coverage` block giving the metric's real firstDate/lastDate/days: check it before trusting a long window, and note that `aggregate` is always computed over the full range even when `points` are rolled up. Single-metric answers also list any logged point events inside the window as segmentBoundaries.
get_trends
Compare the most recent N-day window against the prior N days for a metric: change, percent change and direction (up/down/flat). Also returns `daysAvailable` and `windowSatisfied`: if windowSatisfied is false the file does not hold enough history for the window you asked for, and the comparison is over less data than requested. Logged point events inside the compared span are listed as segmentBoundaries.
Ready-to-Paste Client Configurations
Paste either (or both) of these JSON server blocks into your client config file (e.g. claude_desktop_config.json or ~/.cursor/mcp.json).
Health Export MCP is categorized under Monitoring and uses a local stdio subprocess. In contrast, Langfuse MCP Java belongs to Monitoring using local stdio subprocess. Select Health Export MCP when you need capabilities focused on monitoring and Langfuse MCP Java when you require tools for monitoring.
Compare a metric between two arbitrary date periods (A vs B): each aggregate plus the change and percent change. Pass periodA/periodB explicitly, or pass anchor {eventId, days} to build both periods around a logged event (the before/after question, with the event day excluded from both sides).
get_structured_export
Return clean structured JSON for the chosen metrics/date range. Paginated: the result carries `nextCursor` when more metrics remain; pass it back as `cursor` for the next page. Prefer naming the metrics you need and a date range; calling it bare over a full history is a lot of data.
get_intraday
The current hour-by-hour window from the iOS app's HOURLY automations (health-intraday.json, app 1.4+): each metric's hourly points plus its latest value. The file is REPLACED on every hourly run, so this is a live within-day view, not history; use get_health_metrics for day-level questions. Returns available:false with setup guidance when no hourly automation has delivered yet.
query_health_data
Natural-language convenience: pass a question and get routed structured results. Prefer the specific tools above when you can, and call list_metrics first to see how much history exists, since this tool answers over whatever the file holds.
list_events
Logged context events from health-events.json: medication starts, habit changes, doctor visits, life events, shift blocks, episodes, travel, and any type a newer app adds. Optional {type, tag, start, end} filters; a range event matches a window it overlaps. Sorted ascending by date. Returns available:false when the file was never exported; absence means nothing was exported, not that nothing happened.
get_profile
The context fields the user explicitly opted in to sharing (health-profile.json): conditions, medications, goals, allergies, notes. Returns the fields plus a presentFields list. An absent field was withheld by the user or never enabled; absence must never be read as "none".
get_workouts
Query the workouts cache with {activityType (a name like Running, or a raw HealthKit id like 37), start, end} filters and pagination ({limit} default 50 max 200, {cursor} from a previous nextCursor). Records are returned exactly as stored, including the newer optional keys (avgHeartRate, maxHeartRate, running dynamics, cycling power, intervals, hasRoute) when the app exported them; older caches simply lack those keys and nothing is fabricated. Also returns summary {count, byActivityType} over everything that matched.
get_sleep_sessions
Clustered sleep sessions from health-sessions.json with {start, end, day} filters. Sessions are attributed to the WAKING day, matching the daily cache's sleep_analysis, so the two surfaces never disagree; a split night appears as multiple sessions with the same day, returned as-is. Timestamps carry the local UTC offset at the time of the sample.
+2 more tools listed on main page
Langfuse MCP Java Tools (55)
fetch_traces
Paginated list of traces. Filter by `userId`, `name`, `sessionId`, `tags`, `fromTimestamp`, `toTimestamp`.
fetch_trace
Full detail of a single trace including nested observations, input/output, metadata, latency, and token usage. Requires `traceId`.
find_exceptions
Traces whose `level` equals `ERROR`. Supports time range and pagination.
find_exceptions_in_file
Error-level traces whose metadata contains a given file name substring. Requires `fileName`.
get_exception_details
Full detail of a single error trace. Requires `traceId`.
get_error_count
Count of `ERROR`-level traces in a time range (scans up to 500 traces).
delete_trace
Permanently deletes a single trace by ID. **Irreversible.
delete_traces
Permanently deletes multiple traces. Pass a comma-separated list of trace IDs. **Irreversible.
fetch_sessions
Paginated list of sessions with optional time range filter.
get_session_details
Full session detail including all its traces. Requires `sessionId`.
get_user_sessions
All sessions for a specific user with pagination. Requires `userId`.