---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/recipe-finder/use-cases/find-recipes-by-ingredients/copilot
---
# How to Find Recipes by Ingredients with Copilot

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.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

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

## Example Prompt

```
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
