Back to Directory/Developer Tools

io.github.getvari/vari-mcp

6 hydration calculators for LLMs: water intake, dehydration, pregnancy, CKD, athlete, energy.

Developer ToolsJavaScriptv1.0.1

@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 nameWhat it does
calculate_water_intakePersonalized daily water target (mL) from weight, activity, climate, caffeine.
dehydration_checkSymptom-scored dehydration severity (well-hydrated → severe) + recommended actions.
pregnancy_water_intakeTrimester-aware intake for pregnancy + postpartum, IOM/ACOG-aligned.
kidney_safe_intakeCKD-safe fluid allowance (KDOQI/KDIGO). Returns a restriction, not a hydration goal.
athlete_hydration_planPre / during / post hydration plan with sweat-rate estimate (ACSM/NATA/IOC).
optimize_hydration_for_energyTime-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.

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 varDefaultPurpose
VARI_MCP_URLhttps://getvari.app/api/mcp/v1Override the upstream HTTP endpoint (e.g. for staging).

License

MIT — see LICENSE.

Links

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y @getvari/mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

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

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

@getvari/mcpnpm

Compatible MCP Clients

io.github.getvari/vari-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More