Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Unofficial Fitatu calorie counter: read and log food, weight, water and workouts.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
FITATU_SESSIONต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"fitatu-api": {
"command": "uvx",
"args": [
"fitatu-api",
"mcp"
],
"env": {
"FITATU_SESSION": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add fitatu-api --env FITATU_SESSION='ใส่ค่าของคุณ' -- uvx fitatu-api mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"fitatu-api": {
"command": "uvx",
"args": [
"fitatu-api",
"mcp"
],
"env": {
"FITATU_SESSION": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"fitatu-api": {
"type": "stdio",
"command": "uvx",
"args": [
"fitatu-api",
"mcp"
],
"env": {
"FITATU_SESSION": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
FITATU_SESSION envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Jezue ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.6.0) เข้า registry 22 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, sync. labs
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Lipsync videos, dub them into other languages, make talking videos and open sync. Studio.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
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]".
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.
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?"}]
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.
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.
| Area | Client (FitatuApiClient) | Agent tools |
|---|---|---|
| Food diary | client.planner: read a day, add products, recipes, custom rows and search hits, update, move, copy, remove; the day's note | get_day, add_food, add_foods, add_custom_item, update_item, move_item, copy_meal, preview_removal, remove_items, set_note |
| Activities | planner.add_activity / remove_activity, client.activities (catalog, search, recent) | search_activity, add_activity, remove_activity |
| Foods | search_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 foods | search_user_food, create_product, update_product, delete_product, create_recipe, update_recipe, delete_recipe | get_my_foods; create_food, update_food, delete_food and the recipe tools for the user's own private foods only |
| Measurements | client.measurements: weight and body sizes per day, history, charts | get_weight_history, get_body_measurements, get_measurement_history, log_weight, log_measurements |
| Water | client.water | get_water, set_water |
| Summary and export | client.summary: range totals, nutrient per day, top products, diary export | get_range_summary, get_progress, get_top_foods, get_report, get_shopping_list (worked out from the planned rows) |
| Fasting and habits | client.fasting (schemes, eating periods per day), client.habits (catalog, the user's habits, good days); read only | get_fasting, get_habits, get_good_days |
| Goals and settings | client.user_settings: targets, BMR/TMR, profile | get_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 writes | create_recipe(shared=True), set_product_proposal, duplicate cleanup | none, 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 account | Premium | |
|---|---|---|
| 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):
ตัดมาแค่ช่วงต้น อ่านต่อใน repo