MealMasteryAI

io.github.MealMasteryAI由 GitHub 账号 MealMasteryAI 发布v0.2.4更新于 Oct 24, 2026

AI meal planning: generate weekly plans, manage recipes, and send groceries to Kroger.

已验证STDIO仅桌面位置与生活效率与工作流

概览

AI 生成的概览

MealMasteryAI 是一个本地 MCP 服务器,让助手生成 AI 膳食计划、管理食谱和购物清单,并把食材发送到 Instacart 或 Kroger。

可以做什么
读取和更新用户资料、饮食偏好、过敏信息、订阅状态及已连接的购物服务商,并把购物清单结账发送到 Instacart 或 Kroger。生成带流式进度的 AI 膳食计划,浏览计划历史,重新生成或添加单餐,删除餐次。搜索、查看、保存和收藏食谱,查看餐食评分。根据计划生成购物清单,浏览清单历史,勾选、排除或调整条目。
适用场景
适合通过 MealMastery 规划膳食并采购、希望在 Claude Desktop 或 VS Code Copilot 等 MCP 客户端中用对话完成这些操作的用户,例如生成一周计划并转为购物订单。
运行要求
通过 npx 从 npm 包 @mealmastery/mcp-server 本地运行,需要 Node.js。需要在 MEALMASTERY_API_KEY 环境变量中提供 MealMastery 开发者 API 密钥;可选 MEALMASTERY_API_URL 覆盖 API 基础地址。需要能访问 MealMastery API 的网络。
安装前请注意
API 密钥是放在客户端配置中的机密,请勿写入共享文件。该服务器可修改已存数据(偏好、计划、食谱、购物条目),并可将购物清单发送到 Instacart 或 Kroger,可能产生真实购买。用量受与订阅等级挂钩的每密钥每日配额限制。

安装

在 SourceWeft 中

  1. 打开 控制台中的 MealMasteryAI,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@mealmastery/mcp-server

MCP server for MealMastery AI meal planning. Integrates with Claude Desktop, VS Code Copilot, and other MCP-compatible AI agents.

Philosophy

The MCP server is a mirror of core capabilities, not a place where new features debut. Its value proposition is:

"Everything you can do in the app, you can now do through natural conversation in Claude."

The MCP layer adds convenience (natural language) and composability (chaining tools), but the underlying capabilities exist in the core product first. New features should be built as API endpoints powering the web/mobile apps, then exposed through MCP -- never the other way around.

Setup

  1. Get your API key from MealMastery Settings
  2. Add to your Claude Desktop config (claude_desktop_config.json):
json
{  "mcpServers": {    "mealmastery": {      "command": "npx",      "args": ["-y", "@mealmastery/mcp-server"],      "env": {        "MEALMASTERY_API_KEY": "mm_live_..."      }    }  }}

Features

24 Tools

Full CRUD for meal planning, recipes, grocery lists, and user preferences -- plus AI generation with streaming progress.

3 Resources (read-only context)

Resource URIDescription
mealmastery://meal-plan/currentLatest meal plan with all meals and nutrition
mealmastery://user/preferencesDietary preferences, allergies, skill level
mealmastery://grocery-list/currentGrocery list for the current meal plan

4 Prompt Templates (guided workflows)

PromptDescription
weekly-meal-prepFull week planning: generate plan, review, grocery list, checkout
swap-mealReplace a meal in the current plan
order-groceriesPreview and send grocery list to Instacart/Kroger
quick-dinnerSingle quick meal idea with time constraints

Streaming & Progress

The generate_meal_plan tool supports MCP progress notifications. Clients that send a progressToken receive real-time updates during AI generation (0-100% progress with status messages). Clients without progress support gracefully fall back to the non-streaming endpoint.

Quota Awareness

API key quotas (daily request limits based on subscription tier) are reported on every token exchange. Free tier: 1,000 requests/day. Paid tier: 10,000 requests/day.

Available Tools

User Context

  • get_user_context - Load full user profile, preferences, subscription, and latest plan
  • get_user_preferences - Get dietary preferences and cooking settings
  • update_user_preferences - Update dietary, allergy, or cuisine preferences
  • get_subscription_status - Check subscription tier and usage limits
  • get_checkout_providers - See connected grocery providers (Instacart, Kroger)
  • checkout_grocery_list - Send a grocery list to Instacart or Kroger

Meal Planning

  • generate_meal_plan - Generate a personalized meal plan using AI (with streaming progress)
  • get_latest_meal_plan - Get the current/most recent meal plan
  • get_meal_plan - Get a specific meal plan by ID
  • list_meal_plans - Browse meal plan history
  • regenerate_meal - Replace one meal in a plan with a new AI-generated meal
  • generate_and_add_meal - Add a new AI meal to a plan at a specific slot
  • remove_meal - Remove a meal from a plan

Recipes

  • search_recipes - Search saved recipes
  • get_recipe - Get full recipe details
  • save_meal_as_recipe - Save a generated meal as a reusable recipe
  • get_favorite_recipes - Get list of favorited recipes
  • favorite_meal - Mark a meal as favorite
  • get_meal_ratings - Get ratings for meals in a plan
  • get_all_ratings - Get all-time recipe ratings

Grocery

  • generate_grocery_list - Create a grocery list from a meal plan
  • get_grocery_list - Get a specific grocery list
  • list_grocery_lists - Browse grocery list history
  • update_grocery_items - Check off, exclude, or adjust grocery items

Environment Variables

VariableRequiredDefaultDescription
MEALMASTERY_API_KEYYes-Your developer API key (mm_live_...)
MEALMASTERY_API_URLNohttps://api.mealmastery.aiAPI base URL

Security

  • API keys are exchanged for short-lived JWTs (15 min) -- never sent on data requests
  • HTTPS enforced for all non-localhost connections
  • Scope-based access control (read, write, checkout, admin)
  • Per-key daily quotas enforced server-side
  • Error messages sanitized -- no internal API details leak to the agent

Development

bash
npm installnpm run buildnpm start

来源:README.md,提交 25dcd1a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.4最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分