AI assistants are good at answering questions like "which of my holdings dragged the portfolio down today?", but only if they can see the holdings. Pasting a spreadsheet into a chat every morning gets old fast. The Model Context Protocol (MCP) solves this: a small local program, the MCP server, gives the assistant a few tools it can call when it needs data.
StockDock 1.10 and later is also an MCP server. If you already track your portfolio in it, Claude and other MCP clients can read it directly.
What the assistant can see
Three read-only tools:
get_portfolio: holdings with live value, cost, total P&L and today's change, per portfolio and combinedget_watchlist: live quotes for your watchlistget_quote: a live quote for any Yahoo Finance ticker, including crypto (BTC-USD) and currency pairs (EURUSD=X)
Nothing is written or changed: the assistant can't add, edit or delete holdings, and it can't place orders.
Connect Claude Code
One command in the terminal:
claude mcp add stockdock -- /Applications/StockDock.app/Contents/MacOS/StockDock --mcpConnect Claude Desktop, Cursor and other clients
Add StockDock to the client's MCP configuration. In Claude Desktop it's under Settings → Developer → Edit Config; in Cursor, ~/.cursor/mcp.json:
{
"mcpServers": {
"stockdock": {
"command": "/Applications/StockDock.app/Contents/MacOS/StockDock",
"args": ["--mcp"]
}
}
}Restart the client. The menu bar app doesn't need to be open: the client starts StockDock in the background with --mcp, without a window or a menu bar icon.
Questions worth asking
- "How is my portfolio doing today, and which three holdings moved it most?"
- "Which of my positions are below my average price?"
- "What share of my portfolio is in US tech stocks?"
- "What's the price of NVDA and BTC right now?"
- "Compare today's move of my watchlist with the S&P 500."
The assistant combines the tools on its own: it reads the portfolio, asks for the quotes it's missing and does the arithmetic.
What leaves your Mac
StockDock reads your portfolios and watchlist from its local file and fetches quotes from Yahoo Finance, as the app always does. What the assistant asks for, though, is sent to the AI service you're using, holdings included. Connect StockDock only to an assistant you trust with that information, and remember that its answers are not investment advice.