# Connect StockHero to Your AI Agent (Universal MCP)

> Use your AI to analyze data, monitor performance, and review costs in StockHero — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http stockhero https://api.universalmcp.app/mcp/stockhero`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/stockhero` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "stockhero", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: StockHero | Category: AI, Data & Automation (StockHero) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Strategy logs, Fee and tax reports, Strategy settings; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=stockhero | Guide: https://universalmcp.app/mcp/stockhero
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 2 Read, 1 Write)
Perform 3 actions across strategy logs, fee and tax reports, and strategy settings. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Strategy logs (1):** Strategy logs (write)
- **Fee and tax reports (1):** Fee and tax reports (read)
- **Strategy settings (1):** Strategy settings (read)

## Example Prompts for StockHero
- **Strategy P&L:** "Compare net return by strategy in StockHero for the last 30 days, with fees and slippage shown separately."
- **Stop-loss history:** "List every stop-loss trigger in StockHero this month with ticker, trigger price, and realized loss."
- **Fee breakdown:** "Break down brokerage fees and tax-lot notes in StockHero for the quarter to share with my accountant."
- **Draft rule change:** "Draft a stop-loss threshold change for Momentum ETF in StockHero, paused for my confirmation before saving."
