stock-scanner-mcp 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -13
- package/package.json +18 -2
package/README.md
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
A modular MCP (Model Context Protocol) server that gives Claude Code real-time access to stock and crypto market data. Scan markets, check technicals, monitor insider trades, track earnings and economic events — all from your terminal.
|
|
8
8
|
|
|
9
|
+
**47 tools** across **9 modules** — 6 modules work with zero API keys.
|
|
10
|
+
|
|
11
|
+
**[Wiki](https://github.com/yyordanov-tradu/stock-scanner-mcp/wiki)** — Full tool reference, example prompts, advanced strategies, and troubleshooting guide.
|
|
12
|
+
|
|
9
13
|
## Quick Start
|
|
10
14
|
|
|
11
15
|
```bash
|
|
@@ -34,7 +38,7 @@ Add to your Claude Code MCP config (`~/.claude.json` or project `.mcp.json`):
|
|
|
34
38
|
}
|
|
35
39
|
```
|
|
36
40
|
|
|
37
|
-
### With API keys (optional, enables
|
|
41
|
+
### With API keys (optional, enables all 47 tools):
|
|
38
42
|
|
|
39
43
|
```json
|
|
40
44
|
{
|
|
@@ -44,7 +48,8 @@ Add to your Claude Code MCP config (`~/.claude.json` or project `.mcp.json`):
|
|
|
44
48
|
"args": ["-y", "stock-scanner-mcp"],
|
|
45
49
|
"env": {
|
|
46
50
|
"FINNHUB_API_KEY": "your-key-here",
|
|
47
|
-
"ALPHA_VANTAGE_API_KEY": "your-key-here"
|
|
51
|
+
"ALPHA_VANTAGE_API_KEY": "your-key-here",
|
|
52
|
+
"FRED_API_KEY": "your-key-here"
|
|
48
53
|
}
|
|
49
54
|
}
|
|
50
55
|
}
|
|
@@ -55,28 +60,33 @@ Add to your Claude Code MCP config (`~/.claude.json` or project `.mcp.json`):
|
|
|
55
60
|
|
|
56
61
|
| Module | Tools | API Key | Description |
|
|
57
62
|
|--------|-------|---------|-------------|
|
|
58
|
-
| tradingview |
|
|
63
|
+
| tradingview | 10 | None | US stock scanner with quotes, technicals, sectors, indices, and screening |
|
|
59
64
|
| tradingview-crypto | 4 | None | Crypto pair scanner with technicals and screening |
|
|
60
65
|
| sec-edgar | 6 | None | SEC filings, insider trades, institutional holdings, ownership |
|
|
61
66
|
| coingecko | 3 | None | Crypto market data, trending coins, global stats |
|
|
62
|
-
| options |
|
|
67
|
+
| options | 5 | None | Options chains, Greeks, unusual activity, max pain, implied move |
|
|
63
68
|
| options-cboe | 1 | None | CBOE put/call ratio sentiment indicator |
|
|
64
|
-
| finnhub |
|
|
69
|
+
| finnhub | 9 | `FINNHUB_API_KEY` | Quotes, news, earnings, analyst ratings, short interest |
|
|
65
70
|
| alpha-vantage | 5 | `ALPHA_VANTAGE_API_KEY` | Quotes, daily prices, fundamentals, earnings, dividends |
|
|
71
|
+
| fred | 4 | `FRED_API_KEY` | Economic calendar, indicators (CPI, GDP, rates), historical data |
|
|
72
|
+
|
|
66
73
|
Modules auto-enable when their required environment variables are set. Modules with no required key are always enabled.
|
|
67
74
|
|
|
68
|
-
## Available Tools (
|
|
75
|
+
## Available Tools (47 total)
|
|
69
76
|
|
|
70
77
|
### TradingView — Stock Scanning (no API key)
|
|
71
78
|
|
|
72
79
|
| Tool | Description |
|
|
73
80
|
|------|-------------|
|
|
74
81
|
| `tradingview_scan` | Scan US stocks with custom filters (price, RSI, volume, etc.) |
|
|
75
|
-
| `
|
|
82
|
+
| `tradingview_compare_stocks` | Side-by-side comparison of 2-5 stocks |
|
|
83
|
+
| `tradingview_quote` | 15-min delayed quotes for stock tickers (includes pre/post-market) |
|
|
76
84
|
| `tradingview_technicals` | Technical indicators (RSI, MACD, moving averages, pivots) |
|
|
77
85
|
| `tradingview_top_gainers` | Today's top gaining stocks by % change |
|
|
78
86
|
| `tradingview_top_losers` | Today's top losing stocks by % change |
|
|
79
87
|
| `tradingview_top_volume` | Highest volume stocks today |
|
|
88
|
+
| `tradingview_market_indices` | Real-time VIX, S&P 500, NASDAQ, Dow Jones |
|
|
89
|
+
| `tradingview_sector_performance` | S&P 500 sector ETF performance (weekly, monthly, YTD) |
|
|
80
90
|
| `tradingview_volume_breakout` | Stocks with unusual volume (2x+ their 10-day average) |
|
|
81
91
|
|
|
82
92
|
### TradingView — Crypto (no API key)
|
|
@@ -115,6 +125,7 @@ Modules auto-enable when their required environment variables are set. Modules w
|
|
|
115
125
|
| `options_chain` | Full options chain with Greeks for a given expiration |
|
|
116
126
|
| `options_unusual_activity` | Unusual options activity — high volume/OI contracts |
|
|
117
127
|
| `options_max_pain` | Max pain (strike where most options expire worthless) |
|
|
128
|
+
| `options_implied_move` | Expected move from ATM straddle pricing |
|
|
118
129
|
|
|
119
130
|
### Options CBOE — Put/Call Sentiment (no API key)
|
|
120
131
|
|
|
@@ -126,11 +137,15 @@ Modules auto-enable when their required environment variables are set. Modules w
|
|
|
126
137
|
|
|
127
138
|
| Tool | Description |
|
|
128
139
|
|------|-------------|
|
|
140
|
+
| `finnhub_quote` | Real-time stock quote |
|
|
141
|
+
| `finnhub_company_profile` | Company info (industry, market cap, IPO date, website) |
|
|
142
|
+
| `finnhub_peers` | Comparable companies in the same industry |
|
|
143
|
+
| `finnhub_market_status` | Exchange open/closed status and current session |
|
|
129
144
|
| `finnhub_market_news` | Latest market news (general, forex, crypto, merger) |
|
|
130
145
|
| `finnhub_company_news` | Company-specific news by ticker and date range |
|
|
131
146
|
| `finnhub_earnings_calendar` | Upcoming and historical earnings reports |
|
|
147
|
+
| `finnhub_analyst_ratings` | Analyst consensus and rating history |
|
|
132
148
|
| `finnhub_short_interest` | Short interest, short ratio, and key financial metrics |
|
|
133
|
-
| `finnhub_economic_calendar` | Economic events (FOMC, CPI, GDP, NFP) with impact ratings |
|
|
134
149
|
|
|
135
150
|
### Alpha Vantage — Fundamentals & History (requires `ALPHA_VANTAGE_API_KEY`)
|
|
136
151
|
|
|
@@ -142,6 +157,15 @@ Modules auto-enable when their required environment variables are set. Modules w
|
|
|
142
157
|
| `alphavantage_earnings_history` | Historical EPS actual vs estimate by quarter |
|
|
143
158
|
| `alphavantage_dividend_history` | Historical dividend payments and dates |
|
|
144
159
|
|
|
160
|
+
### FRED — US Economic Data (requires `FRED_API_KEY`)
|
|
161
|
+
|
|
162
|
+
| Tool | Description |
|
|
163
|
+
|------|-------------|
|
|
164
|
+
| `fred_economic_calendar` | Upcoming high-impact economic releases (FOMC, CPI, NFP, GDP) |
|
|
165
|
+
| `fred_indicator` | Latest value for any indicator (CPI, fed funds, unemployment, etc.) |
|
|
166
|
+
| `fred_indicator_history` | Historical values with unit transforms (YoY %, change, level) |
|
|
167
|
+
| `fred_search` | Discover FRED series IDs by keyword |
|
|
168
|
+
|
|
145
169
|
## Configuration
|
|
146
170
|
|
|
147
171
|
### Environment Variables
|
|
@@ -150,6 +174,7 @@ Modules auto-enable when their required environment variables are set. Modules w
|
|
|
150
174
|
|----------|----------|-------------|
|
|
151
175
|
| `FINNHUB_API_KEY` | No | Enables Finnhub module ([get free key](https://finnhub.io/)) |
|
|
152
176
|
| `ALPHA_VANTAGE_API_KEY` | No | Enables Alpha Vantage module ([get free key](https://www.alphavantage.co/support/#api-key)) |
|
|
177
|
+
| `FRED_API_KEY` | No | Enables FRED module ([get free key](https://fred.stlouisfed.org/docs/api/api_key.html)) |
|
|
153
178
|
|
|
154
179
|
### CLI Options
|
|
155
180
|
|
|
@@ -178,7 +203,8 @@ Once configured, just ask Claude naturally:
|
|
|
178
203
|
- "What's trending in crypto right now?"
|
|
179
204
|
- "Find stocks with unusual volume today"
|
|
180
205
|
- "What earnings are coming up this week?"
|
|
181
|
-
- "
|
|
206
|
+
- "What's the current fed funds rate and CPI inflation trend?"
|
|
207
|
+
- "Show me upcoming high-impact economic events"
|
|
182
208
|
- "What's the short interest on GME?"
|
|
183
209
|
- "Get Apple's dividend history"
|
|
184
210
|
- "What's the options chain for AAPL expiring next Friday?"
|
|
@@ -204,14 +230,15 @@ src/
|
|
|
204
230
|
├── config.ts # CLI arg parsing
|
|
205
231
|
├── registry.ts # Module auto-discovery and filtering
|
|
206
232
|
├── modules/
|
|
207
|
-
│ ├── tradingview/ #
|
|
233
|
+
│ ├── tradingview/ # 10 tools — stock scanning, quotes, technicals, sectors, indices
|
|
208
234
|
│ ├── tradingview-crypto/ # 4 tools — crypto scanning and technicals
|
|
209
235
|
│ ├── sec-edgar/ # 6 tools — filings, insider trades, holdings
|
|
210
236
|
│ ├── coingecko/ # 3 tools — crypto market data
|
|
211
|
-
│ ├── options/ #
|
|
237
|
+
│ ├── options/ # 5 tools — options chains, Greeks, unusual activity, implied move
|
|
212
238
|
│ ├── options-cboe/ # 1 tool — CBOE put/call ratio sentiment
|
|
213
|
-
│ ├── finnhub/ #
|
|
214
|
-
│
|
|
239
|
+
│ ├── finnhub/ # 9 tools — quotes, news, earnings, analyst ratings, short interest
|
|
240
|
+
│ ├── alpha-vantage/ # 5 tools — quotes, fundamentals, dividends
|
|
241
|
+
│ └── fred/ # 4 tools — economic calendar, indicators, historical data
|
|
215
242
|
└── shared/
|
|
216
243
|
├── http.ts # HTTP client with timeouts and key sanitization
|
|
217
244
|
├── cache.ts # In-memory TTL cache
|
|
@@ -231,6 +258,7 @@ src/
|
|
|
231
258
|
| CBOE CDN | No documented limit | 30 min |
|
|
232
259
|
| Finnhub | 30 calls/second | 5 min |
|
|
233
260
|
| Alpha Vantage | 5 calls/minute, 25 calls/day | 1 min |
|
|
261
|
+
| FRED | No hard limit | 30 min |
|
|
234
262
|
|
|
235
263
|
All modules use in-memory TTL caching to minimize API calls. Error responses include retry hints for rate-limited requests.
|
|
236
264
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stock-scanner-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "MCP server providing Claude Code with real-time stock and crypto market data, SEC filings, insider trades, and technical analysis",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -28,7 +28,23 @@
|
|
|
28
28
|
"market-data",
|
|
29
29
|
"claude-code",
|
|
30
30
|
"claude",
|
|
31
|
-
"ai-tools"
|
|
31
|
+
"ai-tools",
|
|
32
|
+
"price-action",
|
|
33
|
+
"stock-analysis",
|
|
34
|
+
"technical-analysis",
|
|
35
|
+
"fundamental-analysis",
|
|
36
|
+
"options",
|
|
37
|
+
"options-chain",
|
|
38
|
+
"economic-data",
|
|
39
|
+
"fred",
|
|
40
|
+
"finnhub",
|
|
41
|
+
"alpha-vantage",
|
|
42
|
+
"coingecko",
|
|
43
|
+
"trading",
|
|
44
|
+
"investing",
|
|
45
|
+
"financial-data",
|
|
46
|
+
"stock-scanner",
|
|
47
|
+
"stock-screener"
|
|
32
48
|
],
|
|
33
49
|
"author": "Yordan Yordanov",
|
|
34
50
|
"license": "MIT",
|