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.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ShelfLife MCPwhat's expiring in my fridge this week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: fridge-mcp
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 gradedqualityDmaintenanceEnables AI-powered household management including inventory tracking, restock predictions, meal planning from available ingredients, and baby supply monitoring through natural language commands.Apache 2.0
- FlicenseAqualityDmaintenanceEnables users to manage their fridge inventory by listing, adding, removing, checking items, and identifying expiring items, as well as getting dinner ideas from available ingredients.5-
- 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 shared household task list through natural conversation, including checking status, finding overdue or occasion-tagged tasks, adding items, marking them done, and reassigning owners.MIT