Questions people ask first
Whether it is official, what it may cost your account, where your data goes, and which clients work.
Unofficial. Not affiliated with WeightWatchers (WW International, Inc.). Uses the private API behind the WW apps, which may break and may violate the WW terms. What that means
Is this an official WeightWatchers API?
No. WeightWatchers has no public API. This is an independent open source project, not affiliated with, endorsed by or supported by WW International, Inc. It uses the private API behind the WW apps with your own sign-in. No WW logo is used.
Can my WeightWatchers account get restricted?
Possibly. Using the private API may violate the WeightWatchers Terms of Service, and WW could restrict an account for it. Use it at your own risk, not on an account you cannot afford to lose, and not for bulk or commercial access.
Does it work with ChatGPT?
Not as a ChatGPT connector. ChatGPT only talks to remote MCP servers over HTTPS with OAuth, and this project runs on your own computer and holds nobody else’s sign-in. OpenAI’s Codex works, because it starts local MCP servers over stdio, and so do Claude Desktop, Claude Code, Cursor and VS Code. See Setup.
Which AI clients can use it?
Any client that starts MCP servers over stdio: Claude Desktop (with a one-click extension), Claude Code, Cursor, VS Code with Copilot in agent mode, Codex and others. Tools that speak HTTP, such as n8n, use the local HTTP API, which also serves MCP over HTTP at /mcp.
Where does my data go?
From your computer to WeightWatchers (auth.weightwatchers.<region>, cmx.weightwatchers.<region>, api.ww.com) and nowhere else. There is no server run by this project and no telemetry. Tool results such as points, diary entries and weight go to your AI client and from there to its model provider, so pick one you are comfortable sharing health data with.
Where is my password stored?
Nowhere by default. It is sent to WeightWatchers to sign in and then dropped; only a session token is kept in ~/.weightwatchers/auth.json (mode 600). For unattended renewal you can opt into the system credential store with ww login --save-password, or set WW_EMAIL and WW_PASSWORD on a server.
Why does it ask me to sign in again every few hours?
The WW session lasts a few hours. Without a stored password the client cannot renew it after that. Sign in with --save-password, or set WW_EMAIL and WW_PASSWORD. Details in Troubleshooting.
Does the assistant estimate points?
It should not, and the tools tell it so. For a recipe it searches each ingredient in the WW food database and saves the recipe in your account with ww_create_my_recipe, so WeightWatchers computes the points itself. ww_calculate_points uses the WW formula for raw nutrition values.
Can it create recipes, foods and meals?
Yes: ww_create_my_recipe, ww_create_my_food and ww_create_my_meal create them in your WW account, so WW computes the points. Deleting is soft: the object is marked inactive and stays readable by its ID. Anything not covered can be reached with ww_api_call, with no safety net. All of them are on the tools page.
Can I use recipes from Samsung Food?
Yes, by running Unofficial Samsung Food MCP next to this server. The assistant reads the recipe there, saves it here so WW works out the points, and tracks a serving. The two projects do not depend on each other and share only what the assistant passes between them.
Does it work outside Germany?
Only region de (weightwatchers.de) is tested. Other WW markets (com, co.uk, fr, nl, be, ch, com.au, ca) are accepted with WW_REGION and are experimental.
Is there a WeightWatchers API for Node.js?
Not an official one. The library in this project is an unofficial Node.js client for the private API: a WeightWatchers class with methods for the day, the diary, food search, recipes, foods, meals, water, activity and weight. It runs on Node.js 20 or newer, on a server or your own machine.
Can I call it from a web page?
Not directly. The WW API sends no CORS headers, so a browser cannot call it. Use the library on a backend, or run ww serve on your machine and call its local HTTP API.
Can I run it as a hosted service for other people?
Not as shipped. A hosted version would hold other people’s WW passwords and health data, which needs far more than this project provides.
Will it break?
Probably sometimes: the private API can change without notice. Issues and fixes are welcome.
Is it medical advice?
No. It moves numbers between your WW account and your assistant. Decisions about food, weight and health belong with you and the people who treat you.
Does it work with a Google or Apple login?
No. Sign-in needs a WeightWatchers account with e-mail and password; social logins are not supported.