# Tracking Meals and Automating Shopping With an MCP Server

DevFeed: [Tracking Meals and Automating Shopping With an MCP Server](<https://devfeed.tech/articles/tracking-meals-and-automating-shopping-with-an-mcp-server-62187.md>)

Original publisher: [Read original article](<https://philipptheserver.com/posts/daily-meal-tracking-shopping-automation-mcp/>)

Author: Philipp Lehmann (philipp.lehmann@gruppe.ai)

Published: 2026-09-29T23:00:00Z

Content type: article

Language: en

Sources: [Philipp Lehmann](<https://devfeed.tech/sources/philipp-lehmann.md>)

Topics: [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Home Assistant](<https://devfeed.tech/topics/home-assistant.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [api-design](<https://devfeed.tech/tags/api-design.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [automation](<https://devfeed.tech/tags/automation.md>), [claude-ai](<https://devfeed.tech/tags/claude-ai.md>), [data](<https://devfeed.tech/tags/data.md>), [fastapi](<https://devfeed.tech/tags/fastapi.md>), [keycloak](<https://devfeed.tech/tags/keycloak.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [python](<https://devfeed.tech/tags/python.md>)

## AI overview

The author describes a personal meal tracking and grocery shopping system built around an MCP server. A language model logs meals through the server, while a PWA displays and lets the user correct the results. The article discusses a FastAPI REST API and MCP server, shared use cases, Keycloak authentication, locally cached Open Food Facts lookups, and a rebuild that derives stock from an event journal.

## Source excerpt

An MCP server for meal tracking and grocery shopping automation: planned meals minus live stock, and why the v2 rebuild derives stock from an event journal.