ShelfLife MCP
Integrates with Amazon Alexa+ to provide a live household food inventory, expiry warnings, use-it-up meal suggestions, grocery list management, and kitchen statistics through voice or chat interactions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ShelfLife MCP ๐ฅฌโฐ
An MCP server that gives Alexa+ a live household food inventory โ expiry warnings, use-it-up recipes, and grocery lists โ built to end the "I forgot it was in the fridge" economy.
Track: Alexa+ (self-hosted MCP server, spec 2025-11-25, Streamable HTTP) ยท Mini-challenges: Open Source + AWS Builder
Built for the Build, Ship, Shape: Amazon Developer Hackathon.
node server/index.js # zero npm dependencies, Node 18+
โ MCP endpoint http://localhost:8931/mcp
โ Alexa+ sim http://localhost:8931/simulator/Why
~1/3 of food produced is wasted, and a huge slice of household waste is simply food that expired unnoticed. Voice assistants already sit in the kitchen โ but they can't see your pantry. ShelfLife fixes that: talk to it like Alexa, and it knows what you own, what's dying, and what to cook tonight.
Related MCP server: Pantry Pal
What's in the box
Piece | What it is |
| Isomorphic MCP core: 9 tools (pantry CRUD, expiry radar, use-it-up meal suggestions, grocery list) + a JSON-RPC 2.0 / MCP message handler |
| Self-hosted MCP server โ Streamable HTTP transport ( |
| Simulated Alexa+ experience โ browser chat + voice (Web Speech API) that runs the same core through real |
| Optional AWS Builder integration: enriches |
Alexa+ integration (the track requirement)
The MCP server implements Streamable HTTP with protocol-version negotiation (
2025-11-25/2025-06-18/2025-03-26),initialize,notifications/initialized,ping,tools/list,tools/call, andMcp-Session-Idโ seeserver/index.js:handlePostMcp().Point any MCP client at it:
curl -X POST http://localhost:8931/mcp \
-H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'The simulator is the "simulated Alexa+ experience" path done properly: it is not a mock โ it executes the identical JSON-RPC handshake (
initialize โ notifications/initialized โ tools/call) against the identical core the HTTP server serves.
Tools
pantry_add_item ยท pantry_list ยท pantry_check_expiry ยท pantry_remove_item ยท suggest_meals ยท grocery_add ยท grocery_list ยท grocery_remove ยท kitchen_stats
Design notes
Explainable urgency:
pantry_check_expiryranks by real date math;suggest_mealsscores recipes by how much expiring food they consume โ no black box.One core, two transports: the browser demo and the HTTP server cannot drift apart, because they literally share
core/mcp-core.js.Zero-dependency server: a pantry volunteer (or you) can run this on a potato. Persistence is a human-readable JSON file (
data/pantry.json).
Demo
Open the simulator and try: "what's expiring?" โ "what can I cook tonight?" โ "I bought 2 kilos of chicken" โ "add milk to the shopping list" โ "kitchen summary". Flip to the protocol panel to watch each utterance become an MCP tools/call.
License
MIT โ see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Household-aware cooking brain: pantry, meal suggestions, dietary safety, recipes, shopping lists.
Your kitchen in chat: pantry stock, shopping lists, recipes and scanned grocery receipts.
AI-powered kitchen management โ pantry, recipes, meal plans, shopping lists
Answers 'what can I cook tonight?' from your own saved recipes and what's really in your kitchen.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceGives Alexa+ persistent, structured memory of a household kitchen: tracking purchased groceries, flagging items at risk of spoiling, proposing rescue meals from expiring ingredients, and maintaining shopping lists, receipt ingestion, and waste reports through MCP tool calls. Storage, tool logic, and safety controls (consent gates, two-step deletion, rate limiting) are exposed over Streamable HTTP for any MCP client.MIT
- AlicenseNot gradedqualityCmaintenanceEnables Alexa+ to manage a household pantry by voice, including adding and using items, tracking expirations, suggesting meals, and maintaining a shopping list.MIT
- AlicenseNot gradedqualityCmaintenanceEnables an Alexa+ voice or text client to act as a sous-chef: it tracks the ingredients, dietary restrictions and allergies in your pantry, ranks recipes by what you already have and reports missing items, builds shopping lists, and schedules meals on a plan for natural-language times. It returns structured results so clients can render visual cards alongside spoken replies.MIT
- AlicenseNot gradedqualityCmaintenanceEnables Alexa+ to remember kitchen inventory, track expiration dates, decide what to cook first, and identify missing recipe ingredients or shopping gaps. It provides fast voice-friendly tools for logging groceries, checking expiring items, marking food as used or wasted, and reporting waste and savings.MIT