# MealMasteryAI

> MealMasteryAI is an MCP server for meal planning. MCP server that lets AI assistants plan meals, manage recipes and send groceries to Kroger. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** API, CLI, VS Code, macOS, Windows, Linux
- **Repository:** https://github.com/mealmasteryai/mcp-server
- **MCP Registry name:** io.github.MealMasteryAI/mcp-server
- **Categories:** [meal planning](https://ai-powered.com/categories/meal-planning)
- **Listing updated:** 2026-11-21

## About

Connects AI clients such as Claude Desktop and VS Code Copilot to a MealMastery meal planning account. Through a conversation, an assistant can generate a personalized weekly plan, swap or add individual meals, search and save recipes, and read or update dietary preferences.

The server mirrors the functions of the MealMastery app rather than adding separate features. It exposes 24 tools for planning, recipes, grocery lists and preferences, three read-only resources for the current plan, preferences and grocery list, and four guided prompts for workflows such as weekly meal prep and quick dinner ideas. Plan generation reports progress back to clients that support it.

It suits people who already use MealMastery and want to manage their meals from an MCP-compatible assistant. Grocery lists can be sent to Kroger, and checkout through Instacart is also supported by the tool set.

## Features

- **Weekly plan generation:** Creates a personalized meal plan with AI and reports progress while it runs in supporting clients.
- **Meal swapping:** Replaces or adds individual meals in an existing plan at a chosen slot.
- **Recipe library access:** Searches, retrieves and saves recipes, and tracks favorites and ratings.
- **Grocery list management:** Generates lists from a plan and lets users check off, exclude or adjust items.
- **Kroger checkout:** Sends a grocery list to Kroger from within the assistant.
- **Scoped API access:** Uses a developer API key exchanged for short-lived tokens with read, write, checkout and admin scopes.

## Good for

- Generate a weekly dinner plan from a chat with Claude Desktop
- Swap a single meal in the current plan without opening the app
- Build a grocery list from a plan and send it to Kroger
- Look up saved recipes and favorites while cooking
- Update dietary restrictions and allergies through natural language

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp-server --env MEALMASTERY_API_KEY='<MEALMASTERY_API_KEY>' -- npx -y @mealmastery/mcp-server
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-server --env MEALMASTERY_API_KEY='<MEALMASTERY_API_KEY>' -- npx -y @mealmastery/mcp-server
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@mealmastery/mcp-server"]
env = { MEALMASTERY_API_KEY = "<MEALMASTERY_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e MEALMASTERY_API_KEY='<MEALMASTERY_API_KEY>' mcp-server npx -- -y @mealmastery/mcp-server

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mealmastery/mcp-server"
      ],
      "env": {
        "MEALMASTERY_API_KEY": "<MEALMASTERY_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 24 tools deletes data and 3 change data; 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `get_user_context` (name suggests: reads): Load full user profile, preferences, subscription, and latest plan
- `get_user_preferences` (name suggests: reads): Get dietary preferences and cooking settings
- `update_user_preferences` (name suggests: changes): Update dietary, allergy, or cuisine preferences
- `get_subscription_status` (name suggests: reads): Check subscription tier and usage limits
- `get_checkout_providers` (name suggests: reads): See connected grocery providers (Instacart, Kroger)
- `checkout_grocery_list` (name suggests: reads): Send a grocery list to Instacart or Kroger
- `generate_meal_plan`: Generate a personalized meal plan using AI
- `get_latest_meal_plan` (name suggests: reads): Get the current or most recent meal plan
- `get_meal_plan` (name suggests: reads): Get a specific meal plan by ID
- `list_meal_plans` (name suggests: reads): Browse meal plan history
- `regenerate_meal`: Replace one meal in a plan with a new AI-generated meal
- `generate_and_add_meal` (name suggests: changes): Add a new AI meal to a plan at a specific slot
- `remove_meal` (name suggests: deletes): Remove a meal from a plan
- `search_recipes` (name suggests: reads): Search saved recipes
- `get_recipe` (name suggests: reads): Get full recipe details
- `save_meal_as_recipe`: Save a generated meal as a reusable recipe
- `get_favorite_recipes` (name suggests: reads): Get list of favorited recipes
- `favorite_meal`: Mark a meal as favorite
- `get_meal_ratings` (name suggests: reads): Get ratings for meals in a plan
- `get_all_ratings` (name suggests: reads): Get all-time recipe ratings
- `generate_grocery_list` (name suggests: reads): Create a grocery list from a meal plan
- `get_grocery_list` (name suggests: reads): Get a specific grocery list
- `list_grocery_lists` (name suggests: reads): Browse grocery list history
- `update_grocery_items` (name suggests: changes): Check off, exclude, or adjust grocery items

## FAQ

### What do I need to run MealMasteryAI?

A MealMastery developer API key, which is set as the MEALMASTERY_API_KEY environment variable. The server runs via npx with the @mealmastery/mcp-server package.

### Which AI clients are supported?

The README names Claude Desktop and VS Code Copilot, along with other MCP-compatible AI agents.

### What are the daily request limits?

The free tier allows 1,000 requests per day and the paid tier allows 10,000 requests per day.

### Which grocery services does MealMasteryAI connect to?

The tools reference Kroger and Instacart for sending grocery lists.

### How do I add MealMasteryAI to Claude Code?

Run this command in your terminal: claude mcp add mcp-server --env MEALMASTERY_API_KEY='<MEALMASTERY_API_KEY>' -- npx -y @mealmastery/mcp-server

### What are the best alternatives to MealMasteryAI?

The closest alternatives to MealMasteryAI are You2Chef, Recipe MCP, Cookwith MCP, Calori and Ripe Tonight.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [You2Chef](https://ai-powered.com/mcp/you2chef): You2Chef is an MCP server for meal planning.
- [Recipe MCP](https://ai-powered.com/mcp/recipe-mcp): Recipe MCP is an open-source MCP server for food and drink.
- [Cookwith MCP](https://ai-powered.com/mcp/cookwith-mcp): Cookwith MCP is an MCP server for meal planning.
- [Calori](https://ai-powered.com/mcp/calori): Calori is an MCP server for meal planning.
- [Ripe Tonight](https://ai-powered.com/mcp/ripe-tonight): Ripe Tonight is a freemium MCP server for meal planning.
- [Cuoco](https://ai-powered.com/mcp/cuoco): Cuoco is an MCP server for meal planning.
- [Cookidoo MCP](https://ai-powered.com/mcp/cookidoo-mcp): Cookidoo MCP is an open-source MCP server for meal planning.

---
Source: https://ai-powered.com/mcp/mealmasteryai
