SDKs & MCP

Client libraries so you do not have to write the HTTP calls yourself, an MCP server that lets an AI assistant use the whole API, and files to load the API into the tools you already use.

JavaScript and TypeScript SDKv0.1.0

Healthier Business Hub SDK

The official library for Node.js and TypeScript. It gets and renews tokens, retries safely, pages through lists, checks webhook signatures and shows courses, tests and Occupational Health forms inside your own website. Your API key stays on your server.

@healthier-business/hub-sdk

By Healthier Business · MIT licence

  • Typed for every portal
  • Embeds courses, tests and OH forms
  • Signed webhooks
  • MIT
  • Node 18.17+
  • No dependencies

Install

Start in a sandbox with a test key. The key stays on your server, never in a browser.

bash
npm install @healthier-business/hub-sdk
MCP serverv0.3.0

Healthier Business Hub MCP server

Let an AI assistant such as Claude, Cursor or Codex use every Hub API v2 endpoint safely, including checking training certificates with Training Verification: read-only by default, sandbox first, and every live write needs a plan and an explicit yes.

@healthier-business/hub-mcp
  • Read-only by default
  • Sandbox first
  • 22 tools
  • 36 guide resources
  • MIT
  • Node 20+

Install

Start in a sandbox with a test key. Replace YOUR-SANDBOX-URL with the address of your sandbox.

bash
export HB_API_KEY=hbk_test_...   # in your shell, not in chat
claude mcp add hb-hub \
  --env HB_API_KEY="$HB_API_KEY" \
  --env HB_BASE_URL="https://YOUR-SANDBOX-URL" \
  --env HB_READ_ONLY=true \
  -- npx -y @healthier-business/hub-mcp

Client libraries and tools

No client libraries yet

Libraries will appear here once they are published.