Lose It MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lose It MCPhow many calories do I have left today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Lose It MCP
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.
Overview
This project exposes Lose It calorie tracking and nutrition data through MCP using the web app's GWT-RPC API.
Supported capabilities include:
reading daily calorie summary with budget, eaten, and remaining calories
reading weekly calorie history with per-day breakdowns
reading food log entries with food names and brands
Related MCP server: Yazio MCP
API Coverage
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.
Setup
npm install
cp .env.example .env
npm test
npm run buildConfiguration requires:
LOSEIT_EMAILLOSEIT_PASSWORD
Optional values:
LOSEIT_TIMEZONE(IANA zone, defaultAmerica/Chicago)LOSEIT_SESSION_PATH(default~/.loseit-mcp/session.json)LOSEIT_REQUEST_TIMEOUT_MS(default15000)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)
MCP Setup
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.
Notes
Session cookies are cached to
~/.loseit-mcp/session.jsonto avoid re-authenticating on every server start. The cache is created with restricted file permissions.The food log returns food names and brands but does not include per-item calorie or macro breakdowns. Daily totals are available from the daily summary tool.
The GWT-RPC response parser uses targeted pattern extraction rather than a full generic deserializer.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityCmaintenanceEnables retrieval and analysis of MyFitnessPal nutrition data including daily summaries, meal breakdowns, exercise tracking, and macro/micronutrient analysis. Uses browser cookie authentication to access your personal MyFitnessPal account data through natural language queries.Last updated6
- Alicense-qualityBmaintenanceEnables querying Yazio food logs including meals, daily summaries, and nutrition totals through MCP tools.Last updatedMIT
- Alicense-qualityDmaintenanceEnables AI assistants to read and write MyFitnessPal data, including food diary, exercises, body measurements, nutrition goals, and water intake.Last updatedMIT
- AlicenseAqualityBmaintenanceEnables nutrition tracking with Cronometer, including food logging, food search, diary management, and nutrition data retrieval via natural language.Last updated13MIT
Related MCP Connectors
Personal nutrition tracking — log meals, track macros, review history, import from another app.
Connect your Oura Ring account securely in minutes. Enable authorized access to your sleep, activi…
Connect your Oura Ring account and enable access to your wellness data in apps and automations. In…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/atfinke/loseit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server