Stocks IntelligenceYour AI stops guessing. Starts working. Not another chatbot — a real AI agent for the markets. I built this because Claude kept making up stock prices, and ended up rebuilding how AI talks to live markets: 13 inventions, one MCP-native extension, any AI. BYOM — Bring Your Own Model: your client, your conversation, your credentials — none of it ever traverses our servers. When Anthropic, OpenAI, or Google ship a smarter model, your analyst gets smarter the same day. CYOD — Connect Your Own Data: plug in your own provider accounts and stream live market data straight to your machine — history, snapshots, and live ticks, on your schedule, fully under your control.
▶ Watch on YouTube
The problem that bothered meLLMs don't know yesterday's close, let alone today's options chain. They confidently hallucinate numbers and cite sources that don't exist. The fix isn't a bigger model — it's giving the model a tool it can actually call. That's MCP. Stocks Intelligence is a Model Context Protocol server packaged as a VS Code extension. Install it, sign in, and your AI assistant — Claude Code, ChatGPT, any MCP-compatible client — gets a working set of tools for market data analytics and your own portfolio. Out of the box that market data is delayed; connect your own data provider (CYOD) and, where your account supports it, those same tools see real-time market data. What this actually isTwo things in one extension:
A few things you can ask once it's installed:
No ticker copy-paste. No hallucinated numbers. The AI checks before it talks. The four things I think this does better1. Use your own AI. Whatever client you already trust. Claude Code out of the box, ChatGPT via the MCP connector, Cursor and Gemini and Copilot as each adds MCP support. Your subscription, your interface, your choice. 2. Keep your data under your control. Your AI client (Claude Code, ChatGPT, etc.) talks straight to your AI provider — your prompts and completions never transit our servers. The MCP server only sees the tool-call arguments your AI chooses to send it (e.g. "ticker: AAPL"). Memories partition per-user. Local-memory mode + the Notes section never sync. Shared report URLs are unguessable and expire in 30 days. 3. Get frontier capabilities automatically. When Anthropic ships a smarter Claude, when OpenAI pushes a new GPT, when Google upgrades Gemini — your analyst gets smarter the same day. Your provider's roadmap is our roadmap. No waiting on us to ship a version bump. 4. See the data, not just chat about it. A full dashboard built into the extension — not a marketing afterthought. Heat map of the S&P 500. 3D portfolio bubble map (weight × return × beta). Options volatility surface across strikes and expirations. 13F holdings flow sankey across quarters. Macro yield-curve panels. DCA simulator. All theme-synced to your VS Code dark/light mode. And the AI sees delayed market data and your actual portfolio in the same conversation. Most MCP servers give you one or the other; this gives the AI both, and lets it reason across them. Connect your own dataThe built-in cloud feed is delayed analytics data, shared across users. Connect Your Own Data is the other half: plug in your own market-data accounts and the extension downloads to your machine, on your schedule — and, where the provider supports it, streams live ticks straight to disk. This is the concrete version of differentiator #2 above: your data, your control. Providers you can connect today:
How it works:
Where it lives — and stays. Everything downloads to a local folder (default Open it: Command Palette → Who should try it
How it's builtThe MCP server runs as a Streamable HTTP endpoint on Azure (the extension auto-registers Architecturally, the split matters: the server exposes tools; the client owns the LLM call. Your prompts and completions go client → your AI provider, never through us. That boundary is why control, privacy, and frontier-day upgrades aren't features we had to build — they fall out of the design. The hard part was reconciling options-chain latency with Claude's streaming response model without letting stale data leak into tool responses. That took three rewrites to get right. It's also a full trading dashboardOpen the activity-bar icon and you get a 16-section workspace, not a chat window. Same data the AI sees — but in pixels. Charts: 35 Chart.js 2D charts (line / bar / doughnut / waterfall / candlestick), 8 Plotly 3D plots, 9 Three.js WebGL scenes. Theme-synced to VS Code dark/light. Where the 3D actually earns its keep:
Where the 2D earns its keep:
Talk to other traders, not just to your AI. A built-in Communication channel-based discussion section — multi-channel public threads (general / earnings / macro / options / portfolio etc.), image upload, per-channel icons, threaded replies, retry-after rate-limit handling. Trade ideas, market takes, Q&A — archived per channel and shared across every signed-in user. Same auth as the rest of the extension; no separate Discord, no separate Slack. Sidebar: status-bar ticker (S&P / Nasdaq / Dow / Russell / VIX, refreshed every 30s), watchlist with search + 11-category MCP tool filter, portfolio with tax lots, HTML preview panel with theme sync, Analytics panel listing every AI-generated report, Memories panel (Cloud + Local), Notes section (local-only markdown). The dashboard isn't a side-of-desk afterthought — it's the second half of the product. The MCP tools answer "what's the number?"; the dashboard answers "what shape is the market?". Both share the same data, the same auth, and the same theme. What's actually clever about how it worksA few design choices that aren't obvious from the feature list: Sign in once, all your AI clients work. You log in to the extension via Google or Microsoft. The session token is shared between the VS Code UI and the MCP server, so your AI assistant inherits your identity automatically — no second sign-in, no copy-pasting API keys, no "which account am I on?" confusion. Math runs on the server. The AI just narrates. When you ask "is SPY in a long-gamma regime?", the actual computation — rolling windows, threshold detection, regime classification — runs in JavaScript on the server. The AI receives a clean structured answer and writes the trader-friendly explanation. This means: no transposed digits, no hallucinated numbers in confident prose, and the same answer no matter which AI client you use. ChatGPT and Claude looking at the same minute see byte-identical results. Compute once, answer many. Pricier per-query analytics (sector rotation, breadth, GEX scans) run at most once per market-data refresh — every subsequent caller in the same minute gets a cache hit. So if you and ten of your colleagues all ask "what's the macro regime?" within the same 10 minutes, the math runs once. Material cost difference vs. architectures that re-run computation through the LLM each time. Public share links that don't leak. When you share a chart with Every interaction has a paper trail. Memories are timestamped per-user. AI-generated reports keep their share URL + creation time. Saved chats can be replayed. If you ever need to reconstruct "what did the AI suggest, when, and what did I do about it?", the answer is on disk. Trade execution is gated by design (not policy). When live broker integration ships, every order goes through a server-enforced human approval gate: the AI proposes a trade, the system shows you the exact parameters in a confirmation dialog, you click approve, and only then does the order route to the broker. No prompt manipulation can bypass this — the gate is enforced at the broker-call site, not in the LLM. Until that ships, paper-trading mode lets you exercise the AI-analyst end-to-end with zero capital at risk. Patent & IPThis isn't a thin wrapper over an API. The architecture is the subject of a filed U.S. provisional patent application — Vibe Trading: A Bring-Your-Own-Model VS Code Extension and MCP Platform for AI-Driven Equity Analysis and Trade Execution, USPTO Application No. 64/055,857, filed May 2, 2026 (inventors: Pengxiang Zhao & Zhenyu Chu). Status: patent pending. The filing claims 13 inventions spanning the bring-your-own-model boundary, the MCP deployment topology, the analyst tool surface, and the safety-gated execution path:
These patterns are claimed, and the implementation is offered under a commercial license. The point isn't to threaten anyone — it's that the hard architectural decisions here are documented, dated, and defended. Collaborations are welcome. If you're building in this space — licensing, partnerships, co-development, or applying this architecture to another vertical — reach out via Lynx DI. The patent protects the moat; it isn't a closed door. The design pattern I'd praise even if I hadn't built itMost MCP servers are read-only pipes — the AI gets eyes but no hands. This one gives the AI output hands: The template is replicable across verticals. Swap the data tools and you have an AI-native vertical analyst for legal research, medical literature review, real estate comps, GTM strategy, engineering postmortems — any job that ends with making something someone else reads. The finance instance is just the first one. If you're building a domain-specific MCP server, add the output tools. The 10% of servers that do feel like agents; the rest feel like databases with a chat skin. Try it
That's it. Ask your AI about a ticker. Scheduled reportsWant a pre-market brief on your screen at 8 AM every weekday? Use Claude Code's built-in Three copy-paste recipes (local preview / public share link / email delivery) ship with the extension. After installing, open the extension folder at What I'd love feedback on
PrivacyPer-user partitioning on all stored data. Local-memory mode keeps private notes on disk and invisible to web AI clients. Shareable URLs are unguessable 32-character paths that auto-expire in 30 days. Auth revocable anytime. No tracking, no ads, no prompt logging — your AI client talks straight to your AI provider. For the curious (click to expand the full feature list)All 81 MCP tools across 11 categoriesStart here — pick a synthesis tool first
The synthesis tools call the underlying data tools internally and surface the trader-actionable conclusions. Drill into per-tool reads only after. Data (7)
Analytics (4)
TA-Lib (28 indicators + backtest)The full technicalindicators library wrapped, plus the synthetic OPTFLOW_PROXY for backtesting Options Analytics signals on price history:
Synthesis (6)
Macro Flow (5)
Sector Rotation (4)
Options Analytics (13)The most differentiated category. Wraps the Python signals pipeline (sweep detection, intraday IV, model-vs-market mispricing, P/C ratio) plus pure-JS GEX / Greeks compute on the options chain feed:
Memory (6) —
|
| Data | Refresh |
|---|---|
| Stock prices & fundamentals (2,000+ tickers) | Daily post-close |
| Intraday 5-min bars (200+ tickers) | Every 15 min during market hours |
| Real-time quotes (~615 tickers) | Every 10 min during market hours |
| Options chain (~615 tickers, with Greeks / IV / OI) | Every 10 min during market hours |
| Options signals (sweeps / IV / mispricing / PCR) | Every 10 min during market hours |
| Sector + per-ticker stats | Nightly post-close |
| Macro indicators (FRED, ~50 series) | Daily |
| Institutional holdings (SEC 13F-HR) | Quarterly |
| Insider trades (SEC Form 4) | Daily |
| Congressional trades (House Financial Disclosures) | Event-driven |
| Prediction markets | Continuous |
All market data is delayed — this is an analytics tool, not a real-time trading platform.
Memory categories
analysis · trade_idea · earnings · research · watchlist_note · portfolio · risk · macro · sector · price_target · news · general · alert.
VS Code-only affordances
These features only exist when Stocks Intelligence is hosted inside VS Code — no web AI client (Claude.ai, ChatGPT, Cursor, Codex CLI) can offer them because they require the host's filesystem + UI APIs:
- Hover-ticker tooltip — hover any uppercase ticker (with optional
$prefix) in markdown / plain text / JSON / YAML / TS / JS / Python / C# / Go / Rust → tooltip with the latest (delayed) price + 1d change + sector + RSI(14) + SMA50/200 + 52W range + beta + 1Y return / vol + market cap + action links. - Markdown watchlist auto-eval — opt-in
## Watchlist: AAPL, MSFT, NVDA+<!-- stocks-intelligence:autoeval -->comment in any markdown file; on save (or open), the extension appends a delayed-quote / RSI table delimited by start/end markers (idempotent — repeated saves replace in place). - Notes section in the sidebar — local-only markdown notes under
~/.stock-intelligence/notes/. Click + to create one prefilled with the autoeval template. Per-note refresh + section-wide refresh-all actions. - FileSystemWatcher → preview-panel auto-open — write any HTML to
~/.stock-intelligence/preview/{name}.htmlfrom any tool, any language, and the extension auto-opens it in a webview panel with VS Code theme tokens injected. The canonical path for AI agents to render charts in your chat session. - Status-bar ticker — S&P / Nasdaq / Dow / Russell / VIX + watchlist avg + portfolio avg, refreshed every 30s (configurable).
Theme sync
5 built-in themes matching your VS Code theme: Dark · Dark Modern · Midnight Blue · Light · Light Modern.
Uninstall
Ctrl+Shift+X→ Stocks Intelligence → Uninstall.- Delete
%USERPROFILE%\.vscode\extensions\lynxdi.stocks-intelligence-*. - Remove
"Stocks Intelligence"from~/.claude.jsonundermcpServers. - Optional: delete
%USERPROFILE%\.stock-intelligenceto remove local data (preview HTML, notes, local memories, session token).
Requirements
VS Code 1.85+, an internet connection, and (optionally) an AI assistant — Claude Code today, more MCP clients landing as they add support.
Troubleshooting
If Claude Code can't see the stock tools, run Ctrl+Shift+P → "Stocks Intelligence: MCP Diagnostics" to check server status, registration, and connection details.
Dashboard: stocks.lynxdi.com · Publisher: Lynx DI · License: Commercial
Patent pending — USPTO provisional application No. 64/055,857 (filed 2026-05-02).

