---
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/nutrition-data/use-cases/research-macronutrient-profiles/copilot
---
# How to Research Macronutrient Profiles with Copilot

Copilot fetches macronutrient data and delivers it in developer-friendly formats. Request macro profiles as JSON arrays, generate TypeScript types from the data structure, and build food comparison logic directly from real nutritional records. It fits naturally into the workflow of building nutrition tracking apps and fitness platforms.

## Setup

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

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get macronutrient data for chicken breast, rice, and broccoli"
3. Copilot returns the macro profiles
4. Ask: "Create a TypeScript type for this nutrition data and output sample records"
5. Use the structured data in your application

## Example Prompt

```
Look up macros for 10 common high-protein foods and return them as a JSON array with name, calories, protein, fat, and carbs per 100g.
```

## Tips

- Build a macro database for your nutrition application from real data
- Generate food comparison features using the structured output
- Create macro-based food recommendation logic from the data patterns
