---
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/stock-market/use-cases/analyze-price-history/claude
---
# How to Analyze Price History with Claude

Claude excels at historical price analysis because it fetches the data and immediately applies analytical frameworks. Ask it to identify support and resistance levels, calculate moving averages, compare performance across periods, or explain whether current prices represent a historical anomaly -- connecting data points to market context.

## Setup

claude mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: claude mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask Claude: "Get the price history for AAPL over the last year"
3. Claude fetches historical prices and summarizes key trends
4. Ask: "What was the maximum drawdown in that period?"
5. Request comparisons: "How did AAPL compare to the S&P 500?"

## Example Prompt

```
Get the 1-year price history for NVDA. Calculate the total return, identify the highest and lowest prices, and describe the overall trend.
```

## Tips

- Claude can calculate returns, volatility, and drawdowns from the historical data
- Compare multiple stocks over the same period for relative performance analysis
- Ask for specific date ranges around events like earnings or product launches
