- DATA
- MEDIA
- LOGIC
- HUMAN
Short answer
How can I get recipe data for my app using AI?
Your AI uses TheMealDB to find specific meals and pull their full details, including ingredient lists and image URLs. You get structured data ready to populate your application's database or UI.
Data outcomes
Where your data lands.
The AI handles the heavy lifting of searching and fetching, leaving you with clean data.
DATA
Structured recipe objects
The AI converts a simple name into a full set of ingredients and measurements. This data is ready for your app's schema.
MEDIA
Direct image links
Every meal includes a URL for its main image. Your AI grabs these so you can display them in your app's feed immediately.
LOGIC
Filtered meal lists
Instead of manual searching, your AI finds specific meals by name and returns the relevant IDs. This makes building search features easy.
HUMAN
Final data validation
You review the structured output to ensure the measurements and ingredient names match your app's specific formatting needs.
The workflow
What your AI does when a request arrives.
The AI acts as the bridge between your prompt and the TheMealDB database.
Find the meal
The AI takes your text request and looks for a matching meal name in the database.
search_meals_by_nameFetch full details
Once it finds a match, the AI grabs the specific ID to pull the complete recipe profile.
get_meal_by_idExtract ingredients
The AI parses the raw recipe data into a clean list of ingredients and their specific amounts.
get_meal_by_idFormat for your app
The AI organizes the images and instructions into the exact JSON structure your application expects.
get_meal_by_id
Try it
Copy these to start.
Use these prompts to begin pulling data immediately.
Starting points
Swap out the meal names or app types to fit your specific project.
TheMealDB Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_dhRtKcxtyaCQHzizhcQD8PboSErXP3PYFbLIO6nR/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — TheMealDB capabilities are ready to use.
{
"mcpServers": {
"themealdb-extended-mcp": {
"url": "https://edge.vinkius.com/vk_preview_dhRtKcxtyaCQHzizhcQD8PboSErXP3PYFbLIO6nR/mcp"
}
}
}Find the recipe for 'Spaghetti Bolognese' and give me the ingredients in a JSON list.
Search for 'Chicken' meals and return a list of their IDs and image URLs.
Get the full instructions and measurements for 'Beef Wellington' for my recipe app.
I need to populate my app with dessert data; find 5 different cake recipes and their images.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect TheMealDB once, then ask.
Just click the link to connect. Your credentials stay encrypted, and you can start querying the database from your favorite AI client right away.
Connect TheMealDB to your AIFAQ
How the recipe sourcing works
- 01
Can the AI upload these recipes directly to my database?
No. The AI can only fetch and format the data. You are responsible for sending that data to your own database or application.
- 02
Can I use the AI to add new recipes to TheMealDB?
No. The tools only allow for searching and retrieving existing meal data.
- 03
Does the AI provide the actual image files?
No. The AI provides the URLs for the images, which you can then use to display the pictures in your app.
- 04
Can I search for recipes by category like 'Vegan'?
No. The current tools only support searching for meals by their specific name.
- 05
Will the AI format the measurements into metric or imperial?
The AI can reformat the data it finds, but it can only work with the measurements provided in the original recipe data.
More questions about TheMealDB? The Connector page answers them. See everything the TheMealDB Connector can do
Connect TheMealDB to Claude, Cursor, ChatGPT & more
