Get Stock Price History with AI on Mac

Pull historical stock price data straight into your AI assistant on Mac. Get 1d to max ranges for any symbol locally with LMCP — no API keys, no cloud, free.

L
LMCP··5 min read

stocks_get_chart fetches historical price data for any stock symbol and hands it to your AI assistant so it can chart trends, compute returns, and answer questions in plain language. You pick the window — 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, or max — and the AI gets the actual price series back. A real prompt you'd type: "Show me Apple's price history over the past year and tell me the percentage change." The AI calls stocks_get_chart with AAPL and range 1y, then reasons over the numbers for you.

This is part of LMCP, a free, native macOS MCP server with 150+ tools that lets AI assistants use your real Mac apps and data locally. Download LMCP to get started.

Which AI agents work?

Desktop clients auto-configure through local stdio — nothing to wire up by hand:

  • Claude Desktop
  • Cursor
  • VS Code (GitHub Copilot)
  • Windsurf
  • Zed

Web-based AIs connect through the LMCP Cloud Relay connector:

  • ChatGPT
  • Claude.ai (web)
  • Grok
  • Perplexity

Automation

The real power is chaining. Ask the AI to fetch stocks_get_chart for several tickers and compare year-to-date performance in one go. Combine it with other LMCP tools: pull a 6mo chart, then create a calendar event for an earnings date, draft an email to your advisor with the trend summary, or save a note with the highlights. One conversation turns raw price history into a finished deliverable.

Context

Because LMCP runs on your Mac, the AI works against your live world. It can read the watchlist symbols you keep in Notes, cross-reference a holding you mentioned in Messages, or attach the chart analysis to a Reminder — all without you copying tickers between apps. The price data comes fresh on each request, and the AI ties it to whatever you're actually tracking.

Productivity

Instead of opening a finance site, typing a symbol, switching ranges, and squinting at a chart, you ask one question and get the answer in seconds. Comparing five stocks across multiple time windows — a five-minute manual chore — becomes a single sentence. Building a quick performance recap for a meeting that used to take ten minutes now takes one prompt.

Privacy & GDPR

Everything runs locally on your Mac. There are no API keys to manage, no account to create, and nothing is stored on a remote server. The symbol you request and the data you get back stay on your machine. This is GDPR-compliant by architecture — privacy isn't a setting you toggle, it's how LMCP is built.

Ready to try it?

Works with Claude, Cursor, VS Code, ChatGPT and any MCP client

Download LMCP (.dmg)
FreemacOS 12+ · Apple Silicon & Intel

✦ llms.txt