stock-scanner
49-tool MCP server for stock and crypto market data — quotes, technicals, SEC filings, insider trades, options flow, earnings, and sentiment analysis. 7 modules work with zero API keys
stock-scanner-mcp
A modular MCP server that gives Claude Code real-time access to stock and crypto market data. Scan markets, check technicals, monitor insider trades, track earnings, analyze options flow, and more — all from your terminal.
54 tools across 11 modules — 8 modules work with zero API keys.
What You Can Do
"What are the top gaining stocks today?"
"Show me technicals for AAPL on the hourly timeframe"
"Any insider trades for TSLA in the last 30 days?"
"What's the options chain for AAPL expiring next Friday?"
"What's the current fed funds rate and CPI trend?"
"Convert $10,000 USD to EUR"
Highlights
- Stock scanning — screen by price, RSI, volume, market cap with custom filters
- Technical analysis — RSI, MACD, Bollinger Bands, moving averages, pivots across multiple timeframes
- Options flow — chains with Greeks, unusual activity detection, max pain, implied move
- Insider trades — parsed Form 4 transactions with buy/sell/grant details
- Earnings & news — calendar, analyst ratings, company news, short interest
- Crypto — real-time quotes, technicals, trending coins, market stats
- Macro — CPI, GDP, fed funds rate, economic calendar, yield curve data
- Forex — 31 currency pairs from ECB, conversion, historical rates
- Sentiment — CNN Fear & Greed Index, Crypto Fear & Greed
Quick Start
1. Add MCP server to Claude Code
Add to ~/.claude.json (global) or .mcp.json (per-project):
{
"mcpServers": {
"stock-scanner": {
"command": "npx",
"args": ["-y", "stock-scanner-mcp"]
}
}
}
This gives you 36 tools immediately — no API keys needed.
2. Install trading skills (optional, recommended)
npx -p stock-scanner-mcp stock-scanner-install-skills
This installs 17 slash commands like /morning-briefing, /analyze-stock AAPL, /risk-check TSLA that orchestrate multiple tools into professional analysis workflows.
3. Add API keys for full access (optional)
All three keys are free — no credit card required:
| Key | Get it from | What it unlocks |
|---|---|---|
FINNHUB_API_KEY | finnhub.io/register | Real-time quotes, company news, earnings calendar, analyst ratings, short interest (9 tools) |
ALPHA_VANTAGE_API_KEY | alphavantage.co/support | Daily price history, company fundamentals, earnings & dividend history (5 tools) |
FRED_API_KEY | fred.stlouisfed.org/api | Economic calendar, CPI/GDP/fed funds indicators, historical data (4 tools) |
Add them to your MCP config:
{
"mcpServers": {
"stock-scanner": {
"command": "npx",
"args": ["-y", "stock-scanner-mcp"],
"env": {
"FINNHUB_API_KEY": "your-key-here",
"ALPHA_VANTAGE_API_KEY": "your-key-here",
"FRED_API_KEY": "your-key-here"
}
}
}
}
## Trading Skills
17 ready-made workflows that chain multiple tools into structured analysis. Each skill orchestrates 5-14 tools in parallel and outputs a verdict with direction, confidence, and key levels.
| Category | Skills | What They Do |
|----------|--------|-------------|
| **Daily Routines** | `/morning-briefing`, `/market-close-recap`, `/crypto-briefing` | Pre-market scan, EOD recap, crypto overview |
| **Analysis** | `/analyze-stock TICKER`, `/compare TICKER1 TICKER2`, `/analyze-crypto COIN` | Deep dives and side-by-side comparisons |
| **Strategies** | `/swing-setup`, `/earnings-play TICKER`, `/options-flow TICKER`, `/dividend-screen` | Swing trades, earnings options, smart money, income screen |
| **Macro** | `/macro-dashboard`, `/fed-watch`, `/sector-rotation` | Economic indicators, Fed outlook, sector rotation |
| **Risk** | `/insider-tracker TICKER`, `/smart-money TICKER`, `/risk-check TICKER` | Insider trades, institutional flow, pre-trade risk scorecard |
Skills degrade gracefully when optional API keys are missing. See [skills/README.md](skills/README.md) for the full catalog.
<details>
<summary>Install options</summary>
```bash
npx -p stock-scanner-mcp stock-scanner-install-skills # all skills
npx -p stock-scanner-mcp stock-scanner-install-skills --scope project # project only
npx -p stock-scanner-mcp stock-scanner-install-skills --category macro # one category
npx -p stock-scanner-mcp stock-scanner-install-skills --list # list without installing
npx -p stock-scanner-mcp stock-scanner-install-skills --force # overwrite existing
Manual: git clone this repo and cp -r skills/*/ ~/.claude/skills/
Modules
| Module | Tools | API Key | Description |
|---|---|---|---|
| tradingview | 10 | None | US stock scanner with quotes, technicals, sectors, indices, and screening |
| tradingview-crypto | 4 | None | Crypto pair scanner with technicals and screening |
| sec-edgar | 6 | None | SEC filings, insider trades, institutional holdings, ownership |
| coingecko | 3 | None | Crypto market data, trending coins, global stats |
| options | 5 | None | Options chains, Greeks, unusual activity, max pain, implied move |
| options-cboe | 1 | None | CBOE put/call ratio sentiment indicator |
| sentiment | 2 | None | CNN Fear & Greed Index, Crypto Fear & Greed Index |
| frankfurter | 5 | None | Forex exchange rates — 31 currencies from ECB (daily reference rates) |
| finnhub | 9 | FINNHUB_API_KEY | Quotes, news, earnings, analyst ratings, short interest |
| alpha-vantage | 5 | ALPHA_VANTAGE_API_KEY | Quotes, daily prices, fundamentals, earnings, dividends |
| fred | 4 | FRED_API_KEY | Economic calendar, indicators (CPI, GDP, rates), historical data |
Modules auto-enable when their API key is set. No-key modules are always enabled.
Full tool reference (54 tools)
TradingView — Stock Scanning (no API key)
| Tool | Description |
|---|---|
tradingview_scan | Scan US stocks with custom filters (price, RSI, volume, etc.) |
tradingview_compare_stocks | Side-by-side comparison of 2-5 stocks |
tradingview_quote | 15-min delayed quotes for stock tickers (includes pre/post-market) |
tradingview_technicals | Technical indicators (RSI, MACD, moving averages, pivots) |
tradingview_top_gainers | Today's top gaining stocks by % change |
tradingview_top_losers | Today's top losing stocks by % change |
tradingview_top_volume | Highest volume stocks today |
tradingview_market_indices | Real-time VIX, S&P 500, NASDAQ, Dow Jones |
tradingview_sector_performance | S&P 500 sector ETF performance (weekly, monthly, YTD) |
tradingview_volume_breakout | Stocks with unusual volume (2x+ their 10-day average) |
TradingView — Crypto (no API key)
| Tool | Description |
|---|---|
crypto_scan | Scan crypto pairs with custom filters across major exchanges |
crypto_quote | Real-time crypto pair quotes (e.g. BTCUSDT, ETHUSDT) |
crypto_technicals | Technical analysis for crypto pairs (RSI, MACD, MAs, Bollinger) |
crypto_top_gainers | Top gaining crypto pairs by % change |
SEC EDGAR — Filings & Ownership (no API key)
| Tool | Description |
|---|---|
edgar_search | Full-text search across all SEC filings |
edgar_company_filings | Recent official filings (10-K, 10-Q, 8-K) for a company |
edgar_company_facts | Financial metrics from XBRL data (Revenue, EPS, Net Income) |
edgar_insider_trades | Insider buy/sell activity with parsed Form 4 transaction details |
edgar_institutional_holdings | Institutional holdings (13F) by ticker or manager name |
edgar_ownership_filings | Major ownership changes — 13D/13G activist investor filings |
CoinGecko — Crypto Intelligence (no API key)
| Tool | Description |
|---|---|
coingecko_coin | Detailed crypto info by CoinGecko slug (e.g. 'bitcoin', 'solana') |
coingecko_trending | Top 7 trending cryptos by search volume (last 24h) |
coingecko_global | Global crypto market cap, volume, BTC/ETH dominance |
Options — Chains, Greeks & Unusual Activity (no API key)
| Tool | Description |
|---|---|
options_expirations | Available expiration dates for a stock's options |
options_chain | Full options chain with Greeks for a given expiration |
options_unusual_activity | Unusual options activity — high volume/OI contracts |
options_max_pain | Max pain (strike where most options expire worthless) |
options_implied_move | Expected move from ATM straddle pricing |
Options CBOE — Put/Call Sentiment (no API key)
| Tool | Description |
|---|---|
options_put_call_ratio | CBOE equity/index/total put/call ratio for market sentiment |
Sentiment — Fear & Greed (no API key)
| Tool | Description |
|---|---|
sentiment_fear_greed | CNN Fear & Greed Index — composite score (0-100) with 7 sub-indicators |
sentiment_crypto_fear_greed | Crypto Fear & Greed Index — daily score (0-100) with historical values |
Frankfurter — Forex Rates (no API key)
| Tool | Description |
|---|---|
frankfurter_latest | Latest ECB exchange rates for 31 currencies |
frankfurter_historical | Exchange rates for a specific past date |
frankfurter_timeseries | Daily rate history for a date range (max 90 days) |
frankfurter_convert | Convert an amount between two currencies |
frankfurter_currencies | List all supported currency codes |
Finnhub — News, Earnings & Macro (requires FINNHUB_API_KEY)
| Tool | Description |
|---|---|
finnhub_quote | Real-time stock quote |
finnhub_company_profile | Company info (industry, market cap, IPO date, website) |
finnhub_peers | Comparable companies in the same industry |
finnhub_market_status | Exchange open/closed status and current session |
finnhub_market_news | Latest market news (general, forex, crypto, merger) |
finnhub_company_news | Company-specific news by ticker and date range |
finnhub_earnings_calendar | Upcoming and historical earnings reports |
finnhub_analyst_ratings | Analyst consensus and rating history |
finnhub_short_interest | Short interest, short ratio, and key financial metrics |
Alpha Vantage — Fundamentals & History (requires ALPHA_VANTAGE_API_KEY)
| Tool | Description |
|---|---|
alphavantage_quote | Real-time stock quote (price, change, volume) |
alphavantage_daily | Daily OHLCV price history (up to 100 days) |
alphavantage_overview | Company fundamentals (PE, market cap, sector, analyst target) |
alphavantage_earnings_history | Historical EPS actual vs estimate by quarter |
alphavantage_dividend_history | Historical dividend payments and dates |
FRED — US Economic Data (requires FRED_API_KEY)
| Tool | Description |
|---|---|
fred_economic_calendar | Upcoming high-impact economic releases (FOMC, CPI, NFP, GDP) |
fred_indicator | Latest value for any indicator (CPI, fed funds, unemployment, etc.) |
fred_indicator_history | Historical values with unit transforms (YoY %, change, level) |
fred_search | Discover FRED series IDs by keyword |
Configuration
CLI Options
stock-scanner-mcp --modules tradingview,sec-edgar # Enable specific modules only
stock-scanner-mcp --default-exchange NYSE # Set default exchange
stock-scanner-mcp --help # Show all options
HTTP Sidecar
An optional HTTP server exposing all tools as REST endpoints for non-MCP integrations (trading bots, chat UIs, LLM pipelines).
npx stock-scanner-sidecar # Start on port 3100
npx stock-scanner-sidecar --port 8080 # Custom port
55 endpoints including /tradingview/quote, /options/chain, /frankfurter/convert, and more. See wiki for the full route table.
Rate Limits
| API | Free Tier Limit | Cache TTL |
|---|---|---|
| TradingView | No documented limit | — |
| SEC EDGAR | 10 req/sec | 5 min |
| CoinGecko | ~30 calls/min | 1 min |
| Yahoo Finance (Options) | No documented limit | 5 min |
| CBOE | No documented limit | 30 min |
| Finnhub | 30 calls/sec | 5 min |
| Alpha Vantage | 5 calls/min, 25/day | 1 min |
| FRED | No hard limit | 30 min |
| Frankfurter (ECB) | No limit | 1 hour |
All modules use in-memory TTL caching to minimize API calls.
Development
npm install && npm run build && npm test
npm run lint # TypeScript type checking
npm run validate-tools # Tool description quality check
Architecture
src/
├── index.ts # MCP server entry + prompt definitions
├── config.ts # CLI arg parsing
├── registry.ts # Module auto-discovery and filtering
├── modules/
│ ├── tradingview/ # 10 tools — stock scanning, quotes, technicals, sectors, indices
│ ├── tradingview-crypto/ # 4 tools — crypto scanning and technicals
│ ├── sec-edgar/ # 6 tools — filings, insider trades, holdings
│ ├── coingecko/ # 3 tools — crypto market data
│ ├── options/ # 5 tools — options chains, Greeks, unusual activity, implied move
│ ├── options-cboe/ # 1 tool — CBOE put/call ratio sentiment
│ ├── finnhub/ # 9 tools — quotes, news, earnings, analyst ratings, short interest
│ ├── alpha-vantage/ # 5 tools — quotes, fundamentals, dividends
│ ├── fred/ # 4 tools — economic calendar, indicators, historical data
│ ├── sentiment/ # 2 tools — Fear & Greed indexes (market + crypto)
│ └── frankfurter/ # 5 tools — forex exchange rates (ECB, 31 currencies)
├── sidecar/
│ ├── index.ts # HTTP sidecar entry point (port 3100)
│ └── server.ts # HTTP request handler (55 endpoints)
└── shared/
├── http.ts # HTTP client with timeouts and key sanitization
├── cache.ts # In-memory TTL cache
├── types.ts # ToolDefinition, ToolResult, helpers
├── resolver.ts # Ticker/exchange resolution
└── utils.ts # withMetadata error wrapper
License
MIT
관련 서버
MediaSage
Tracks movies, books, and TV shows to provide intelligent recommendations based on your preferences.
Turtle Noir
MCP server for Turtle Soup (lateral thinking puzzles). Start sessions, ask questions, get 4-class judgments (Yes/No/Both/Irrelevant), and reveal the full story when allowed.
Strider Amazon
MCP server for Amazon shopping - AI agents can search products, check prices, add to cart, and manage shopping lists.
French Admin MCP
16 tools for French administration — tax simulator, URSSAF, CAF housing aid, unemployment benefits, invoicing, legal letters. 2025-2026 rates.
RustChain MCP
MCP server for RustChain Proof-of-Antiquity blockchain and BoTTube AI video platform — 14 tools for wallet management, mining stats, video operations, and agent-to-agent job marketplace.
Github
The GoReleaser MCP
PancakeSwap PoolSpy
Tracks newly created liquidity pools on PancakeSwap, providing real-time data for DeFi analysts, traders, and developers.
Scholar Sidekick MCP
Resolve, format, and export academic citations from any AI assistant
Environmental Compliance MCP
EPA air quality monitoring and HUD foreclosure data. 3 MCP tools for environmental and housing data
RequestRepo MCP
A MCP for RequestRepo