Fitatu MCP Unofficial

io.github.AndekQRPublished by GitHub account AndekQRv3.0.1Updated Oct 24, 2026

Unofficial MCP server for the Polish Fitatu app. Search foods and manage meals, recipes, and logs.

Overview

AI-generated overview

Unofficial MCP server that lets an assistant read and edit your own Fitatu diet account: food search, meal plans, recipes, and body measurements.

What you can do
Provides typed tools over stdio or Streamable HTTP for a personal Fitatu account. It can query profile data, day plans, nutrition summaries, user settings, and body measurements, and it can search foods and recipes. Write tools add, update, replace, move, or remove meal items, and create, update, or soft-delete recipes. It is not affiliated with Fitatu.
When to use it
Use it when you want an assistant to log or adjust meals, look up foods and barcodes, review nutrition and energy summaries, or manage recipes in your own Fitatu account. It suits personal diet tracking rather than team or multi-user use.
Requirements
Runs locally as a Node.js process (Node.js >= 22.18.0, npm) or via Docker; a Fitatu account is required. Set FITATU_EMAIL and FITATU_PASSWORD, typically in a .env file. Optional: ngrok and a separate FITATU_INTEGRATION_* test account for tunnel and integration workflows.
Before you install
Requires your Fitatu account credentials (FITATU_EMAIL, FITATU_PASSWORD); treat them and the account data as sensitive and do not commit .env. Many tools write, move, or delete meal items and recipes, and integration tests may mutate meal-plan, recipe, and body-measurement data. The Dockerfile copies .env into the image, so do not publish or share that image. Remote tunnel URLs are served without authentication.

Installation

In SourceWeft

  1. Open Fitatu MCP Unofficial in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

[Fitatu MCP Unofficial logo]

Fitatu MCP Unofficial

Unofficial Model Context Protocol (MCP) server for accessing and updating data in your own Fitatu account. It provides typed tools for profile data, meal plans, nutrition summaries, food search, and recipe management over stdio or Streamable HTTP.

[!IMPORTANT] This project is not affiliated with, endorsed by, or sponsored by Fitatu. Use it only with your own account and treat Fitatu credentials and account data as sensitive.

Features

  • Profile, day-plan, and nutrition summary queries.
  • Latest or date-specific body measurement lookup and partial updates for explicit calendar dates.
  • Food and recipe search with identifiers required by mutation tools.
  • Meal item creation, update, replacement, movement, and removal.
  • Recipe creation, inspection, update, and deletion.
  • MCP transports for local stdio and Streamable HTTP clients.
  • Local development and Docker workflows.

Requirements

  • Node.js >=22.18.0
  • npm
  • A Fitatu account

Docker and ngrok are optional and required only for their respective workflows.

Quick start

Install dependencies and create the local configuration file:

bash
npm installcp .env.example .env

Set FITATU_EMAIL and FITATU_PASSWORD in .env, then start the development server:

bash
npm run dev:server

The default MCP endpoint is http://localhost:3000/mcp.

MCP client configuration

Choose one transport with MCP_TRANSPORT:

TransportBest forProcess model
stdioA local client that launches its own MCP serverOne server process per client
httpA persistent server shared by one or more clientsLong-running server on /mcp

stdio

Build the server before configuring the client:

bash
npm run build

Use absolute paths to the repository's .env and dist/index.js files:

json
{	"mcpServers": {		"fitatu": {			"command": "node",			"args": [				"--env-file=/absolute/path/to/fitatu-mcp-unofficial/.env",				"/absolute/path/to/fitatu-mcp-unofficial/dist/index.js"			],			"env": {				"MCP_TRANSPORT": "stdio"			}		}	}}

The client starts and stops the server. In stdio mode, logs are written to stderr because stdout is reserved for the JSON-RPC stream.

Streamable HTTP

Start the server with npm run dev:server, or build and run it with:

bash
npm run buildnpm start

Clients with native Streamable HTTP support can connect directly to:

text
http://localhost:3000/mcp

For a client that launches remote MCP connections through a command, use mcp-remote:

json
{	"mcpServers": {		"fitatu": {			"command": "npx",			"args": ["mcp-remote", "http://localhost:3000/mcp"]		}	}}

To inspect the local server interactively:

bash
npm run inspector

Connect the Inspector to http://localhost:3000/mcp.

Remote MCP access with ngrok

Install and authenticate ngrok. In .env, configure two different Fitatu accounts using FITATU_* and FITATU_INTEGRATION_*, then add your assigned domain:

