Fitatu MCP Unofficial — Claude Code MCP server setup
Connects your personal Fitatu account to coding assistants over MCP. It lets an agent search food catalogs, log meals, and pull daily nutrition stats directly from chat.
Open on GitHubWhat Fitatu MCP Unofficial does
This server connects an AI assistant to your Fitatu diary. It exposes actions to inspect user profiles, fetch daily meal plans, and retrieve diet summaries across date ranges. You can also query products, scan up to 10 barcodes simultaneously, track body measurements, and adjust target energy settings. Meal items can be appended, swapped, relocated, or deleted.
Communication works through two transport options: local stdio and long-running Streamable HTTP at http://localhost:3000/mcp. The code requires Node.js >=22.18.0. Without valid account credentials in .env, requests fail immediately. Running inside Docker or using an ngrok tunnel for remote endpoints is supported as well.
What it helps with
- log meals and foods directly from chat
- search catalog items and batch-query barcodes
- review calorie and nutrient totals for custom dates
- update weight and other body measurements
Example prompts for the agent
- Search Fitatu for rolled oats and add 80 grams to my breakfast
- Summarize my calorie intake and macros for yesterday
- Log my current weight as 74.5 kg for today
How to install Fitatu MCP Unofficial
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Fitatu MCP Unofficial
How to install Fitatu MCP Unofficial in Claude Code?
Clone the repository, run npm install, and set up environment variables with cp .env.example .env. Compile the code with npm run build, then configure your mcpServers JSON using node with --env-file pointing to your .env and the absolute path to dist/index.js.
What does Fitatu MCP Unofficial do?
It exposes MCP tools for your Fitatu account. An assistant can look up foods, modify meal entries, manage custom recipes, and record physical body metrics.
Which transports does the server support?
It operates over local stdio or Streamable HTTP on port 3000. Choose your mode by setting the MCP_TRANSPORT environment variable to either stdio or http.