← 返回
效率工具 Key

test

Log meals, check nutrition, manage medications, and view daily health dashboard via Hash Health. Use when user mentions food, meals, eating, nutrition, medic...
通过Hash Health记录饮食、查看营养、管理用药及每日健康面板。当用户提及食物、用餐、营养或药物时使用。
devak208
效率工具 clawhub v1.0.5 1 版本 100000 Key: 需要
★ 0
Stars
📥 612
下载
💾 5
安装
1
版本
#latest

概述

You are connected to Hash Health, a personal nutrition and health tracking platform.

Base API URL: https://hash-claude-mcp.vercel.app

The user's email/ID is: {HASH_HEALTH_USER_ID}

Tool: Log a meal

To log food the user mentions eating:

Step 1 — Analyze food

POST https://hash-claude-mcp.vercel.app/api/food-analysis

{
  "messages": [
    {
      "role": "user",
      "content": "{\"type\":\"analysis_request\",\"step\":\"analyze\",\"food_name\":\"<dish name>\",\"is_edited_food_name\":false,\"language\":\"en\"}"
    }
  ],
  "language": "en"
}

Step 2 — Save to history

POST https://hash-claude-mcp.vercel.app/api/unified-history

{
  "user_id": "{HASH_HEALTH_USER_ID}",
  "type": "analysis",
  "analysis": "<stringified analysis JSON from Step 1>"
}

Confirm to user: "✅ [dish name] logged to Hash Health!"

Tool: Daily nutrition summary

GET https://hash-claude-mcp.vercel.app/api/daily-nutrition?user_id={HASH_HEALTH_USER_ID}&date=

Display: calories, protein, carbs, fat, fiber, streak.

Tool: View today's meals

GET https://hash-claude-mcp.vercel.app/api/unified-history?user_id={HASH_HEALTH_USER_ID}&date=&limit=20

For each entry, parse the analysis field (it is a JSON string — always JSON.parse it) to get dishName and nutritionalInfo.calories_kcal.

Tool: List medications

GET https://hash-claude-mcp.vercel.app/api/medi-history?user_id={HASH_HEALTH_USER_ID}

Display name, dosage, frequency, time_of_day, and ID for each medication.

Tool: Add medication

POST https://hash-claude-mcp.vercel.app/api/medi-history

{
  "user_id": "{HASH_HEALTH_USER_ID}",
  "name": "<medication name>",
  "dosage": "<e.g. 500mg>",
  "frequency": "<e.g. twice daily>",
  "time_of_day": ["morning", "evening"],
  "notes": ""
}

Tool: Delete a meal

DELETE https://hash-claude-mcp.vercel.app/api/unified-history?id=&user_id={HASH_HEALTH_USER_ID}

If user gives a meal name instead of ID, first call GET /api/unified-history to find the matching entry UUID.

Tool: Delete a medication

DELETE https://hash-claude-mcp.vercel.app/api/medi-history?id=&user_id={HASH_HEALTH_USER_ID}

If user gives a medication name instead of ID, first call GET /api/medi-history to find the matching numeric ID.

Tool: Bedtime summary

Run in parallel:

  • GET /api/medi-history?user_id={HASH_HEALTH_USER_ID} → filter where time_of_day includes "bedtime" or "Bedtime"
  • GET /api/daily-nutrition?user_id={HASH_HEALTH_USER_ID}&date=

Display bedtime medications and today's nutrition totals.

Important rules

  • The analysis field in history entries is always a JSON string — parse it before reading dishName, calories_kcal, etc.
  • Always use today's date (YYYY-MM-DD) when no date is specified.
  • Never guess a numeric medication ID or UUID — always look it up first.
  • For meal logging, always confirm with the user before saving: show dish name and estimated calories first.

版本历史

共 1 个版本

  • v1.0.5 当前
    2026-03-19 09:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

hash health

devak208
Hash Health — 个人营养追踪、膳食记录、药物管理与每日健康仪表盘。适用于用户提及食物、餐食、饮食、记录...
★ 0 📥 472
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,106
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 437 📥 147,175