原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Fitatu

作者:Jezue版本 0.6.0i★ –i在你的电脑上运行
注册名称io.github.Jezue/fitatu-api

安装

概览

作者提供的说明(英文原文)

Unofficial Fitatu calorie counter: read and log food, weight, water and workouts.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "fitatu-api": {
      "command": "uvx",
      "args": [
        "fitatu-api",
        "mcp"
      ],
      "env": {
        "FITATU_SESSION": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add fitatu-api --env FITATU_SESSION=your-value -- uvx fitatu-api mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "fitatu-api": {
      "command": "uvx",
      "args": [
        "fitatu-api",
        "mcp"
      ],
      "env": {
        "FITATU_SESSION": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "fitatu-api": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "fitatu-api",
        "mcp"
      ],
      "env": {
        "FITATU_SESSION": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • FITATU_SESSION env
    Session file written by `fitatu-api login`; default ~/.fitatu/session.json.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 Jezue 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32709 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32709 个服务器的 63% 更新
  • 基础检查结果等于或优于此分类中其他 32709 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Fitatu 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.6.0)于22天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, SwarmMemo

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

SwarmMemo

作者:Hugo0

Talk with agent swarms: rooms, private messages and paid tasks for AI agents

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

fitatu-api

An unofficial Python client for the API of Fitatu, the calorie counter, built to be driven by AI agents and scripts. It reads and writes the food diary, activities, body measurements and water, reads and sets goals, and reads summaries and the food catalog. FitatuTools turns the diary into tools a language model can call. The session handling follows python-garminconnect: log in once, keep one session file, let the client refresh it.

Unofficial. This project is not affiliated with or endorsed by Fitatu Sp. z o.o. The API

was reverse-engineered from the Fitatu apps and can change without notice. Automated access

may break Fitatu's Terms of Service; check them, and use the library only with your own

account and at your own risk. The MIT licence covers this code, not the Fitatu service, its

API or its data.

Install

Python 3.11 or newer; the only dependency is requests (and tzdata on Windows).

pip install fitatu-api                                     # the library and the fitatu-api command

pip install "fitatu-api[mcp]" # plus fitatu-mcp, the MCP server pip install "git+https://github.com/Jezue/fitatu_library" # unreleased changes from main

To work on the library or run its tests offline, clone it instead: git clone https://github.com/Jezue/fitatu_library && cd fitatu_library && pip install -e ".[dev]".

Quick start

fitatu-api login   # asks for e-mail and password, writes ~/.fitatu/session.json

Signed up with Apple or Facebook? Then the account has no password: copy the session from the web app with fitatu-api import-session instead, as described under Authentication & session file.

from datetime import date

from fitatu_api import FitatuApiClient

with FitatuApiClient.from_session() as client: # closes the HTTP connections at the end user_id = client.auth.fitatu_user_id today = date.today()

day = client.planner.get_day(user_id, today) for meal_key, meal in day["dietPlan"].items(): for row in meal["items"]: print(meal_key, row["name"], row["energy"], row["planDayDietItemId"])

egg = client.search_food("jajko kurze", limit=1)[0] # search rows carry the id as foodId added = client.planner.add_product_to_day_meal( user_id, today, meal_type="breakfast", product_id=egg["foodId"], measure_id=egg"measure", measure_quantity=2, # 2 of the hit's measure ) print("added row", added["row_id"])

How writes, row ids and removals work: docs/PLANNER.md.

To copy a catering diet's menu into the diary (safe to run again), use catering_sync.py from the repository: Importing a catering menu.

For AI agents

FitatuTools exposes 47 tools (read the day, search food, log food, weight, water, workouts, private recipes and products, ...) with JSON Schema inputs and read-only / destructive / idempotent annotations. call() never raises: it returns {"ok": true, "data": ...} or {"ok": false, "error": {"error_type", "message", "retryable", "hint", ...}}, so the model can read what went wrong. SYSTEM_PROMPT is the recommended system prompt: the rules the model needs on top of the tool descriptions (read before writing, users' own meal names, data.ok, confirmations). The model asks get_today for the date, in the account's time zone.

import json

import anthropic

from fitatu_api import FitatuTools from fitatu_api.agent import READ_ONLY_TOOLS, SYSTEM_PROMPT, anthropic_tools # openai_tools() for OpenAI

client = anthropic.Anthropic() messages = [{"role": "user", "content": "How many kcal did I eat today?"}]

Only the read tools, as this loop runs tool calls without asking the user: call() refuses

any other tool, which the model can still name.

with FitatuTools.from_session(tools=READ_ONLY_TOOLS) as tools: while True: response = client.messages.create( model="claude-opus-5-5", max_tokens=16000, system=SYSTEM_PROMPT, tools=anthropic_tools(READ_ONLY_TOOLS), messages=messages, ) messages.append({"role": "assistant", "content": response.content}) if response.stop_reason != "tool_use": break results = [ { "type": "tool_result", "tool_use_id": block.id, "content": json.dumps(tools.call(block.name, block.input)), } for block in response.content if block.type == "tool_use" ] messages.append({"role": "user", "content": results}) if response.stop_reason != "end_turn": # max_tokens or refusal: the answer is cut or missing raise RuntimeError(f"the model stopped early: {response.stop_reason}") print("".join(block.text for block in response.content if block.type == "text"))

The write tools (log food, update, move, copy and delete rows, weight, water, workouts, private recipes and products) need a loop that asks the user before destructive calls; it is in docs/AGENTS.md, with the tool table, the calls never to expose (session tokens, catalog writes), how to make writes safe to repeat, what to do per error_type, the OpenAI variant, long-running hosts, and how to try the tools without an account against the offline test backend.

MCP

fitatu-mcp serves the same tools to Claude Code, Claude Desktop and other MCP hosts over stdio, with SYSTEM_PROMPT as its instructions and three Polish slash commands (podsumowanie_dnia, przeglad_tygodnia, zaloguj_posilek):

pipx install "fitatu-api[mcp]"

fitatu-api login claude mcp add fitatu --scope user -- fitatu-mcp # fitatu-mcp --read-only: the read tools only

fitatu-mcp --http serves the same tools over HTTP, with a token, for n8n, another computer or Docker (the repository has a Dockerfile): docs/AGENTS.md.

Without an account, fitatu-mcp --demo (or FitatuTools.demo()) serves a small made-up diary kept in memory. For Claude Desktop, each GitHub release has fitatu- .mcpb, installed with a double click (log in with fitatu-api login first). Without installing anything, uvx --from "fitatu-api[mcp]" fitatu-mcp runs the server. It is listed in the MCP Registry as io.github.Jezue/fitatu-api (server.json). For Hermes Agent and other hosts that read Agent Skills, skills/fitatu-diary/SKILL.md tells the agent how to set the server up and use its tools well.

The host's permission prompt is the confirmation step, so keep it on for the destructive tools. Claude Desktop, uvx and what the server does: docs/AGENTS.md.

What it covers

AreaClient (FitatuApiClient)Agent tools
Food diaryclient.planner: read a day, add products, recipes, custom rows and search hits, update, move, copy, remove; the day's noteget_day, add_food, add_foods, add_custom_item, update_item, move_item, copy_meal, preview_removal, remove_items, set_note
Activitiesplanner.add_activity / remove_activity, client.activities (catalog, search, recent)search_activity, add_activity, remove_activity
Foodssearch_food, get_product_details, get_recipe, recipe catalog and its search, client.foods (favourites, recent)search_food, search_recipes, get_recipe, find_by_barcode, get_food_measures, get_recent_foods, get_favorite_foods, set_favorite
The user's own foodssearch_user_food, create_product, update_product, delete_product, create_recipe, update_recipe, delete_recipeget_my_foods; create_food, update_food, delete_food and the recipe tools for the user's own private foods only
Measurementsclient.measurements: weight and body sizes per day, history, chartsget_weight_history, get_body_measurements, get_measurement_history, log_weight, log_measurements
Waterclient.waterget_water, set_water
Summary and exportclient.summary: range totals, nutrient per day, top products, diary exportget_range_summary, get_progress, get_top_foods, get_report, get_shopping_list (worked out from the planned rows)
Fasting and habitsclient.fasting (schemes, eating periods per day), client.habits (catalog, the user's habits, good days); read onlyget_fasting, get_habits, get_good_days
Goals and settingsclient.user_settings: targets, BMR/TMR, profileget_targets, set_targets (the manual or automatic goal, macro split, glass size), get_profile (height, weight, goal, BMI, Premium; nothing that identifies the user)
Catalog writescreate_recipe(shared=True), set_product_proposal, duplicate cleanupnone, on purpose

FitatuLibrary, which wraps most of these as *_via_api methods that return {"status": ...} instead of raising, is deprecated and will be removed in 1.0: for results that never raise use FitatuTools ({"ok": true, "data": ...}), otherwise the client. Every public call with its stability is listed in docs/API_REFERENCE.md.

Free and Premium accounts
Free accountPremium
Diary: read, log, update, move, copy, remove food, notes, activities, water, weight, body measurements✅✅
Search, barcode, food measures, recipe search by words and max_energy_kcal, recipes in full, private recipes and products, favourites, recent foods✅✅
Recipe search filters (min_protein_g, max_carbohydrate_g, max_cooking_time, diets, meal) and premium catalog recipes (get_recipe, get_food_measures, add_food, add_foods; the shopping list leaves out their ingredients)❌ "needs Fitatu Premium": the tools follow the app✅
Goals: read and set (get_targets, set_targets), progress (get_progress), reports (get_report), range totals (get_range_summary)✅ (progress: a request per day, at most 31 days)✅
Weight and body measurement history, profile, fasting and habits (read), shopping list✅✅
Top foods (get_top_foods, summary.get_top_products())❌ 403: needs Fitatu Premium✅
Diary export (fitatu-api export, summary.export_diary())❌ 403: "needs Fitatu Premium"✅
Protein / fat / carbohydrate day by day (summary.get_nutrient_by_day(); energy works on both)❌ 403 (get_progress reads around it)✅

Nearly everything works on an account without Fitatu Premium. Fitatu answers 403 without it to (checked live 2026-10-15):

  • `summary.get_nutrient_by_d

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx