Manage grocery and shopping lists via AnyList. Use when user asks about shopping lists, groceries, or adding/checking off items to buy.
Manage grocery and shopping lists via AnyList.
npm install -g anylist-cli
# Authenticate interactively
anylist auth
# Or set environment variables for non-interactive use
export ANYLIST_EMAIL="[email protected]"
export ANYLIST_PASSWORD="your-password"
anylist lists # Show all lists
anylist lists --json # Output as JSON
anylist items "Grocery" # Show items in a list
anylist items "Grocery" --unchecked # Only unchecked items
anylist items "Grocery" --json # Output as JSON
anylist add "Grocery" "Milk"
anylist add "Grocery" "Milk" --category dairy
anylist add "Grocery" "Chicken" --category meat --quantity "2 lbs"
Categories: produce, meat, seafood, dairy, bakery, bread, frozen, canned, condiments, beverages, snacks, pasta, rice, cereal, breakfast, baking, spices, seasonings, household, personal care, other
anylist check "Grocery" "Milk" # Mark as checked
anylist uncheck "Grocery" "Milk" # Mark as unchecked
anylist remove "Grocery" "Milk" # Remove from list
anylist clear "Grocery" # Clear all checked items
User: "What's on the grocery list?"
anylist items "Grocery" --unchecked
User: "Add milk and eggs to groceries"
anylist add "Grocery" "Milk" --category dairy
anylist add "Grocery" "Eggs" --category dairy
User: "Check off the bread"
anylist check "Grocery" "Bread"
User: "Add ingredients for tacos"
anylist add "Grocery" "Ground beef" --category meat
anylist add "Grocery" "Taco shells" --category other
anylist add "Grocery" "Lettuce" --category produce
anylist add "Grocery" "Tomatoes" --category produce
anylist add "Grocery" "Cheese" --category dairy
--json for scripting and programmatic access