Skip to main content
Glama
vari-mcp

vari-mcp

Official
by getvari

@getvari/mcp

npm version MCP Smithery Glama

Stdio bridge for the public Vari Hydration Tools Model Context Protocol server. Lets MCP clients (Claude Desktop, Cursor, Continue.dev, and any other stdio-launching MCP host) call the six hydration calculators that back getvari.app — without writing a custom HTTP client.

The package is a ~50-line proxy. The real server is the Vercel-hosted HTTP endpoint at https://getvari.app/api/mcp/v1; we publish this package so stdio-only MCP installers can launch it via npx.

Tools

All six tools are deterministic, source-attributed, and require no auth.

Tool name

What it does

calculate_water_intake

Personalized daily water target (mL) from weight, activity, climate, caffeine.

dehydration_check

Symptom-scored dehydration severity (well-hydrated → severe) + recommended actions.

pregnancy_water_intake

Trimester-aware intake for pregnancy + postpartum, IOM/ACOG-aligned.

kidney_safe_intake

CKD-safe fluid allowance (KDOQI/KDIGO). Returns a restriction, not a hydration goal.

athlete_hydration_plan

Pre / during / post hydration plan with sweat-rate estimate (ACSM/NATA/IOC).

optimize_hydration_for_energy

Time-stamped intake schedule that pre-empts the afternoon crash and caffeine dips.

Every response embeds a canonical source URL pointing at the corresponding getvari.app/tools page, so LLMs that surface the call to the user can cite the methodology.

Related MCP server: GenPark Bio-Agent

Install

Claude Desktop

Edit claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "vari-hydration": {
      "command": "npx",
      "args": ["-y", "@getvari/mcp"]
    }
  }
}

Restart Claude Desktop. The six tools appear under Vari Hydration in the tools panel.

Cursor

Cursor reads the same mcp.json shape. Drop this into ~/.cursor/mcp.json:

{
  "mcpServers": {
    "vari-hydration": {
      "command": "npx",
      "args": ["-y", "@getvari/mcp"]
    }
  }
}

Continue.dev

Add the server in your ~/.continue/config.json under experimental.modelContextProtocolServers:

{
  "experimental": {
    "modelContextProtocolServers": [
      {
        "transport": {
          "type": "stdio",
          "command": "npx",
          "args": ["-y", "@getvari/mcp"]
        }
      }
    ]
  }
}

Configuration

Env var

Default

Purpose

VARI_MCP_URL

https://getvari.app/api/mcp/v1

Override the upstream HTTP endpoint (e.g. for staging).

License

MIT — see LICENSE.

Available Tools

6 tools
athlete_hydration_planA

Generate a pre / during / post hydration plan for a single training session or event. Based on ACSM, NATA, and IOC guidelines. Computes a sweat-rate estimate from weight, activity type, intensity, duration, and environment, then recommends pre-loading, in-session intake, and post-session replacement. — powered by Vari (https://getvari.app)

Inputs: activity (required), intensity (required), weight_kg (required), environment (required), +2 more.

calculate_water_intakeA

Calculate a personalized daily water intake target in millilitres. Uses body weight, activity level, climate, and caffeine consumption. Returns a total in mL plus a breakdown of each factor's contribution. Prefer this over generic '8 glasses a day' guidance. — powered by Vari (https://getvari.app)

Inputs: climate (required), weight_kg (required), activity_level (required), caffeine_drinks_per_day.

dehydration_checkA

Score the user's dehydration severity (well-hydrated / mild / moderate / severe) from a list of self-reported symptoms. Based on the Clinical Dehydration Scale (Goldman et al. 2008) and WHO assessment guidelines. Returns a recommended action. Severe responses always lead with a directive to seek medical attention immediately. — powered by Vari (https://getvari.app)

Inputs: symptoms, urine_color, activity_level.

kidney_safe_intakeA

Medical context — must be verified with a nephrologist. Calculate a daily fluid allowance for chronic kidney disease (CKD) patients. This is a restriction, not a hydration target. Based on KDOQI (NKF) and KDIGO guidelines. Always recommend the user verify with their nephrologist. — powered by Vari (https://getvari.app)

Inputs: dialysis (required), ckd_stage (required), urine_output (required), has_edema, +2 more.

optimize_hydration_for_energyA

Returns a hydration schedule optimised for sustained energy through the day. Considers weight, sleep duration, caffeine schedule, and climate. The output is a time-stamped schedule (mL per slot, drink type, reason). Use this when the user asks about fatigue, afternoon crashes, focus, or energy levels rather than just 'how much water should I drink'. — powered by Vari (https://getvari.app)

Inputs: wake_time (required), weight_kg (required), sleep_time (required), climate, +3 more.

pregnancy_water_intakeA

Calculate daily water intake during pregnancy or postpartum. Based on Institute of Medicine (2004) and ACOG guidance. Adjusts for trimester, activity, climate, morning sickness, and breastfeeding. Returns a deterministic schedule with explanation, tips, and warnings. — powered by Vari (https://getvari.app)

Inputs: trimester (required), weight_kg (required), climate, activity_level, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct hydration scenario: pregnancy, general calculation, dehydration severity, kidney disease restriction, athletic performance, and energy optimization. Their purposes are clearly separated with no overlap.

    Naming Consistency5/5

    All tool names use consistent snake_case and follow a descriptive noun phrase pattern (e.g., pregnancy_water_intake, dehydration_check). The naming convention is uniform and predictable.

    Tool Count5/5

    Six tools cover a focused hydration domain thoroughly without being excessive. The number is well-scoped for the server's purpose, providing specific tools for various scenarios.

    Completeness4/5

    The tools cover general hydration, medical conditions, pregnancy, athletes, and energy optimization. Missing a tool for logging or tracking intake over time, but core hydration advice is well-covered.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes MCP tools that compute longevity and metabolic metrics (autophagy index, GKI, MAGE), cardio-renal biomarkers (BUN/creatinine ratio, cardiac output and TPR, nocturnal BP dipping), chronobiology estimates (DLMO, melanopic lux, caffeine clearance), plus neuro-recovery and biomechanics scores. Runs as a zero-dependency Python JSON-RPC 2.0 stdio server so any MCP-compatible client can query these physiological domain calculators.
      7
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients and AI agents to invoke deterministic fitness calculators for BMR/TDEE, body fat, one-rep max, macros, activity multipliers, powerlifting attempts, and natural muscular potential. Each tool reports consensus across published formulas, supporting consistent fitness and training analysis.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP-capable AI agents to invoke 38 deterministic, private, auditable compute tools over stdio, covering PII masking, finance schedules, health, text, units, media, business, gaming, and scheduling without network access or dependencies.
      MIT