Before you start
Node.js 20 or newer and a WeightWatchers account that signs in with e-mail and password. With the extension below you can skip the terminal and sign in from the chat. For Claude Code, sign in once in a terminal; the server reuses the stored session:
npx --package unofficial-weightwatchers-mcp ww loginThe password goes to WeightWatchers and is not written to disk. Prefer not to use a terminal? Ask the assistant to sign you in later: the ww_login tool opens a local page in your browser, so the password never passes through the chat. More on sign-in, sessions and regions: Getting started.
Claude Desktop: the one-click extension
- Open the downloaded
.mcpbfile, or drag it into Claude Desktop (Settings, Extensions). - Review the details, optionally set the region (default
de, the tested one), and click Install. Claude Desktop runs the server with its built-in Node.js. - Ask Claude to sign in (below).
The extension is a .mcpb bundle attached to every release: download unofficial-weightwatchers-mcp.mcpb.
Sign in from the chat
- Ask Claude: "Log in to WeightWatchers". Claude calls the
ww_logintool. - A page on
127.0.0.1opens in your default browser. Type your WW e-mail and password there. Tick the box only if you want the password in the system credential store, so the session renews itself. - Claude checks with
ww_status. The session is stored in~/.weightwatchers/auth.json(mode 600).
The password goes from your browser to WeightWatchers; it never passes through the chat. The page runs only until the sign-in is done and only on your computer. Do not type your password into the chat.
Claude Desktop: manual configuration
Prefer to manage the server yourself? Edit the file (Settings, Developer, Edit Config), then quit and restart Claude Desktop completely.
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"weightwatchers": {
"command": "npx",
"args": ["-y", "unofficial-weightwatchers-mcp"],
"env": { "WW_REGION": "de" }
}
}
}On Windows, if a client cannot launch npx directly, use "command": "cmd" with
"args": ["/c", "npx", "-y", "unofficial-weightwatchers-mcp"].
Claude Code
claude mcp add weightwatchers -- npx -y unofficial-weightwatchers-mcpWith an environment variable, put -e before the server command (everything after -- is the command):
claude mcp add weightwatchers -e WW_REGION=de -- npx -y unofficial-weightwatchers-mcpFrom a checkout: claude mcp add weightwatchers -- node /absolute/path/to/unofficial-weightwatchers-mcp/src/index.js.
Check with claude mcp list. The default scope is local (this project, only you); --scope user
makes it available in all projects. Remove it with claude mcp remove weightwatchers.
Try it
Ask in plain words. The assistant picks the tools; a client that asks before writing shows each write call first.
“How many points do I have left today?”
“What did I track yesterday, and how many points was dinner?”
“Save this recipe in WeightWatchers and track one serving for dinner: …”
“Log 30 minutes of cycling for today.”
Every tool carries MCP annotations (readOnlyHint, destructiveHint, idempotentHint). Clients that
support per-tool approval can auto-approve read-only tools and ask before every write or destructive
tool, for example ww_track, ww_untrack, ww_create_my_recipe, ww_set_water and ww_api_call. See the tool reference for the flag of each tool.
If nothing happens
- Restart the client after changing its configuration.
- Run the server by hand:
npx -y unofficial-weightwatchers-mcp. It should printww: MCP server running (stdio).on stderr and wait. nodenot found by the client: use the absolute path ofnodeincommand.- Use the MCP inspector:
npx @modelcontextprotocol/inspector npx -y unofficial-weightwatchers-mcp.
More in Troubleshooting.