# Connect MarginLens to Your AI Agent (Universal MCP)

> Use your AI to analyze data, create reports, and monitor compliance in MarginLens — and much more.

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

## Key Facts
- Software: MarginLens | Category: AI, Data & Automation (MARGINLENS.AI) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Margin and collateral data, Alert and report settings, Outbound notices; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/marginlens | Guide: https://universalmcp.app/mcp/marginlens
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 1 Read, 2 Write)
Perform 3 actions across margin and collateral data, alert and report settings, and outbound notices. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Margin and collateral data (1):** Margin and collateral data (write)
- **Alert and report settings (1):** Alert and report settings (read)
- **Outbound notices (1):** Outbound notices (write)

## Example Prompts for MarginLens
- **Margin call check:** "In MarginLens, list every account with a variation margin call due today and its amount owed."
- **Utilization watch:** "Show MarginLens initial margin utilization by clearing member for the past 30 days, sorted highest first."
- **Exposure report:** "Summarize MarginLens OTC and cleared margin exposure by counterparty into a weekly structured report."
- **Draft margin alert:** "Draft a margin call notice in MarginLens for Summit Ridge Fund, held for my approval before sending."