dotenv
NGROK_DOMAIN=your-assigned-domain.ngrok-free.dev
bash
npm run dev:tunnel:all  # Personal and test accounts, gateway, and ngrok tunnelnpm run dev:tunnel:test # Test account, gateway, and ngrok tunnel (alternative)

In any MCP client that supports remote Streamable HTTP connections, use one of these URLs without authentication:

  • Personal: https://YOUR_NGROK_DOMAIN/personal/mcp
  • Test: https://YOUR_NGROK_DOMAIN/test/mcp

Available tools

ToolPurpose
get_current_userReturn a safe subset of the authenticated user profile.
get_body_measurementReturn the latest body measurement, or the complete entry for an optional YYYY-MM-DD date.
save_body_measurementPartially update body measurements for a YYYY-MM-DD date using profile units.
get_user_settingsReturn date-resolved energy, calculated, and water settings with requested and effective dates; date defaults to today in the Fitatu timezone.
update_user_settingsSet a manual or automatic energy target, update the water serving size, or apply both changes together.
get_day_plan_itemsReturn meals and food items for a YYYY-MM-DD date.
get_diet_summarySummarize nutrition and energy for an inclusive date range.
search_foodSearch Fitatu food catalogs and return mutation-ready identifiers.
search_food_by_barcodesSearch the public food catalog for up to 10 barcodes in parallel.
add_meal_itemsAdd products, recipes, or custom items to a meal.
update_meal_itemUpdate quantity, measure, or eaten state.
replace_meal_itemReplace one exact meal entry.
move_meal_itemMove an item to another meal, date, or both.
remove_meal_itemsAtomically remove selected day-plan entries by UUID.
search_recipesSearch private recipes, public recipes, or both catalogs.
get_recipeReturn canonical per-serving recipe details.
create_recipeCreate a private recipe from product and measure identifiers.
update_recipePartially update an owned, editable recipe.
delete_recipeSoft-delete a recipe after exact-name confirmation.

Configuration

Runtime configuration is read from environment variables and validated at startup.

VariableRequiredDefaultDescription
FITATU_EMAILYes—Fitatu account email address.
FITATU_PASSWORDYes—Fitatu account password.
FITATU_INTEGRATION_EMAILFor integration tests and tunnel commands—Email address of a dedicated Fitatu test account.
FITATU_INTEGRATION_PASSWORDFor integration tests and tunnel commands—Password for the dedicated Fitatu test account.
MCP_TRANSPORTNohttpMCP transport: http or stdio.
PORTNo3000HTTP port; unused in stdio mode.
HOSTNo0.0.0.0HTTP bind address; unused in stdio mode. The tunnel launcher forces loopback.
NODE_ENVNodevelopmentdevelopment, production, or test.
SERVER_NAMENofitatu-mcpName reported by the MCP server.
SERVER_VERSIONNo3.0.0Version reported by the MCP server.
LOG_LEVELNoinfosilent, error, warn, info, or debug.
FITATU_USER_AGENTNoDart/3.10 (dart:io)Fitatu mobile runtime user agent.
FITATU_APP_VERSIONNo4.14.4Fitatu mobile application version.
FITATU_API_APK_UUIDNoBE4B.251210.005Fitatu mobile build identifier.

Do not commit .env. The mobile client profile defaults match Fitatu 4.14.4 traffic captured on 2026-07-30 and can be overridden without changing code.

Docker

The current image build requires a configured .env file:

bash
cp .env.example .envdocker build -t fitatu-mcp .docker run --name fitatu-mcp -p 3000:3000 fitatu-mcp

The Dockerfile copies .env into the image. Treat the resulting image as sensitive; do not publish or share it.

Development

TaskCommand
One server using .env, with automatic restart; no ngroknpm run dev:server
Personal and test servers, gateway, and ngroknpm run dev:tunnel:all
Test server, gateway, and ngroknpm run dev:tunnel:test
Stop this repository's development servers and ngrok, including orphaned processesnpm run dev:stop
Production buildnpm run build
Start built servernpm start
Type checkingnpm run typecheck
Lintnpm run lint
Formatting checknpm run format:check
Unit tests with coveragenpm run test:ci
Local coverage reportnpm run test:coverage
Integration testsnpm run test:integration

npm run test:ci is deterministic and does not load Fitatu credentials. Integration tests use the dedicated Fitatu test account described above and may mutate its meal-plan, recipe, and body-measurement data.

See ARCHITECTURE.md for layer boundaries and design rules, and CONTRIBUTING.md for contribution guidelines.

License

Licensed under the MIT License.

Source: README.md at commit e4538bb

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v3.0.1LatestSep 21, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts