SuperAPI AI Directory

quantified-self-mcp

Query personal health and finance data stored in local SQLite files, without any cloud service.

Open website

About this tool

Quantified Self MCP is a local-first MCP server that provides AI agents with a local structured interface to personal health data. Its core philosophy is "your health data, your AI, your machine," emphasizing privacy, data provenance, and evidence.

Purpose: It enables AI agents to access a user's personal health history, allowing users to ask the AI questions, and the AI retrieves relevant data via MCP and analyzes it. The goal is not another health dashboard, but a trustworthy interface between health history and AI.

Main capabilities:

  • Local SQLite database: The health database runs locally, and the user controls where the data goes.
  • Supports both local and cloud AI: A fully local AI stack can be used; cloud models are also supported, in which case the MCP database remains local, but data returned by MCP tools may be sent to the model provider.
  • Built specifically for MCP-compatible AI agents.
  • Evidence and provenance: Analyses can be traced back to the underlying health data and its sources. Every trend, baseline, anomaly, comparison, correlation, recent change, and explanatory metric comes with a statement describing how strongly the result can be reported. Evidence is descriptive, reporting the coverage on which the result depends (days recorded, gap size, data freshness); profile evaluates coverage along multiple independent dimensions; decision is the authoritative output, derived only from the dimensions evaluated in profile, never from raw coverage numbers alone. Composite results aggregate component decisions into an overall_decision and are never stronger than the weakest component.
  • Analyze health history: Supports analysis across days, weeks, months, and years, including period comparisons, metric explanations, and more.
  • Import existing data: Supports importing existing health history such as Apple Health exports.
  • Currently exposes 20 tools, covering data access, measurements, workouts, analysis, personal intelligence, and data freshness (get_data_status, get_import_status).
  • Currently supported metrics include resting heart rate, exercise minutes, and more; the data model is extensible, and only the metrics actually used can be retained.

How to use:

  1. Import data.
  2. Optional: Run the built-in diagnostic tool to check Python, dependencies, and database readiness.
  3. Connect an MCP client: Configure an MCP-compatible client to run. Client-specific setup guides are in docs/clients/.

Use cases: Suitable for users who want to use AI to analyze personal health history while emphasizing privacy and data local ownership. It can be used to query raw measurements, workout sessions, data sources, period comparisons, supporting evidence, and more.

Limitations and security: Health data is sensitive. The design centers on local ownership: the database stays on the user's machine, no proprietary health data cloud is required, the user chooses the AI model, and it can run fully locally. Private metrics can be excluded from AI access; private fields are still stored locally but excluded from MCP read and analysis operations. See SECURITY.md for security considerations.

Other information: The project is open source, and contributions are welcome, especially in health data import, evidence and data quality, and MCP client integration. See CONTRIBUTING.md for details.