How to Connect Claude Code to Live Stock Market Data (One Command)
Add live SEC dilution data, market snapshots, and 22 years of price history to Claude Code with one command using the SNACS MCP server. No local install.
Claude Code can pull live stock market data straight into a coding session: real share counts from SEC filings, active ATMs and shelfs, cash runway, live quotes, and decades of daily bars. One command connects it to the SNACS MCP server. The server is remote, so there is nothing to install, update, or keep running.
Why this is useful in a terminal
Claude Code is where a lot of trading-adjacent building happens: backtests, screeners, data pipelines, bots. With the SNACS tools attached, the assistant writing that code can also check the data it is coding against:
- "Before we backtest this, what was FLGC's actual share count and float on each of these dates?"
- "Screen for stocks under $5 with an active ATM and under 6 months of runway, then scaffold a watchlist script from the results."
- "This offering event in my dataset looks wrong. Pull the filing-cited event history and compare."
The point-in-time tools matter most here: snacs_dilution_asof_get returns a company's state as it stood on any historical date, which keeps lookahead bias out of anything you build.
Prerequisites
- Claude Code installed (
npm install -g @anthropic-ai/claude-codeor the native installer). - A SNACS API key: subscribe at snacs.trade/api (Edge $99/mo or Alpha $199/mo, both include MCP access), then create a key in account settings. Keys look like
snacs_sk_live_....
Connect (one command)
claude mcp add --transport http snacs https://mcp.snacs.trade \
--header "Authorization: Bearer snacs_sk_live_YOUR_KEY"
Add --scope user if you want the server available in every project rather than just the current one.
Verify with /mcp inside a session: snacs should show as connected with 14 tools.
Try it
> Using the SNACS tools: pull the dilution snapshot for GPUS, show its last 5
daily bars, and tell me whether it has an active ATM and how many months of
cash runway it has.
Claude Code calls snacs_dilution_get, snacs_bars_get, and snacs_facilities_get and assembles the answer from live data. Every dilution figure traces to a primary SEC filing, cited by accession number.
How the data stays honest
- SEC-direct: extracted from 10-K, 10-Q, 8-K, S-1/3, 424B5, Form 4, 13F, and 13G/D filings, not third-party fundamentals feeds. More than 288,000 filings processed.
- Point-in-time: as-of queries return the state on the date you ask about. Built for backtesting.
- Live: during the 4 AM to 8 PM ET session, snapshot and quote tools serve the same real-time feed the SNACS platform runs on.
Rate limits and troubleshooting
- Edge keys: 50 requests/min. Alpha: 1,000/min. The cap returns a clear retry message inside the tool result.
invalid_tokenon connect: mistyped or revoked key. Regenerate in account settings and re-run the add command.- Server not listed: check
claude mcp list, remove withclaude mcp remove snacs, and re-add. The URL is exactlyhttps://mcp.snacs.tradewith no path.
Other clients
On claude.ai (web), SNACS connects with one click through OAuth - no key needed. Claude Desktop, Cursor, and VS Code each have their own two-minute key-based setup. Configs for all of them live in the snacs-mcp repo, with runnable Python/JavaScript API examples in snacs-api-examples. The server is listed in the official MCP registry as trade.snacs/snacs-data.