Skip to main content
Glama
meals-mcp-server

meals-mcp-server

🍽️ meals-mcp-server

A Model Context Protocol (MCP) server that connects Claude AI to a live meals database. Ask Claude anything about meals β€” search by name, ingredient, or ID, or get a random meal suggestion β€” all through natural language.


πŸ“ Project Structure

meals-mcp-server/
β”‚
β”œβ”€β”€ meals_server.py        # MCP server β€” all tools defined here
β”œβ”€β”€ requirements.txt       # Python dependencies
β”œβ”€β”€ README.md
└── screenshots/
    β”œβ”€β”€ mcp_server.png
    β”œβ”€β”€ claude_connect.png
    β”œβ”€β”€ meal_by_name.png
    β”œβ”€β”€ meal_by_ingredient.png
    β”œβ”€β”€ meal_by_id.png
    └── random_meal.png

Related MCP server: Mealie MCP Server

βš™οΈ Setup & Installation

1. Clone the repo

git clone https://github.com/YOUR-USERNAME/meals-mcp-server.git
cd meals-mcp-server

2. Create a virtual environment

python -m venv venv
source venv/bin/activate        # Mac/Linux
venv\Scripts\activate           # Windows

3. Install dependencies

pip install -r requirements.txt

4. Run the server

python meals_server.py

πŸ”Œ Connect to Claude Desktop

  1. Open Claude Desktop β†’ Settings β†’ Developer

  2. Click Edit Config to open claude_desktop_config.json

  3. Add the following (replace the path with your actual path):

{
  "mcpServers": {
    "meals": {
      "command": "/Users/spartan/Desktop/DATA 236 (Distributed)/Homework/HW 5/part 2/venv/bin/python",
      "args": [
        "/Users/spartan/Desktop/DATA 236 (Distributed)/Homework/HW 5/part 2/meals_server.py"
      ]
    }
  },
  "preferences": {
    "coworkWebSearchEnabled": true,
    "sidebarMode": "chat",
    "coworkScheduledTasksEnabled": false
  }
}
  1. Restart Claude Desktop

  2. The meals tools will appear in Claude's tool panel βœ…


🧰 Available Tools

Tool

Description

meal_by_name

Search for meals by name

meal_by_ingredient

Find meals containing a specific ingredient

meal_by_id

Get full details of a meal by its ID

random_meal

Fetch a random meal suggestion


πŸ“Έ Screenshots

βœ… Claude Connected to Meals Server

Claude Connect

πŸ–₯️ MCP Server Running in Claude

MCP Server

πŸ” Search Meals by Name

Meal by Name Meal by Name Meal by Name

πŸ₯¦ Search by Ingredient

Meal by Ingredient Meal by Ingredient

πŸ“‹ Meal Details by ID

Meal by ID Meal by ID Meal by ID

🎲 Random Meal

Random Meal


πŸ› οΈ Built With


πŸ‘€ Author

Anushka Khadatkar


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude to search, import, create, update, and delete recipes, manage shopping lists and items, and plan meals by date through the Mealie API. Runs as a remote streamable-HTTP connector with built-in OAuth 2.1, so it can be added directly in Claude's mobile, web, or desktop apps without a third-party auth service.
      3
      MIT