# Quantified Self MCP

Quantified Self MCP — an MCP server for Claude Code that exposes wearable health logs to AI assistants. Everything runs on local SQLite storage with mathematical validation of observed trends.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8 repo stars
- Author: Thecimal
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Thecimal/quantified-self-mcp
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/quantified-self-mcp

## What it does

The server provides structured access to wearable metrics imported from Apple Health, WHOOP, Oura, or Android Health Connect archives. Data stays inside a local SQLite file named `health.db`, which can be seeded with two months of synthetic metrics using `quantified-self-init-db --demo`.

A built-in ClaimEvidence system calculates sample density and logging continuity before classifying findings into evidence categories. You can block selected metrics from AI queries by declaring `HEALTH_PRIVATE_FIELDS=weight_kg,mood`. Readiness of system packages and the database schema is verified with `quantified-self-doctor`.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add quantified-self-mcp -- uvx quantified-self-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from quantified-self-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add quantified-self-mcp -- uvx quantified-self-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from quantified-self-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "quantified-self-mcp": {
            "command": "uvx",
            "args": [
                "quantified-self-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from quantified-self-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "quantified-self-mcp": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "quantified-self-mcp"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from quantified-self-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add quantified-self-mcp uvx quantified-self-mcp
```
uvx runs the command named after the package; if the README names another one, use uvx --from quantified-self-mcp <command>

## When to use it
- analyze wearable metrics inside a local SQLite database
- validate statistical significance of physiological shifts
- redact sensitive biometric parameters from model prompts
- ingest health exports from Apple Health, WHOOP, and Oura

## Example prompts
- Inspect changes in my resting pulse over the past fortnight
- Determine if recent evening strain influenced night recovery
- Summarize which biometric indicators fluctuated most this quarter

## Similar
- [oura-ring-mcp](https://affpapa.org/en/nevibecode/mcp/oura-ring-mcp.md) — MCP server · ★ 37 repo stars
- [oura](https://affpapa.org/en/nevibecode/skills/oura.md) — skill · 818 installs
- [whoop](https://affpapa.org/en/nevibecode/mcp/whoop.md) — MCP server · ★ 183 repo stars
- [Open Health Sync](https://affpapa.org/en/nevibecode/mcp/open-health-sync.md) — MCP server · ★ 72 repo stars
- [apple-health](https://affpapa.org/en/nevibecode/skills/apple-health.md) — skill · ★ 93 repo stars
- [Polar Health Data (self-hosted)](https://affpapa.org/en/nevibecode/mcp/polar-health-data-self-hosted.md) — MCP server · ★ 26 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
