← Back to Local Stock Analyst
Install Local Stock Analyst
Pick your client, copy the command, done.
Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1
Prepare the server locally
Run this once before adding it to Claude Code.
npm install
npm run build2
Register it in Claude Code
claude mcp add local-stock-analyst-7006 -- node /path/to/build/index.jsReplace any placeholder paths in the command with the real path on your machine.
Environment Variables
Set these before running Local Stock Analyst.
VariableDescriptionRequired
FINNHUB_API_KEYAPI key for Finnhub data providerNoALPHAVANTAGE_API_KEYAPI key for Alpha Vantage data providerNoMCP_TRANSPORTTransport mode (stdio or http)NoPORTPort for HTTP modeNoAvailable Tools (8)
Once configured, Local Stock Analyst gives your AI agent access to:
get_stock_priceRetrieves the current stock price for a given symbol.symbolget_quoteGets a detailed stock quote for a given symbol.symbolget_company_profileRetrieves company profile information.symbolget_candlesFetches historical candle data for a stock.symbolintervalfromtolimitget_stock_newsRetrieves recent news for a specific stock.symbolget_rsiCalculates the Relative Strength Index (RSI) for a stock.symbolintervalfromtoget_macdCalculates the Moving Average Convergence Divergence (MACD) for a stock.symbolintervalfromtoget_key_financialsRetrieves key financial metrics for a company.symbolTry It Out
After setup, try these prompts with your AI agent:
→Call get_stock_price for MSFT.
→Call get_candles for MSFT, interval D, from 1704067200, to 1735689600, limit 5.
→Call get_rsi for MSFT, interval D, from 1704067200, to 1735689600.
→Get the company profile for AAPL and summarize their main business activities.
→Fetch the latest stock news for NVDA.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
Keep this setup from going cold
Save the docs, env vars, and workflow around Local Stock Analyst in Conare so Claude Code, Codex, and Cursor remember it next time.