mcpField
S
stock-analysis

stock-analysis

github.com/bruce-shiData & databases1386 installsUpdated 36w ago
Repository

About stock-analysis

Stock Analysis is a CLI skill for examining stock data, with commands for quotes, historical charts, indicators, news, options, and screening. It is intended for users who need market data and analysis through `ticker-cli`.

Key features

  1. 01Fetch real-time stock quotes
  2. 02Retrieve historical chart data
  3. 03Calculate common technical indicators
  4. 04View stock news and insights
  5. 05Screen stocks and search symbols

Use cases

  1. 01Check quotes for one or several stocks
  2. 02Review historical price movements
  3. 03Calculate RSI, MACD, or moving averages
  4. 04Find gainers, losers, or actively traded stocks

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bruce-shi/ticker-cli --skill stock-analysis

After installing, type/stock-analysisin Claude Code to confirm it loaded.

Bundled filesreferences/daily-report.mdreferences/weekly-report.md

Details

From the project README

Stock Analysis Skill

A powerful CLI tool for trading analysis that provides stock quotes, charts, technical indicators, news, and more.

Basic Usage

npx ticker-cli <command> [options]

Available Commands

CommandDescription
quoteGet real-time stock quotes
chartGet chart/historical data
indicatorCalculate technical indicators (SMA, EMA, RSI, MACD, BB)
summaryGet comprehensive quote summary
newsGet latest stock news
insightsGet stock insights and analysis
optionsGet options chain data
recommendationsGet analyst recommendations
screenerScreen stocks (most actives, gainers, losers, etc.)
searchSearch for stock symbols

Quick Examples

# Get quote for single or multiple stocks
npx ticker-cli quote AAPL
npx ticker-cli quote AAPL MSFT GOOGL

# Get historical chart data
npx ticker-cli chart AAPL -p 1mo
npx ticker-cli chart AAPL --start 2025-01-01 --end 2025-12-31

# Calculate technical indicators
npx ticker-cli indicator AAPL sma -p 3mo
npx ticker-cli indicator AAPL rsi -p 3mo
npx ticker-cli indicator AAPL macd -p 6mo
npx ticker-cli indicator AAPL sma -p 1mo -i 1h

# Get news and insights
npx ticker-cli news AAPL --limit 20
npx ticker-cli insights AAPL

# Screen stocks
npx ticker-cli screener -q most_actives
npx ticker-cli screener -q day_gainers

Report Generation Guides

For detailed instructions on generating reports, see the references folder:

Technical Indicators Reference

IndicatorDescriptionDefault Length
smaSimple Moving Average20
emaExponential Moving Average20
rsiRelative Strength Index14
macdMoving Average Convergence Divergence12/26/9
bbBollinger Bands20

Screener Queries

Available predefined queries:

  • most_actives - Most actively traded stocks
  • day_gainers - Top gainers of the day
  • day_losers - Top losers of the day
  • undervalued_growth_stocks - Undervalued stocks with growth potential
  • undervalued_large_caps - Undervalued large cap stocks
  • growth_technology_stocks - Growing tech stocks
  • top_mutual_funds - Top performing mutual funds

Comments

Markdown supported