# Connect Ghostfolio to Your AI Agent (Universal MCP)

> Use your AI to create reports, analyze data, and build dashboards in Ghostfolio — and much more.

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

## Key Facts
- Software: Ghostfolio | Category: Other B2B Software (Ghostfolio) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Portfolio holdings, Account activity imports, Net worth reporting; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/ghostfolio | Guide: https://universalmcp.app/mcp/ghostfolio
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across portfolio holdings, account activity imports, and net worth reporting. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Portfolio holdings (1):** Portfolio holdings (write)
- **Account activity imports (1):** Account activity imports (write)
- **Net worth reporting (1):** Net worth reporting (write)

## Example Prompts for Ghostfolio
- **Holdings review:** "Ask Ghostfolio to list each ETF and stock position with cost basis and current value for this quarter."
- **Allocation drift:** "Ask Ghostfolio which asset classes moved more than 5% from target allocation over the last 90 days."
- **Tax lot summary:** "Ask Ghostfolio to total realized gains and dividends by account to prepare the year-end tax summary."
- **Guarded import draft:** "Draft a Ghostfolio activity import for the 27 pending trades, but wait for my approval before saving."
