tradingview-mcp-server 0.0.1

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.
Files changed (51) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +267 -0
  3. package/dist/api/client.d.ts +11 -0
  4. package/dist/api/client.d.ts.map +1 -0
  5. package/dist/api/client.js +45 -0
  6. package/dist/api/client.js.map +1 -0
  7. package/dist/api/types.d.ts +68 -0
  8. package/dist/api/types.d.ts.map +1 -0
  9. package/dist/api/types.js +5 -0
  10. package/dist/api/types.js.map +1 -0
  11. package/dist/index.d.ts +7 -0
  12. package/dist/index.d.ts.map +1 -0
  13. package/dist/index.js +265 -0
  14. package/dist/index.js.map +1 -0
  15. package/dist/resources/presets.d.ts +24 -0
  16. package/dist/resources/presets.d.ts.map +1 -0
  17. package/dist/resources/presets.js +85 -0
  18. package/dist/resources/presets.js.map +1 -0
  19. package/dist/tests/cache.test.d.ts +2 -0
  20. package/dist/tests/cache.test.d.ts.map +1 -0
  21. package/dist/tests/cache.test.js +41 -0
  22. package/dist/tests/cache.test.js.map +1 -0
  23. package/dist/tests/fields.test.d.ts +2 -0
  24. package/dist/tests/fields.test.d.ts.map +1 -0
  25. package/dist/tests/fields.test.js +56 -0
  26. package/dist/tests/fields.test.js.map +1 -0
  27. package/dist/tests/presets.test.d.ts +2 -0
  28. package/dist/tests/presets.test.d.ts.map +1 -0
  29. package/dist/tests/presets.test.js +59 -0
  30. package/dist/tests/presets.test.js.map +1 -0
  31. package/dist/tests/rateLimit.test.d.ts +2 -0
  32. package/dist/tests/rateLimit.test.d.ts.map +1 -0
  33. package/dist/tests/rateLimit.test.js +44 -0
  34. package/dist/tests/rateLimit.test.js.map +1 -0
  35. package/dist/tools/fields.d.ts +8 -0
  36. package/dist/tools/fields.d.ts.map +1 -0
  37. package/dist/tools/fields.js +229 -0
  38. package/dist/tools/fields.js.map +1 -0
  39. package/dist/tools/screen.d.ts +17 -0
  40. package/dist/tools/screen.d.ts.map +1 -0
  41. package/dist/tools/screen.js +171 -0
  42. package/dist/tools/screen.js.map +1 -0
  43. package/dist/utils/cache.d.ts +13 -0
  44. package/dist/utils/cache.d.ts.map +1 -0
  45. package/dist/utils/cache.js +45 -0
  46. package/dist/utils/cache.js.map +1 -0
  47. package/dist/utils/rateLimit.d.ts +11 -0
  48. package/dist/utils/rateLimit.d.ts.map +1 -0
  49. package/dist/utils/rateLimit.js +28 -0
  50. package/dist/utils/rateLimit.js.map +1 -0
  51. package/package.json +56 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Fiale Plus
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,267 @@
1
+ # TradingView MCP Server
2
+
3
+ **Unofficial** Model Context Protocol (MCP) server for TradingView's stock screener API.
4
+
5
+ 🚧 **Work in Progress** - This project is in early development (v0.1.0 MVP).
6
+
7
+ ## Features
8
+
9
+ - 🔍 **Screen stocks, forex, and crypto** with advanced filters
10
+ - 📊 **30+ fundamental, technical, and performance fields**
11
+ - 🎯 **5 preset strategies** (quality, value, dividend, momentum, growth)
12
+ - ⚡ **Configurable caching and rate limiting**
13
+ - 🔧 **Works with Claude Desktop and Claude Code**
14
+
15
+ ## Installation
16
+
17
+ ### Option 1: NPM (Recommended)
18
+
19
+ ```bash
20
+ npm install -g tradingview-mcp-server
21
+ ```
22
+
23
+ ### Option 2: Local Development
24
+
25
+ ```bash
26
+ git clone https://github.com/fiale-plus/tradingview-mcp-server.git
27
+ cd tradingview-mcp-server
28
+ npm install
29
+ npm run build
30
+ ```
31
+
32
+ ## Configuration
33
+
34
+ ### Claude Desktop
35
+
36
+ Add to your Claude Desktop configuration file:
37
+
38
+ **Mac**: `~/Library/Application Support/Claude/claude_desktop_config.json`
39
+ **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
40
+ **Linux**: `~/.config/Claude/claude_desktop_config.json`
41
+
42
+ ```json
43
+ {
44
+ "mcpServers": {
45
+ "tradingview": {
46
+ "command": "npx",
47
+ "args": ["-y", "tradingview-mcp-server"],
48
+ "env": {
49
+ "CACHE_TTL_SECONDS": "300",
50
+ "RATE_LIMIT_RPM": "10"
51
+ }
52
+ }
53
+ }
54
+ }
55
+ ```
56
+
57
+ ### Claude Code (Project-Level)
58
+
59
+ Create `.mcp.json` in your project root:
60
+
61
+ ```json
62
+ {
63
+ "mcpServers": {
64
+ "tradingview": {
65
+ "command": "npx",
66
+ "args": ["-y", "tradingview-mcp-server"],
67
+ "env": {
68
+ "CACHE_TTL_SECONDS": "300",
69
+ "RATE_LIMIT_RPM": "10"
70
+ }
71
+ }
72
+ }
73
+ }
74
+ ```
75
+
76
+ Enable in `.claude/settings.local.json`:
77
+
78
+ ```json
79
+ {
80
+ "enableAllProjectMcpServers": true
81
+ }
82
+ ```
83
+
84
+ ## Environment Variables
85
+
86
+ | Variable | Description | Default |
87
+ |----------|-------------|---------|
88
+ | `CACHE_TTL_SECONDS` | Cache time-to-live in seconds (0 to disable) | `300` (5 min) |
89
+ | `RATE_LIMIT_RPM` | API requests per minute | `10` |
90
+
91
+ ## Usage Examples
92
+
93
+ ### 1. Screen for Quality Stocks
94
+
95
+ ```
96
+ Find high-quality stocks with strong fundamentals using the quality_stocks preset
97
+ ```
98
+
99
+ Claude will use the preset with filters:
100
+ - ROE > 12%
101
+ - Low debt (D/E < 0.7)
102
+ - Good margins (Net Margin > 10%)
103
+ - Low volatility
104
+ - Golden cross (SMA50 > SMA200)
105
+
106
+ ### 2. Custom Screening
107
+
108
+ ```
109
+ Screen for stocks with:
110
+ - ROE greater than 15%
111
+ - P/E ratio less than 25
112
+ - Market cap above $1 billion
113
+ - Limit to 10 results
114
+ ```
115
+
116
+ ### 3. List Available Fields
117
+
118
+ ```
119
+ What fields can I use for stock screening?
120
+ ```
121
+
122
+ Returns all available fields with descriptions, organized by category (fundamental, technical, performance).
123
+
124
+ ### 4. Get Moving Averages
125
+
126
+ ```
127
+ Get SMA50 and SMA200 for AAPL
128
+ ```
129
+
130
+ ### 5. Compare Stocks
131
+
132
+ ```
133
+ Compare fundamentals of AAPL, MSFT, and GOOGL
134
+ ```
135
+
136
+ ## Available Tools
137
+
138
+ ### `screen_stocks`
139
+
140
+ Screen stocks based on filters.
141
+
142
+ **Parameters:**
143
+ - `filters` - Array of filter conditions (field, operator, value)
144
+ - `markets` - Markets to scan (default: `["america"]`)
145
+ - `sort_by` - Field to sort by (default: `"market_cap_basic"`)
146
+ - `sort_order` - `"asc"` or `"desc"` (default: `"desc"`)
147
+ - `limit` - Number of results (1-200, default: 20)
148
+
149
+ **Operators:**
150
+ - `greater`, `less`, `greater_or_equal`, `less_or_equal`
151
+ - `equal`, `not_equal`
152
+ - `in_range` - For value ranges like `[45, 65]`
153
+ - `match` - For text search
154
+
155
+ ### `list_fields`
156
+
157
+ List available fields for filtering.
158
+
159
+ **Parameters:**
160
+ - `asset_type` - `"stock"`, `"forex"`, or `"crypto"` (default: `"stock"`)
161
+ - `category` - `"fundamental"`, `"technical"`, or `"performance"` (optional)
162
+
163
+ ### `get_preset`
164
+
165
+ Get a pre-configured screening strategy.
166
+
167
+ **Available Presets:**
168
+ - `quality_stocks` - Conservative quality stocks (Avanza-based)
169
+ - `value_stocks` - Undervalued stocks with low P/E and P/B
170
+ - `dividend_stocks` - High dividend yield with consistent payout
171
+ - `momentum_stocks` - Strong momentum and technical signals
172
+ - `growth_stocks` - High-growth companies
173
+
174
+ ### `list_presets`
175
+
176
+ List all available preset strategies.
177
+
178
+ ## Common Fields
179
+
180
+ ### Fundamental
181
+ - `return_on_equity` - ROE (%)
182
+ - `price_earnings_ttm` - P/E Ratio
183
+ - `price_book_fq` - P/B Ratio
184
+ - `debt_to_equity` - Debt/Equity Ratio
185
+ - `net_margin_ttm` - Net Margin (%)
186
+ - `market_cap_basic` - Market Capitalization
187
+ - `dividend_yield_recent` - Dividend Yield (%)
188
+
189
+ ### Technical
190
+ - `RSI` - Relative Strength Index (14)
191
+ - `SMA50` - 50-day Simple Moving Average
192
+ - `SMA200` - 200-day Simple Moving Average
193
+ - `Volatility.M` - Monthly Volatility (%)
194
+
195
+ ### Performance
196
+ - `close` - Current Price
197
+ - `change` - Daily Change (%)
198
+ - `volume` - Trading Volume
199
+ - `Perf.W`, `Perf.1M`, `Perf.Y` - Performance metrics
200
+
201
+ ## Resources
202
+
203
+ The server exposes preset configurations as MCP resources:
204
+
205
+ - `preset://quality_stocks`
206
+ - `preset://value_stocks`
207
+ - `preset://dividend_stocks`
208
+ - `preset://momentum_stocks`
209
+ - `preset://growth_stocks`
210
+
211
+ ## Development
212
+
213
+ ```bash
214
+ # Install dependencies
215
+ npm install
216
+
217
+ # Run in development mode
218
+ npm run dev
219
+
220
+ # Build
221
+ npm run build
222
+
223
+ # Run tests
224
+ npm test
225
+
226
+ # Watch tests
227
+ npm test:watch
228
+ ```
229
+
230
+ ## Important Notes
231
+
232
+ ⚠️ **Unofficial API**: This server uses TradingView's unofficial scanner API. It may change without notice.
233
+
234
+ - No authentication required
235
+ - Same access level as TradingView website without login
236
+ - No official documentation or support from TradingView
237
+ - Use responsibly with rate limiting
238
+
239
+ ## Limitations
240
+
241
+ - **Current snapshot only** - No historical data
242
+ - **Rate limits** - Conservative default (10 req/min) to avoid overloading
243
+ - **Calculated fields** - Some metrics (e.g., Revenue per Share) need post-processing
244
+ - **Market hours** - Data freshness depends on TradingView's update schedule
245
+
246
+ ## Contributing
247
+
248
+ Contributions are welcome! Please feel free to submit a Pull Request.
249
+
250
+ ## License
251
+
252
+ MIT License - see [LICENSE](LICENSE) file for details.
253
+
254
+ ## Disclaimer
255
+
256
+ This is an unofficial tool and is not affiliated with, endorsed by, or connected to TradingView. Use at your own risk.
257
+
258
+ ## Links
259
+
260
+ - [Model Context Protocol](https://spec.modelcontextprotocol.io)
261
+ - [TradingView](https://www.tradingview.com)
262
+ - [Claude Desktop](https://claude.ai/download)
263
+ - [Claude Code](https://docs.claude.com/claude-code)
264
+
265
+ ---
266
+
267
+ Built with ❤️ using the [Model Context Protocol](https://modelcontextprotocol.io)
@@ -0,0 +1,11 @@
1
+ /**
2
+ * TradingView API Client
3
+ */
4
+ import type { ScreenerRequest, ScreenerResponse } from "./types.js";
5
+ export declare class TradingViewClient {
6
+ private makeRequest;
7
+ scanStocks(payload: ScreenerRequest): Promise<ScreenerResponse>;
8
+ scanForex(payload: ScreenerRequest): Promise<ScreenerResponse>;
9
+ scanCrypto(payload: ScreenerRequest): Promise<ScreenerResponse>;
10
+ }
11
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAKpE,qBAAa,iBAAiB;YACd,WAAW;IAoCnB,UAAU,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI/D,SAAS,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAI9D,UAAU,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGtE"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * TradingView API Client
3
+ */
4
+ import fetch from "node-fetch";
5
+ const API_BASE = "https://scanner.tradingview.com";
6
+ const API_TIMEOUT = 10000; // 10 seconds
7
+ export class TradingViewClient {
8
+ async makeRequest(endpoint, payload) {
9
+ const controller = new AbortController();
10
+ const timeout = setTimeout(() => controller.abort(), API_TIMEOUT);
11
+ try {
12
+ const response = await fetch(`${API_BASE}${endpoint}`, {
13
+ method: "POST",
14
+ headers: {
15
+ "Content-Type": "application/json",
16
+ "User-Agent": "tradingview-mcp-server/0.1.0",
17
+ },
18
+ body: JSON.stringify(payload),
19
+ signal: controller.signal,
20
+ });
21
+ clearTimeout(timeout);
22
+ if (!response.ok) {
23
+ throw new Error(`TradingView API error: ${response.status} ${response.statusText}`);
24
+ }
25
+ return (await response.json());
26
+ }
27
+ catch (error) {
28
+ clearTimeout(timeout);
29
+ if (error.name === "AbortError") {
30
+ throw new Error("Request timeout");
31
+ }
32
+ throw error;
33
+ }
34
+ }
35
+ async scanStocks(payload) {
36
+ return this.makeRequest("/global/scan", payload);
37
+ }
38
+ async scanForex(payload) {
39
+ return this.makeRequest("/forex/scan", payload);
40
+ }
41
+ async scanCrypto(payload) {
42
+ return this.makeRequest("/crypto/scan", payload);
43
+ }
44
+ }
45
+ //# sourceMappingURL=client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,YAAY,CAAC;AAG/B,MAAM,QAAQ,GAAG,iCAAiC,CAAC;AACnD,MAAM,WAAW,GAAG,KAAK,CAAC,CAAC,aAAa;AAExC,MAAM,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OAAO,CAAC,CAAC;IAClD,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,OAAwB;QACvC,OAAO,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;CACF"}
@@ -0,0 +1,68 @@
1
+ /**
2
+ * TradingView API types
3
+ */
4
+ export interface Filter {
5
+ left: string;
6
+ operation: FilterOperation;
7
+ right: number | string | [number, number];
8
+ }
9
+ export type FilterOperation = "greater" | "less" | "egreater" | "eless" | "equal" | "nequal" | "in_range" | "not_in_range" | "crosses" | "crosses_above" | "crosses_below" | "match";
10
+ export interface ScreenerRequest {
11
+ filter: Filter[];
12
+ columns: string[];
13
+ sort: {
14
+ sortBy: string;
15
+ sortOrder: "asc" | "desc";
16
+ };
17
+ range: [number, number];
18
+ options?: {
19
+ lang?: string;
20
+ };
21
+ symbols?: {
22
+ query: {
23
+ types: string[];
24
+ };
25
+ tickers: string[];
26
+ };
27
+ markets?: string[];
28
+ }
29
+ export interface ScreenerResponse {
30
+ totalCount: number;
31
+ data: Array<{
32
+ s: string;
33
+ d: (number | string | null)[];
34
+ }>;
35
+ }
36
+ /**
37
+ * MCP Tool Input types
38
+ */
39
+ export interface ScreenStocksInput {
40
+ filters: Array<{
41
+ field: string;
42
+ operator: string;
43
+ value: number | string | [number, number];
44
+ }>;
45
+ markets?: string[];
46
+ sort_by?: string;
47
+ sort_order?: "asc" | "desc";
48
+ limit?: number;
49
+ }
50
+ export interface ListFieldsInput {
51
+ asset_type?: "stock" | "forex" | "crypto";
52
+ category?: "fundamental" | "technical" | "performance";
53
+ }
54
+ export interface CompareStocksInput {
55
+ symbols: string[];
56
+ fields?: string[];
57
+ }
58
+ /**
59
+ * Field metadata
60
+ */
61
+ export interface FieldMetadata {
62
+ name: string;
63
+ label: string;
64
+ category: "fundamental" | "technical" | "performance";
65
+ type: "number" | "percent" | "currency" | "string";
66
+ description?: string;
67
+ }
68
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 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d,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KAC3C,CAAC,CAAC;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC1C,QAAQ,CAAC,EAAE,aAAa,GAAG,WAAW,GAAG,aAAa,CAAC;CACxD;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;GAEG;AAEH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,aAAa,GAAG,WAAW,GAAG,aAAa,CAAC;IACtD,IAAI,EAAE,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * TradingView API types
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAAA;;GAEG"}
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * TradingView MCP Server
4
+ * Unofficial MCP server for TradingView stock screener API
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;GAGG"}