analyst-estimates
Retrieve analyst financial estimates including Revenue and EPS projections with low/high ranges and analyst coverage. Use when…
Retrieve full historical end-of-day price data for market indices using Octagon MCP. Use when analyzing index performance over time, tracking market trends, calculating returns, and understanding market context for individual stock analysis.
$ npx -y skills add octagonai/skills --skill stock-historical-index --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/stock-historical-indexContext preview
The summary Claude sees to decide when to auto-load this skill.
Retrieve full historical end-of-day price data for market indices using Octagon MCP. Use when analyzing index performance over time, tracking market trends, calculating returns, and understanding market context for individual stock analysis.
name: stock-historical-index description: Retrieve full historical end-of-day price data for market indices using Octagon MCP. Use when analyzing index performance over time, tracking market trends, calculating returns, and understanding market context for individual stock analysis.
Retrieve full historical end-of-day price data for market indices using the Octagon MCP server.
Ensure Octagon MCP is configured in your AI agent (Cursor, Claude Desktop, Windsurf, etc.). See [references/mcp-setup.md](references/mcp-setup.md) for installation instructions.
Determine your query parameters:
Use the `octagon-agent` tool with a natural language prompt:
Retrieve full historical end-of-day price data for the <INDEX> index from <START_DATE> to <END_DATE>.
**MCP Call Format:**
{
"server": "octagon-mcp",
"toolName": "octagon-agent",
"arguments": {
"prompt": "Retrieve full historical end-of-day price data for the ^GSPC index from 2025-01-01 to 2025-04-30."
}
}The agent returns comprehensive daily index data:
| Date | Open | High | Low | Close | Volume | Change | Change % | VWAP | |------|------|------|-----|-------|--------|--------|----------|------| | 2025-04-30 | 5,499.44 | 5,581.84 | 5,433.24 | 5,569.07 | 5.45B | +69.63 | +1.27% | 5,520.90 | | 2025-04-29 | 5,508.87 | 5,571.95 | 5,505.70 | 5,560.82 | 4.75B | +51.95 | +0.94% | 5,536.84 | | ... | ... | ... | ... | ... | ... | ... | ... | ... |
**Key Statistics**:
**Data Sources**: octagon-stock-data-agent
See [references/interpreting-results.md](references/interpreting-results.md) for guidance on:
**S&P 500 History:**
Retrieve full historical end-of-day price data for the ^GSPC index from 2025-01-01 to 2025-04-30.
**NASDAQ Composite:**
Get historical data for ^IXIC from 2024-01-01 to 2024-12-31.
**Dow Jones:**
Show ^DJI historical prices for Q1 2025.
**Russell 2000:**
Retrieve historical data for ^RUT from 2024-06-01 to 2025-06-01.
**Multiple Indices:**
Compare ^GSPC and ^IXIC performance from 2025-01-01 to 2025-03-31.
| Symbol | Index | Description | |--------|-------|-------------| | ^GSPC | S&P 500 | 500 large-cap US stocks | | ^DJI | Dow Jones | 30 blue-chip stocks | | ^IXIC | NASDAQ Composite | All NASDAQ stocks | | ^NDX | NASDAQ 100 | 100 largest NASDAQ | | ^RUT | Russell 2000 | 2000 small-cap stocks |
| Symbol | Index | Description | |--------|-------|-------------| | ^XLK | Technology | Tech sector | | ^XLF | Financials | Financial sector | | ^XLV | Healthcare | Healthcare sector | | ^XLE | Energy | Energy sector | | ^XLI | Industrials | Industrial sector |
| Symbol | Index | Description | |--------|-------|-------------| | ^VIX | VIX | Market volatility | | ^VXN | VXN | NASDAQ volatility |
| Field | Description | |-------|-------------| | Open | First trade price of day | | High | Highest price of day | | Low | Lowest price of day | | Close | Last trade price of day | | Volume | Total shares traded | | Change | Point change from prior close | | Change % | Percentage change | | VWAP | Volume-weighted average price |
| Metric | Calculation | |--------|-------------| | Daily Range | High - Low | | Range % | (High - Low) / Open | | Position in Range | (Close - Low) / (High - Low) |
| Period | Formula | |--------|---------| | Daily | (Close - Prior Close) / Prior Close | | Weekly | (Friday Close - Monday Open) / Monday Open | | Monthly | (Month End - Month Start) / Month Start | | YTD | (Current - Year Start) / Year Start |
From the data:
Cumulative = (1 + r1) × (1 + r2) × ... × (1 + rn) - 1
| Pattern | Interpretation | |---------|----------------| | High volume + up | Strong buying | | High volume + down | Strong selling | | Low volume + up | Weak rally | | Low volume + down | Lack of sellers |
| Metric | Purpose | |--------|---------| | Average daily volume | Baseline | | Volume spike | Unusual activity | | Volume trend | Participation changes |
From the data:
| Pattern | Characteristics | |---------|-----------------| | Uptrend | Higher highs, higher lows | | Downtrend | Lower highs, lower lows | | Consolidation | Range-bound | | Reversal | Trend change |
| MA | Use | |----|-----| | 50-day | Short-term trend | | 200-day | Long-term trend | | Golden Cross | 50 > 200 (bullish) | | Death Cross | 50 < 200 (bearish) |
| Metric | Calculation | |--------|-------------| | Daily Range % | (High - Low) / Close | | Daily Change | Absolute daily change | | Std Deviation | Dispersion of returns |
| Daily Change % | Market Condition | |----------------|------------------| | <0.5% | Low volatility | | 0.5-1% | Normal | | 1-2% | Elevated | | >2% | High volatility | | >4% | Extreme |
A collection of AI agent skills for financial data analysis powered by the Octagon MCP.
Retrieve analyst financial estimates including Revenue and EPS projections with low/high ranges and analyst coverage. Use when…
Retrieve year-over-year growth in balance sheet items including Total Assets, Total Liabilities, Shareholders Equity, Cash, and…
Retrieve detailed balance sheet statement data including Total Assets, Current Assets, Non-Current Assets, Liabilities, Equity,…
Retrieve market capitalization data for multiple companies at once using Octagon MCP. Use when comparing valuations across peers,…
Retrieve year-over-year growth in cash flow metrics including Operating Cash Flow, Free Cash Flow, and Net Cash Flow. Use when…
Retrieve real-time or historical cash flow statement data including Net Income, Operating Cash Flow, Investing Cash Flow,…