1. Conduid
  2. Healthcare
  3. Quantified Self MCP
MCP server · Healthcare

Quantified Self MCP

A local [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server that lets an LLM — e.g. Claude Desktop — query your personal health and finance data. Everything is stored in two local SQLite files and read directly off disk by a Python process you control. No cloud database, no dashboard, no third-party service.

53Fair

Scored 19 hours ago · breakdown

About Quantified Self MCP

Quantified Self MCP is an MCP server published by Thecimal in the Healthcare category: a local [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server that lets an LLM — e.g. Claude Desktop — query your personal health and finance data. Everything is stored in two local SQLite files and read directly off disk by a Python process you control. No cloud database, no dashboard, no third-party service. Conduid read 20 tools from its source: aggregate_measurements, calculate_metric_trend, clear_metric, compare_metric_periods, detect_metric_anomalies, explain_metric_change and 14 more. No package is published for it, so it installs from a source checkout.

The repository has 10 stars and 1 forks, and its last commit was on 30 Nov 2026. Conduid has no tagged release on record for it. Its topics include finance, health, local-first and sqlite.

Install

From source
git clone https://github.com/Thecimal/quantified-self-mcp

Tools (20)

aggregate_measurementsPreview what one day's raw measurements would roll up to if a
ParameterTypeDescription
date *stringThe day to preview, formatted YYYY-MM-DD.
source_priorityarrayOrdered list of source names, e.g. ["Apple Watch", "Garmin"]. For any metric with more than one source that day, the first name in this list that's actually present wins in "aggregated" and the other source's readings for that metric are dropped from that preview. Omit to use the stored priority list and the same fallback the stored projection uses. Never affects "row" — see above.
calculate_metric_trendFit a simple straight-line trend to one metric over a window and
ParameterTypeDescription
end_datestringLast day to include, YYYY-MM-DD. Defaults to today.
metric *stringOne of steps, sleep_hours, resting_heart_rate, weight_kg, workout_minutes, mood, water_ml, heart_rate, hrv_ms.
start_datestringFirst day to include, YYYY-MM-DD. Defaults to 30 days before end_date.
clear_metricBlank out (set to null) a single metric for a single day, without
ParameterTypeDescription
date *stringThe day to clear a field for, formatted YYYY-MM-DD.
field *stringWhich metric to blank out. One of: steps, sleep_hours, resting_heart_rate, weight_kg, workout_minutes, mood, water_ml, heart_rate, hrv_ms.
compare_metric_periodsCompare one metric's average between two date ranges — e.g. "this
ParameterTypeDescription
metric *stringOne of steps, sleep_hours, resting_heart_rate, weight_kg, workout_minutes, mood, water_ml, heart_rate, hrv_ms.
period_a_end *string
period_a_start *string
period_b_end *string
period_b_start *string
detect_metric_anomaliesFlag days where one metric deviated sharply from its own baseline over
ParameterTypeDescription
end_datestringLast day to include, formatted YYYY-MM-DD. Defaults to today.
metric *stringOne of steps, sleep_hours, resting_heart_rate, weight_kg, workout_minutes, mood, water_ml, heart_rate, hrv_ms.
start_datestringFirst day to include, formatted YYYY-MM-DD. Defaults to 90 days before end_date.
thresholdnumberModified z-score cutoff. 3.5 (the default, Iglewicz & Hoaglin's standard value) flags only clear outliers; lower it (e.g. 2.5) to see more borderline days.
explain_metric_changeBuild an evidence bundle for "why did my <metric> look like that on
ParameterTypeDescription
date *stringThe day to explain, formatted YYYY-MM-DD.
metric *stringOne of steps, sleep_hours, resting_heart_rate, weight_kg, workout_minutes, mood, water_ml, heart_rate, hrv_ms.
export_health_data_csvWrite daily health metrics for a date range to a CSV file on disk,
ParameterTypeDescription
end_datestringLast day to include, YYYY-MM-DD. Defaults to today.
start_datestringFirst day to include, YYYY-MM-DD. Defaults to 30 days before end_date. Ranges over ~10 years are rejected.
find_metric_correlationCompute the Pearson correlation between two metrics over the same
ParameterTypeDescription
end_datestring
lag_daysinteger
metric_a *string
metric_b *string
start_datestring
get_baselineCompute "what's normal" for one metric over a window: mean, median, and
ParameterTypeDescription
end_datestringLast day to include, YYYY-MM-DD. Defaults to today.
metric *stringOne of steps, sleep_hours, resting_heart_rate, weight_kg, workout_minutes, mood, water_ml, heart_rate, hrv_ms.
start_datestringFirst day to include, YYYY-MM-DD. Defaults to 90 days before end_date.
get_data_statusReport how current and complete the database is: latest data date,
ParameterTypeDescription
stale_after_daysintegerHow many days the latest data may trail today before the status becomes STALE (30 days for weight and workouts). Defaults to 2. Metrics in HEALTH_PRIVATE_FIELDS are ignored.
get_import_statusList the most recent import runs, newest first: which importer, the
ParameterTypeDescription
limitintegerHow many import runs to return (1-50). Defaults to 5.
get_metric_historyOne metric's day-by-day values only, not the other metrics
ParameterTypeDescription
end_datestringLast day to include, YYYY-MM-DD. Defaults to today.
metric *stringOne of steps, sleep_hours, resting_heart_rate, weight_kg, workout_minutes, mood, water_ml, heart_rate, hrv_ms. Rejected if configured as private via HEALTH_PRIVATE_FIELDS.
start_datestringFirst day to include, YYYY-MM-DD. Defaults to 30 days before end_date.
get_metric_provenanceShow one metric's raw measurements for one day, broken down by which
ParameterTypeDescription
date *stringThe day to inspect, formatted YYYY-MM-DD.
metric *stringName of the metric to inspect, e.g. "resting_heart_rate".
get_recent_changesScan every (non-private) metric for what's changed lately: a recent
ParameterTypeDescription
daysintegerLength of the "recent" window in days (default 7). The comparison baseline is the 4x-as-long period immediately before it, so a 7-day recent window compares against the preceding 28 days.
log_daily_metricRecord one or more health metrics for a single day, creating that
ParameterTypeDescription
date *stringThe day to log, formatted YYYY-MM-DD.
heart_rateintegerNon-resting heart rate reading in bpm. 20-250.
hrv_msnumberHeart rate variability in milliseconds. 0-300.
moodintegerMood rating on a 1-10 scale.
resting_heart_rateintegerResting heart rate in bpm. 20-250.
sleep_hoursnumberHours of sleep. 0-24.
stepsintegerStep count for the day. 0-200,000.
water_mlintegerWater intake in millilitres. 0-10,000.
weight_kgnumberBody weight in kilograms. 1-500.
workout_minutesintegerMinutes of exercise. 0-1,440.
log_measurementRecord a single raw observation — one metric, one value, one point in
ParameterTypeDescription
metric *stringName of the metric, e.g. "resting_heart_rate", "steps". Not free-form: must already have an entry in the aggregation_rules table (steps, sleep_hours, resting_heart_rate, weight_kg, workout_minutes, mood, water_ml, heart_rate, hrv_ms, out of the box) — daily_metrics is a database-maintained projection over measurements (see db/schema.sql), so every metric written to it needs a known aggregation method (sum/mean/last) or there would be nothing telling the projection how to roll same-day readings up. metrics_schema lists the current set.
sourcestringWhere this came from, e.g. "Apple Watch", "manual". Optional.
source_typestringCategory of source, e.g. "wearable", "manual", "app". Optional.
timestamp *stringWhen the observation was taken, YYYY-MM-DD or a full ISO 8601 timestamp (YYYY-MM-DDTHH:MM:SS). Give local wall-clock time. A numeric UTC offset (e.g. -08:00) is dropped before storing, so the reading belongs to the day written in the timestamp; a trailing "Z" is kept and counts as UTC.
unitstringUnit the value is in, e.g. "bpm", "kg". Optional. If provided, must match the metric's canonical unit (case-insensitive); convert the reading to that canonical unit before logging.
value *numberThe numeric reading.
log_workout_sessionRecord one workout as a structured event — activity, timing, intensity,
ParameterTypeDescription
activity_type *stringWhat kind of workout, e.g. "running", "cycling", "strength". Free-form.
avg_heart_rateintegerAverage heart rate during the workout, bpm. Optional.
date *stringThe day the workout happened, YYYY-MM-DD.
duration_minutes *integerHow long it lasted, in minutes.
intensitystringOne of "low", "moderate", "high". Optional.
max_heart_rateintegerPeak heart rate during the workout, bpm. Optional.
notesstringFree-text notes, e.g. route or how it felt. Optional.
sourcestringWhere this came from, e.g. "Apple Watch", "manual". Optional.
start_timestringWhen it started, HH:MM (24-hour) or a full ISO timestamp. Optional.
read_health_dataRead daily health metrics from the local database: steps, sleep hours,
ParameterTypeDescription
end_datestringLast day to include, YYYY-MM-DD. Defaults to today.
start_datestringFirst day to include, YYYY-MM-DD. Defaults to 30 days before end_date. Ranges over ~10 years are rejected.
read_measurementsRead individual measurement rows (not the daily_metrics aggregate),
ParameterTypeDescription
end_datestringOnly return rows on/before this date (YYYY-MM-DD). Omit for no upper bound.
limitintegerMaximum rows to return, 1 to 1000 (default 200).
metricstringOnly return this metric. Omit for all metrics.
sourcestringOnly return rows from this source, e.g. "Apple Watch". Omit for all sources.
start_datestringOnly return rows on/after this date (YYYY-MM-DD). Omit for no lower bound.
read_workout_sessionsRead individual workout sessions (not the daily_metrics
ParameterTypeDescription
activity_typestringOnly return sessions of this activity type. Omit for all types.
end_datestringOnly return sessions on/before this date (YYYY-MM-DD). Omit for no upper bound.
limitintegerMaximum rows to return, 1 to 1000 (default 200).
start_datestringOnly return sessions on/after this date (YYYY-MM-DD). Omit for no lower bound.

Security checks

6 checks have not been run yet.

Questions

About Quantified Self MCP

How do I install Quantified Self MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Quantified Self MCP safe to use with an AI agent?

Its trust score is 53 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Quantified Self MCP still maintained?

Yes — the last commit was yesterday. The repository has 10 stars and 1 forks.

What tools does Quantified Self MCP provide?

Conduid read 20 tools from the source: aggregate_measurements, calculate_metric_trend, clear_metric, compare_metric_periods, detect_metric_anomalies, explain_metric_change, export_health_data_csv, find_metric_correlation and 12 more. 20 of them publish their parameters, listed under Tools above.