npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

invest-hub-mcp

v1.0.0

Published

MCP server for Korean/US stock analysis - quotes, technicals, AI scoring, backtesting

Readme

invest-hub-mcp

Korean & US stock analysis MCP server for Claude Code.

10 tools: real-time quotes, AI scoring, technical analysis, backtesting, news sentiment, insider trading, macro indicators, stock screening, fear & greed index.

Quick Start

# Basic install (Korean quotes, news, technicals work without API keys)
claude mcp add --transport stdio invest-hub -- npx -y invest-hub-mcp

# With API keys (full features)
claude mcp add --transport stdio invest-hub \
  --env OPENAI_API_KEY=sk-xxx \
  --env DART_API_KEY=xxx \
  --env FINNHUB_API_KEY=xxx \
  --env NAVER_CLIENT_ID=xxx \
  --env NAVER_CLIENT_SECRET=xxx \
  -- npx -y invest-hub-mcp

Then just ask Claude:

"삼성전자 분석해줘"
"AAPL insider trading check"
"PER 낮은 코스피 종목 찾아줘"
"RSI 전략으로 005930 백테스트 해줘"

Tools

| Tool | Description | API Key | |------|-------------|:-------:| | get_quote | Real-time stock quotes (KR/US) | Free(KR) / Finnhub(US) | | analyze_stock | AI comprehensive analysis (score 1-10) | OpenAI (optional) | | get_news | News search + sentiment analysis | Free(Google) / Naver(optional) | | get_insider | Insider/institutional trading | DART(KR) / Finnhub(US) | | get_macro | Macro economic indicators | ECOS(KR) / FRED(US) | | screen_stocks | Stock screener (market/sector/price filters) | Free | | get_technical | Technical analysis (RSI, MACD, Bollinger, etc.) | Free | | run_backtest | Strategy backtesting (5 presets) | Free | | get_fear_greed | KOSPI Fear & Greed Index | Free | | setup_keys | API key status & setup guide | Free |

Free (no API key needed)

  • Korean stock quotes & charts (Naver Finance)
  • Google News search
  • Technical analysis (RSI, MACD, SMA, EMA, Bollinger Bands, ATR)
  • Stock screener
  • Backtesting (Golden Cross, RSI Oversold, MACD Signal, Bollinger Breakout, Dual MA)
  • Fear & Greed Index

With API keys

  • US stock quotes & profiles (Finnhub)
  • AI scoring with GPT-4o-mini (OpenAI) — falls back to algorithmic scoring without key
  • Korean financial statements & insider trading (DART)
  • Korean macro indicators (ECOS / Bank of Korea)
  • US macro indicators (FRED)
  • Naver News search (Naver Developers)

API Keys

Run setup_keys tool in Claude to see current status and setup guide.

| API | Env Variable | Free Tier | Get Key | |-----|-------------|-----------|---------| | OpenAI | OPENAI_API_KEY | Pay-as-you-go | platform.openai.com | | DART | DART_API_KEY | 10,000/day | opendart.fss.or.kr | | Finnhub | FINNHUB_API_KEY | 60 calls/min | finnhub.io | | Naver | NAVER_CLIENT_ID + NAVER_CLIENT_SECRET | 25,000/day | developers.naver.com | | ECOS | ECOS_API_KEY | 100,000/day | ecos.bok.or.kr | | FRED | FRED_API_KEY | Unlimited | fred.stlouisfed.org | | FMP | FMP_API_KEY | 250/day | financialmodelingprep.com |

CLI Usage

npx invest-hub-mcp quote 005930
npx invest-hub-mcp quote AAPL --market US
npx invest-hub-mcp fear-greed
npx invest-hub-mcp setup-keys

Backtest Strategies

| Strategy | Description | |----------|-------------| | Golden Cross | SMA 50/200 crossover | | RSI Oversold Bounce | Buy RSI < 30, sell RSI > 70 | | MACD Signal Cross | MACD/Signal line crossover | | Bollinger Band Breakout | Buy below lower band, sell above upper | | Dual MA Trend | EMA 20/50 trend following |

Requirements

  • Node.js >= 18
  • Claude Code (for MCP integration)

License

MIT