Skip to content

Install the MCP server

  1. A computer (macOS or Windows).
  2. Claude Desktop (or another MCP-capable client) installed.
  3. Node.js 20 or newer. If you don’t already have it, grab the official installer from nodejs.org — click the green LTS button, download the .pkg (macOS) or .msi (Windows), double-click, accept the defaults. No terminal needed. Skip nvm, Homebrew, or any other “version manager” — they’re for developers who already have one.
  4. A browser (any modern one) for the sign-in step.

The server installs straight from GitHub — no cloning, no build step on your side. (The npm-registry name hds-mcp is not claimed yet; npx fetches the package from GitHub instead.)

Claude Desktop:

  • macOS: menu bar → Claude → Settings → Developer → Edit Config.
  • Windows: ☰ menu → Settings → Developer → Edit Config.
{
"mcpServers": {
"hds": {
"command": "npx",
"args": ["-y", "github:healthdatasafe/hds-mcp-js"]
}
}
}

Restart the client fully (⌘Q on macOS, then reopen) so it picks up the new server. The very first launch can take up to a minute while npx downloads and builds the server; later launches reuse the cache.

After the restart, Claude Desktop shows a tools indicator (a small 🔌 or hammer icon near the chat input) listing the hds server. If it’s there, you’re done installing. If not, see below.

The client doesn’t list the hds server / “no tool named connect”.

  • Did you fully quit the client (⌘Q on macOS) before reopening? A window close is not enough — the MCP only loads on a fresh launch.
  • Is node --version ≥ 20? npx needs Node (see What you need).
  • Give the very first launch up to a minute — npx is downloading and building the server.
  • Check the config file is valid JSON (a trailing comma is the usual culprit).

The browser tab never opens during connect.

  • Check the client’s tool-permission popup didn’t get dismissed.
  • Your default browser must be a real browser (not a PDF reader, etc.).

“auth timed out — please re-run hds.connect”

  • You took longer than 5 minutes to complete the sign-in. Re-run it.

Anything else — open an issue (see Feedback & issues).