Balance Engine · Deterministic Time Layer

v0.2.2
io.github.singularitybpjade/balance-engine Checked 2 days ago Published 15 days ago

Balance Engine business strategy tool: deterministic calendar & solar-term lookups for AI agents.

Values you need

VariableWhat it is
BALANCE_API_KEYoptional secret Account key (be_…) from the 14-day Pilot for personal timeline tools. Leave empty for public time tools (today/body/adjust/month/fold/sky/date-lookup/solar-terms). Empty key cannot call personal_day / personal_month.
BALANCE_ENGINE_API_BASEoptional Optional API origin. Default https://balance-engine.vercel.app

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add balance-engine -- npx -y balance-engine-mcp@0.2.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "balance-engine": {
      "args": [
        "-y",
        "balance-engine-mcp@0.2.2"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "balance-engine": {
      "args": [
        "-y",
        "balance-engine-mcp@0.2.2"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "balance-engine": {
      "args": [
        "-y",
        "balance-engine-mcp@0.2.2"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.balance-engine]
command = "npx"
args = ["-y", "balance-engine-mcp@0.2.2"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http balance-engine https://balance-engine.vercel.app/api/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "balance-engine": {
      "args": [
        "-y",
        "mcp-remote",
        "https://balance-engine.vercel.app/api/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "balance-engine": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://balance-engine.vercel.app/api/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "balance-engine": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://balance-engine.vercel.app/api/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.balance-engine]
command = "npx"
args = ["-y", "mcp-remote", "https://balance-engine.vercel.app/api/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: today_rhythm, month_brief, solar_terms, date_lookup, sky_window, body_rhythm, energy_adjust, activity_window, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json