Install on macOS
icuvisor for macOS is distributed as a signed, notarized DMG. The app is a headless .app wrapper around the MCP server binary; AI clients run the binary inside the app bundle.
/Applications/icuvisor.app/Contents/MacOS/icuvisorThe app does not contain credentials. Your intervals.icu API key stays in the macOS Keychain.
Install from the DMG
Download
icuvisor_<version>_macos_universal.dmgandSHA256SUMS.txtfrom the latest GitHub release.Optional: verify the checksum from the folder where both files were downloaded:
shasum -a 256 -c SHA256SUMS.txt --ignore-missingOpen the DMG.
Drag
icuvisor.appto/Applicationsor~/Applications.Run the binary once to confirm it starts:
/Applications/icuvisor.app/Contents/MacOS/icuvisor version
A properly signed and notarized release should not show the macOS “unidentified developer” warning. If macOS blocks the app, verify the signature before overriding security warnings.
Before you start: API key and athlete ID
You need two things from intervals.icu:
- API key. Log in to intervals.icu, open Settings → Developer Settings, and copy your API key. Setup will ask for this with masked input.
- Athlete ID. It’s displayed near the API key on the page above, or open any page on intervals.icu while logged in and look at the URL — it contains
/athlete/i12345/..., wherei12345is your athlete ID. Most IDs are the letterifollowed by digits; accounts created by linking Strava have a bare-numeric ID with noi. Either form works.
First-run setup
After installing, run:
/Applications/icuvisor.app/Contents/MacOS/icuvisor setupSetup asks for the intervals.icu API key (masked) and your athlete ID, verifies them against intervals.icu, stores the key in Keychain under service icuvisor and account intervals-icu-api-key, autodetects your timezone, and writes only non-secret fields to the icuvisor config file. The config may include a credential_ref naming that Keychain location, but not the API key.
Useful setup flags:
| Flag | Use it when |
|---|---|
--config /path/to/config.json | You want setup to write a non-default config path. |
--force | You want to overwrite an existing config file without the overwrite prompt. |
--offline | intervals.icu cannot be reached and you accept skipping verification. |
There is no --api-key flag. Setup always asks for the key interactively so the key is not exposed through shell history or MCP client JSON.
Manual Keychain storage remains available for advanced or headless setups:
security add-generic-password -U \
-s icuvisor \
-a intervals-icu-api-key \
-w 'YOUR_INTERVALS_ICU_API_KEY'Do not put the API key in Claude Desktop, Claude Code, Info.plist, the DMG, or any committed config file.
Verify Gatekeeper and notarization (optional)
These checks are optional. macOS already enforces Gatekeeper and notarization when you first open the app — if the app launched without an “unidentified developer” warning, the signature and notarization ticket are valid. Run the commands below only if you want to confirm the chain manually or you are auditing the release.
After dragging the app into Applications, run:
codesign --verify --deep --strict /Applications/icuvisor.app
spctl -a -v /Applications/icuvisor.app
xcrun stapler validate /path/to/icuvisor_<version>_macos_universal.dmg
/Applications/icuvisor.app/Contents/MacOS/icuvisor versionExpected results:
codesignexits 0.spctlreports the app is accepted and references the Developer ID authority.stapler validatereports the notarization ticket is valid.icuvisor versionprints the release version without asking for an API key.
Configure an MCP client
Use this command path in the MCP client configuration:
/Applications/icuvisor.app/Contents/MacOS/icuvisorKeep the API key out of client JSON. Put only non-secret values in the client configuration, such as INTERVALS_ICU_ATHLETE_ID, ICUVISOR_TIMEZONE, ICUVISOR_TRANSPORT, or a --config path. For JSON config fields and default config paths, see the config file reference; for environment variables, see the CLI environment variable reference.
Uninstall
Quit any MCP clients using icuvisor.
Remove the app:
rm -rf /Applications/icuvisor.appOptional: remove the Keychain API key:
security delete-generic-password -s icuvisor -a intervals-icu-api-keyRemove any MCP client config blocks that launch icuvisor.
Optional LaunchAgent for power users
icuvisor does not auto-load a LaunchAgent. Most MCP clients start icuvisor on demand over stdio. If you later add a LaunchAgent for a local workflow, keep it user-scoped, review it before loading, and do not store API keys in the plist.