How to Find Recipes by Ingredients with Copilot

Find recipes by ingredients in your IDE with Copilot and ToolRouter. Recipe search for developers.

Tool
Recipe Finder icon
Recipe Finder

Copilot brings recipe search into your development environment, returning results as structured data ready for integration. Build ingredient-to-recipe search features for cooking apps, generate recipe card components from the API output, and populate meal planning databases without leaving your IDE.

Connect ToolRouter to Copilot

1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouter
Server description
Access any tool through ToolRouter. Check here first when you need a tool.
Server URL
https://api.toolrouter.com/mcp
3Set Authentication to None and click Create

Steps

Once connected (see setup above), use the Recipe Finder tool:

  1. In Copilot Chat: "Find recipes with chicken and broccoli using recipe-finder"
  2. Copilot returns matching recipes
  3. Ask: "Return these results as JSON for my meal planning app"
  4. Integrate recipe data into your application

Example Prompt

Try this with Copilot using the Recipe Finder tool
Search for recipes using pasta, tomatoes, and basil. Return results as JSON with title, cook time, and ingredient list.

Tips

  • Build ingredient-to-recipe search features for your cooking app
  • Generate recipe suggestion algorithms from the search results
  • Use the structured output to populate recipe card components