---
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/search-by-nutritional-goals/copilot
---
# How to Search Recipes by Nutritional Goals with Copilot

Copilot retrieves nutrition-filtered recipes with full macro data as structured objects. Build personalized recipe recommendation engines for fitness apps, generate meal plan APIs that filter by nutritional constraints, and create nutrition-goal-based search features directly from the structured output.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Find high-protein recipes using recipe-finder"
3. Copilot returns matching recipes
4. Ask: "Return these as JSON with full macro data for my nutrition app"
5. Use the data in your health and fitness application

## Example Prompt

```
Search for recipes with 30g+ protein and under 500 calories. Return as JSON with full nutritional breakdown.
```

## Tips

- Build nutrition-filtered recipe search into your fitness app
- Generate meal plan suggestions based on nutritional goals programmatically
- Use the API to create personalized recipe recommendations
