loading…
Search for a command to run...
loading…
Enables access to Lose It calorie tracking data including daily summaries with budgets and remaining calories, weekly history, and food logs. Integrates with th
Enables access to Lose It calorie tracking data including daily summaries with budgets and remaining calories, weekly history, and food logs. Integrates with the Lose It web app API to retrieve nutrition information and dietary entries for monitoring caloric intake.
Unofficial MCP server for Lose It, reverse-engineered from observed web app traffic and validated against live API behavior.
Built entirely by Claude Opus 4.6 via Claude Code.
This project exposes Lose It calorie tracking and nutrition data through MCP using the web app's GWT-RPC API.
Supported capabilities include:
The current implementation uses the Lose It web app GWT-RPC endpoint (www.loseit.com/web/service) with session cookies obtained from api.loseit.com/account/login. The iOS app's protobuf API is not used.
The GWT-RPC policy hash and permutation header are tied to the current Lose It web app build. If Lose It deploys a new version, these values may need updating via environment variables.
npm install
cp .env.example .env
npm test
npm run build
Configuration requires:
LOSEIT_EMAILLOSEIT_PASSWORDOptional values:
LOSEIT_TIMEZONE (IANA zone, default America/Chicago)LOSEIT_SESSION_PATH (default ~/.loseit-mcp/session.json)LOSEIT_REQUEST_TIMEOUT_MS (default 15000)LOSEIT_GWT_POLICY_HASH (override if Lose It deploys a new web build)LOSEIT_GWT_PERMUTATION (override if Lose It deploys a new web build)The server runs over stdio.
Example client configuration for the built server:
{
"mcpServers": {
"loseit": {
"command": "node",
"args": ["/absolute/path/to/loseit-mcp/dist/index.js"],
"cwd": "/absolute/path/to/loseit-mcp"
}
}
}
For local development without building first:
{
"mcpServers": {
"loseit": {
"command": "npx",
"args": ["tsx", "src/index.ts"],
"cwd": "/absolute/path/to/loseit-mcp"
}
}
}
If a client does not support cwd, pass the Lose It environment variables directly in the client configuration instead of relying on .env.
~/.loseit-mcp/session.json to avoid re-authenticating on every server start. The cache is created with restricted file permissions.Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"lose-it-mcp": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.