recipe-finder
by @harshasic
Search and suggest recipes by ingredients, cuisine, or dietary preferences using TheMealDB API with detailed meal info and instructions.
clawhub install recipe-finderπ About This Skill
Recipe Finder
Find recipes by ingredients, cuisine, or dietary preferences using TheMealDB free API.
Triggers
Use this skill when the user:
Tools
web_fetch - Fetch recipe data from TheMealDB APIInstructions
1. Parse the user's request to identify: - Main ingredient (e.g., chicken, eggs, pasta) - Cuisine type (e.g., Italian, Mexican, Chinese) - Dietary restriction (e.g., vegetarian, vegan, gluten-free)
2. Call TheMealDB API:
- By ingredient: https://www.themealdb.com/api/json/v1/1/filter.php?i={ingredient}
- By cuisine: https://www.themealdb.com/api/json/v1/1/filter.php?a={cuisine}
- Search by name: https://www.themealdb.com/api/json/v1/1/search.php?s={query}
3. For each recipe found, optionally fetch details:
- https://www.themealdb.com/api/json/v1/1/lookup.php?i={id}
4. Format response with: - Recipe name - Thumbnail image (if available) - Category and cuisine - Key ingredients - Brief instructions (or link to full recipe)
Response Format
Present recipes in a clean, scannable format: