← 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 build
2

Register it in Claude Code

claude mcp add local-stock-analyst-7006 -- node /path/to/build/index.js

Replace 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 providerNo
ALPHAVANTAGE_API_KEYAPI key for Alpha Vantage data providerNo
MCP_TRANSPORTTransport mode (stdio or http)No
PORTPort for HTTP modeNo

Available Tools (8)

Once configured, Local Stock Analyst gives your AI agent access to:

get_stock_priceRetrieves the current stock price for a given symbol.
symbol
get_quoteGets a detailed stock quote for a given symbol.
symbol
get_company_profileRetrieves company profile information.
symbol
get_candlesFetches historical candle data for a stock.
symbolintervalfromtolimit
get_stock_newsRetrieves recent news for a specific stock.
symbol
get_rsiCalculates the Relative Strength Index (RSI) for a stock.
symbolintervalfromto
get_macdCalculates the Moving Average Convergence Divergence (MACD) for a stock.
symbolintervalfromto
get_key_financialsRetrieves key financial metrics for a company.
symbol

Try 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.

Remember this setup