tradingview-mcp 26.0.0__py3-none-any.whl → 26.2.0__py3-none-any.whl

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.
@@ -0,0 +1,141 @@
1
+ Metadata-Version: 2.4
2
+ Name: tradingview-mcp
3
+ Version: 26.2.0
4
+ Summary: A comprehensive MCP server for TradingView market screening with integrated screener functionality
5
+ Project-URL: Homepage, https://github.com/k73a/tradingview-mcp
6
+ Project-URL: Documentation, https://github.com/k73a/tradingview-mcp#readme
7
+ Project-URL: Repository, https://github.com/k73a/tradingview-mcp
8
+ Project-URL: Issues, https://github.com/k73a/tradingview-mcp/issues
9
+ Project-URL: Changelog, https://github.com/k73a/tradingview-mcp/blob/main/CHANGELOG.md
10
+ Author: TradingView MCP Team
11
+ License: MIT
12
+ License-File: LICENSE
13
+ Keywords: crypto,mcp,model-context-protocol,screener,stocks,technical-analysis,trading,tradingview
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Intended Audience :: Financial and Insurance Industry
17
+ Classifier: License :: OSI Approved :: MIT License
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Topic :: Office/Business :: Financial :: Investment
23
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
+ Requires-Python: >=3.10
25
+ Requires-Dist: httpx>=0.24.0
26
+ Requires-Dist: mcp>=1.0.0
27
+ Requires-Dist: pandas>=2.0.0
28
+ Requires-Dist: requests>=2.28.0
29
+ Provides-Extra: dev
30
+ Requires-Dist: pyright>=1.1.0; extra == 'dev'
31
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
32
+ Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
33
+ Requires-Dist: pytest>=7.0.0; extra == 'dev'
34
+ Requires-Dist: ruff>=0.1.0; extra == 'dev'
35
+ Description-Content-Type: text/markdown
36
+
37
+ # TradingView MCP Server
38
+
39
+ [![PyPI version](https://badge.fury.io/py/tradingview-mcp.svg)](https://badge.fury.io/py/tradingview-mcp)
40
+ [![Python](https://img.shields.io/pypi/pyversions/tradingview-mcp.svg)](https://pypi.org/project/tradingview-mcp/)
41
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
42
+
43
+ MCP server for TradingView market screening. Supports stocks, crypto, forex, futures, bonds across 76+ markets.
44
+
45
+ ## Quick Start
46
+
47
+ ```json
48
+ {
49
+ "mcpServers": {
50
+ "tradingview": {
51
+ "command": "uvx",
52
+ "args": ["tradingview-mcp"]
53
+ }
54
+ }
55
+ }
56
+ ```
57
+
58
+ ## Main Tools
59
+
60
+ | Tool | Description |
61
+ |------|-------------|
62
+ | `screen_market` | Custom market screening with filters |
63
+ | `get_top_gainers` | Top gaining assets |
64
+ | `get_top_losers` | Top losing assets |
65
+ | `get_most_active` | Most traded by volume |
66
+ | `search_symbols` | Search by company name |
67
+ | `get_symbol_info` | Detailed symbol info |
68
+ | `advanced_query` | Complex queries with AND/OR logic |
69
+
70
+ ### Technical Analysis
71
+
72
+ | Tool | Description |
73
+ |------|-------------|
74
+ | `get_technical_analysis` | Full technical analysis |
75
+ | `scan_rsi_extremes` | RSI overbought/oversold |
76
+ | `scan_macd_crossover` | MACD crossover detection |
77
+ | `scan_bollinger_bands` | Bollinger Band squeeze |
78
+ | `scan_volume_breakout` | Volume breakout detection |
79
+
80
+ ### Reference Tools
81
+
82
+ | Tool | Description |
83
+ |------|-------------|
84
+ | `ai_get_reference` | Quick reference for markets/columns/filters |
85
+ | `search_available_fields` | Search for fields by name |
86
+ | `get_field_info` | Get field display name and type |
87
+ | `list_fields_for_market` | List fields for a market |
88
+ | `get_screener_preset` | Get predefined screener presets |
89
+
90
+ ## Resources
91
+
92
+ | Resource | Description |
93
+ |----------|-------------|
94
+ | `markets://list` | All available markets |
95
+ | `columns://list` | Available columns/fields |
96
+ | `docs://ai-reference` | AI quick reference |
97
+ | `docs://fields` | Field display names |
98
+
99
+ ## Markets
100
+
101
+ - **Stocks**: america, uk, germany, japan, china, etc. (68 countries)
102
+ - **Crypto**: crypto (pairs), coin (individual coins)
103
+ - **Others**: forex, futures, bonds, cfd, options
104
+
105
+ ## Installation
106
+
107
+ ```bash
108
+ # Using uvx (recommended)
109
+ uvx tradingview-mcp
110
+
111
+ # Using pip
112
+ pip install tradingview-mcp
113
+
114
+ # From source
115
+ git clone https://github.com/k73a/tradingview-mcp.git
116
+ cd tradingview-mcp
117
+ uv sync
118
+ ```
119
+
120
+ ## Running
121
+
122
+ ```bash
123
+ # Stdio (default)
124
+ tradingview-mcp
125
+
126
+ # HTTP
127
+ tradingview-mcp streamable-http --host 127.0.0.1 --port 8000
128
+ ```
129
+
130
+ ## Development
131
+
132
+ ```bash
133
+ uv sync --all-extras
134
+ uv run pytest tests/ -v
135
+ uv run ruff format .
136
+ uv run ruff check . --fix
137
+ ```
138
+
139
+ ## License
140
+
141
+ MIT License
@@ -1,20 +1,21 @@
1
1
  tradingview_mcp/__init__.py,sha256=V7RLq22Qp1rsMhDYNlXfWkiNaXlo7s4KkNUmSvbGKIM,455
2
2
  tradingview_mcp/column.py,sha256=MC7lWksmyaYF4SkVm97Apr8httwip-N-4aVTSyS0CQo,8871
3
3
  tradingview_mcp/constants.py,sha256=kQUhcG0U1cVLiN6LGgzWPjCGhXh_-jvB5lF15QIX1_4,12927
4
- tradingview_mcp/docs_data.py,sha256=3ArdbV8RE3SpNhvkkTHA0RXgrUbQoJqkZh05VVqlLLA,9001
4
+ tradingview_mcp/docs_data.py,sha256=4mhaO-far90SSXzSl1fLZIzNBe0lOTxFeX7ITzYTBpo,17698
5
5
  tradingview_mcp/models.py,sha256=CHSQ46A2ljhvzI6YP8XRItUdoDJw1yYebiBANt9xeD0,3366
6
6
  tradingview_mcp/query.py,sha256=gkC4t-2_jtuUK3KgzU62wrIcGoaOmY--1EwAshGQb0Q,10871
7
7
  tradingview_mcp/scanner.py,sha256=oEfMzaYhQ7ggBdLlPLqKZCMxHkd6MBMaUMcm3p-YvPA,7649
8
- tradingview_mcp/server.py,sha256=3VosVvI3SQbqDxaahmgYj_aBUyn-0qGxfJf3n2p6OCk,67679
8
+ tradingview_mcp/server.py,sha256=WdBov_EoJGA_BNurf1PJ6m6_ZayztjqqniItOvudkPY,51698
9
9
  tradingview_mcp/utils.py,sha256=6O89qIaZ_eYoN3m12r2q4-D8VpJajP5WuwKQbj4ZVHo,10238
10
10
  tradingview_mcp/data/__init__.py,sha256=3kot_ZG4a6jbZgyksE9z56n3skI407lsd4y2ThHotKY,298
11
11
  tradingview_mcp/data/column_display_names.json,sha256=AFdo6Q2n-wSXWHi2wEExOd2pTItyjocRbrnxqYpCa94,30137
12
12
  tradingview_mcp/data/markets.json,sha256=CehqCeVdQhWeCkMX1HWOrgCRjOomWa3VH1v2ZvPnIck,1482
13
13
  tradingview_mcp/data/extracted/__init__.py,sha256=zSVRJTO5MxBq_zfkbzUBwuz8NG3rWlYfLvpZkVDI6Ro,64
14
- tradingview_mcp/data/extracted/ai_quick_reference.json,sha256=h9DY1t3f5UCiv9N65Fs9kL8Y6w5qAP-BTxUgktj4KyI,3381
15
- tradingview_mcp/data/extracted/common_fields.json,sha256=qqaGYPH54eFJoA2NFJlQX3Ixk4qPNxAy_6--tKp3fPE,77914
16
- tradingview_mcp/data/extracted/fields_by_market.json,sha256=i2esozdi8HuOcbD4FF5J-X6AfHeJTLwVtSa9JNHSLjM,448166
14
+ tradingview_mcp/data/extracted/ai_quick_reference.json,sha256=Y4TxDvG_VS7bNN1TszsmsPBAnUqx_--kK_qaV5M7g4A,3285
15
+ tradingview_mcp/data/extracted/common_fields.json,sha256=iULTVEsA3F54BefCWeHOW-fQspdUa-re9WWHzAmUMas,156364
16
+ tradingview_mcp/data/extracted/fields_by_market.json,sha256=nrNPtyOQcc5lVHoedlNxbBDUw79bDRmDxXhXrA4Aejg,950182
17
17
  tradingview_mcp/data/extracted/screener_code_examples.json,sha256=VCxgbMnsfV1mzDI6AvvfSzoIbieNtXHwltwMNs5KBwY,5157
18
+ tradingview_mcp/data/extracted/stock_screener_presets.json,sha256=20oTJZeWrQXEcp04HpZ_HuePxwwsqoazBfHy8K6LSWo,1802242
18
19
  tradingview_mcp/data/metainfo/bond.json,sha256=aJzqdPFciAH4pM5nsezHUEolcDtdHCktSQsxhTqJ898,557027
19
20
  tradingview_mcp/data/metainfo/bonds.json,sha256=QoqDg7SwD1mv6aw7haG4cmNnq-agyGzK1ECvdK1fsDs,22377
20
21
  tradingview_mcp/data/metainfo/cfd.json,sha256=eWB-wqKNijyvwACcp6sHJZ4VCbP8NZpg_Ui9kums2lQ,390943
@@ -30,8 +31,8 @@ tradingview_mcp/data/screeners/main_screeners.json,sha256=kU_xGJ7ePoGN3s8g9PwGrc
30
31
  tradingview_mcp/data/screeners/markets.json,sha256=vpdrAKg4E_lgg4FxeX2GHNbnSsKQDmgfnyr2ziSdQsk,1004
31
32
  tradingview_mcp/data/screeners/stocks.json,sha256=gCnntHTJKJ7n7IqY72fZ4EuBfthtnWUpfHvPqNOvnXo,8843
32
33
  tradingview_mcp/data/screeners/stocks_failed.json,sha256=RqBp9XCZ3xvdWZMwuVGysEE2Er_XOQvBZoUHo9uyj6k,1084574
33
- tradingview_mcp-26.0.0.dist-info/METADATA,sha256=5MvoUOTOvcq2aTdIMX8v-BOMfHm-wqAuVMcHhjPNP9w,10178
34
- tradingview_mcp-26.0.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
35
- tradingview_mcp-26.0.0.dist-info/entry_points.txt,sha256=GZxjGqgVbUlWDp5OzFQoCN_g1UBLyOmfVqCR5uzscnU,57
36
- tradingview_mcp-26.0.0.dist-info/licenses/LICENSE,sha256=1Hdpp7qGWCXVw1BP6vpdAPO4KrgO0T_c0N3ipkYHKAo,1070
37
- tradingview_mcp-26.0.0.dist-info/RECORD,,
34
+ tradingview_mcp-26.2.0.dist-info/METADATA,sha256=ayxnek_OIGlG_IpQZTsE_jmR7J0LljnN1STnzVQxC3o,4303
35
+ tradingview_mcp-26.2.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
36
+ tradingview_mcp-26.2.0.dist-info/entry_points.txt,sha256=GZxjGqgVbUlWDp5OzFQoCN_g1UBLyOmfVqCR5uzscnU,57
37
+ tradingview_mcp-26.2.0.dist-info/licenses/LICENSE,sha256=1Hdpp7qGWCXVw1BP6vpdAPO4KrgO0T_c0N3ipkYHKAo,1070
38
+ tradingview_mcp-26.2.0.dist-info/RECORD,,
@@ -1,333 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: tradingview-mcp
3
- Version: 26.0.0
4
- Summary: A comprehensive MCP server for TradingView market screening with integrated screener functionality
5
- Project-URL: Homepage, https://github.com/k73a/tradingview-mcp
6
- Project-URL: Documentation, https://github.com/k73a/tradingview-mcp#readme
7
- Project-URL: Repository, https://github.com/k73a/tradingview-mcp
8
- Project-URL: Issues, https://github.com/k73a/tradingview-mcp/issues
9
- Project-URL: Changelog, https://github.com/k73a/tradingview-mcp/blob/main/CHANGELOG.md
10
- Author: TradingView MCP Team
11
- License: MIT
12
- License-File: LICENSE
13
- Keywords: crypto,mcp,model-context-protocol,screener,stocks,technical-analysis,trading,tradingview
14
- Classifier: Development Status :: 4 - Beta
15
- Classifier: Intended Audience :: Developers
16
- Classifier: Intended Audience :: Financial and Insurance Industry
17
- Classifier: License :: OSI Approved :: MIT License
18
- Classifier: Programming Language :: Python :: 3
19
- Classifier: Programming Language :: Python :: 3.10
20
- Classifier: Programming Language :: Python :: 3.11
21
- Classifier: Programming Language :: Python :: 3.12
22
- Classifier: Topic :: Office/Business :: Financial :: Investment
23
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
- Requires-Python: >=3.10
25
- Requires-Dist: httpx>=0.24.0
26
- Requires-Dist: mcp>=1.0.0
27
- Requires-Dist: pandas>=2.0.0
28
- Requires-Dist: requests>=2.28.0
29
- Provides-Extra: dev
30
- Requires-Dist: pyright>=1.1.0; extra == 'dev'
31
- Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
32
- Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
33
- Requires-Dist: pytest>=7.0.0; extra == 'dev'
34
- Requires-Dist: ruff>=0.1.0; extra == 'dev'
35
- Description-Content-Type: text/markdown
36
-
37
- # TradingView MCP Server
38
-
39
- [![PyPI version](https://badge.fury.io/py/tradingview-mcp.svg)](https://badge.fury.io/py/tradingview-mcp)
40
- [![Python](https://img.shields.io/pypi/pyversions/tradingview-mcp.svg)](https://pypi.org/project/tradingview-mcp/)
41
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
42
-
43
- A comprehensive Model Context Protocol (MCP) server for TradingView market screening with fully integrated screener functionality. This server provides powerful tools for cryptocurrency and stock market analysis directly through the MCP interface.
44
-
45
- ## Quick Start (No Installation Required)
46
-
47
- Use `uvx` to run directly without installing:
48
-
49
- ```json
50
- {
51
- "mcpServers": {
52
- "tradingview": {
53
- "command": "uvx",
54
- "args": ["tradingview-mcp"]
55
- }
56
- }
57
- }
58
- ```
59
-
60
- ## 🤖 For AI Agents
61
-
62
- **📖 Read [AI.md](AI.md) for the complete guide!** You can copy the entire AI.md file to understand all capabilities.
63
-
64
- **Quick Start:**
65
- 1. Call `get_help()` to understand how to use this MCP
66
- 2. Call `ai_get_reference()` for markets, columns, and filter references
67
-
68
- Key points:
69
- - All results include `description` field with full names (e.g., "Apple Inc." not just "AAPL")
70
- - Use `limit` parameter to control result count (default: 25)
71
- - Use `search_symbols("apple", "america")` to search by company name
72
-
73
- ```
74
- # Quick examples:
75
- get_top_gainers("america", 10) # Top 10 US stock gainers
76
- search_symbols("tesla", "america") # Search for Tesla
77
- get_symbol_info("NASDAQ:AAPL") # Apple Inc. details
78
- ```
79
-
80
- ## Features
81
-
82
- ### Core Screener Functionality
83
- - **Direct TradingView API Integration**: Query the TradingView scanner API without external dependencies
84
- - **Multi-Market Support**: 76+ markets including crypto, stocks, forex, futures, and bonds
85
- - **SQL-like Query Interface**: Build complex queries with filtering, sorting, and pagination
86
- - **250+ Technical Indicators**: Access a comprehensive set of technical analysis columns
87
- - **AI-Friendly Design**: Includes `description` (full name), token-saving limits, and help tools
88
-
89
- ### MCP Tools
90
-
91
- #### 🔍 Discovery & Help Tools (AI Start Here!)
92
- - `get_help(topic)`: **📖 Required reading!** Get usage guide and examples
93
- - `search_symbols(query, market)`: 🔍 Search by company name (e.g., "Apple", "Tesla")
94
- - `get_symbol_info(symbol)`: Get detailed symbol information
95
- - `ai_get_reference()`: AI quick reference guide
96
-
97
- #### Screening Tools
98
- - `screen_market`: Execute custom market screening queries
99
- - `get_top_gainers`: Find top gaining assets (includes full company names)
100
- - `get_top_losers`: Find top losing assets (includes full company names)
101
- - `get_most_active`: Most traded by volume
102
- - `get_premarket_movers`: Pre-market gainers, losers, and most active
103
- - `get_postmarket_movers`: Post-market activity analysis
104
- - `get_technical_analysis`: Detailed technical analysis for specific symbols
105
- - `scan_bollinger_bands`: Bollinger Band squeeze detection
106
- - `scan_volume_breakout`: Volume breakout detection
107
- - `scan_rsi_extremes`: RSI overbought/oversold scanner
108
- - `scan_macd_crossover`: MACD crossover detection
109
- - `get_all_symbols`: Retrieve all symbols for a market
110
- - `advanced_query`: Execute advanced queries with AND/OR logic
111
-
112
- #### AI-Friendly Reference Tools
113
- - `search_available_fields`: Search for fields/columns by name or description
114
- - `get_field_info`: Get display name and type for a specific field
115
- - `get_code_example`: Get Python code examples for screener types
116
- - `list_fields_for_market`: List available fields with pagination
117
- - `get_common_fields_summary`: Get commonly used fields by category
118
- - `get_screener_preset`: Retrieve predefined screener presets
119
- - `get_market_metainfo`: Field definitions and allowed values per market
120
-
121
- ### MCP Resources
122
- - `markets://list`: List all available markets
123
- - `columns://list`: List all available technical indicator columns
124
- - `exchanges://crypto`: List cryptocurrency exchanges
125
- - `presets://list`: List predefined screening presets
126
- - `docs://params`: Screener params format and schema
127
- - `docs://screeners`: Predefined screener presets overview
128
- - `docs://fields`: Field display names (paginated)
129
- - `docs://markets`: Markets metadata
130
- - `docs://ai-reference`: AI quick reference guide
131
- - `docs://code-examples`: Python code examples for screeners
132
-
133
- ## Installation
134
-
135
- ### Using uvx (Recommended - No Install)
136
- ```json
137
- {
138
- "mcpServers": {
139
- "tradingview": {
140
- "command": "uvx",
141
- "args": ["tradingview-mcp"]
142
- }
143
- }
144
- }
145
- ```
146
-
147
- ### Using uv
148
- ```bash
149
- uv add tradingview-mcp
150
- ```
151
-
152
- ### Using pip
153
- ```bash
154
- pip install tradingview-mcp
155
- ```
156
-
157
- ### From Source
158
- ```bash
159
- git clone https://github.com/k73a/tradingview-mcp.git
160
- cd tradingview-mcp
161
- uv sync
162
- ```
163
-
164
- ## Usage
165
-
166
- ### Running the MCP Server
167
-
168
- #### Stdio Transport (Default)
169
- ```bash
170
- tradingview-mcp
171
- ```
172
-
173
- #### HTTP Transport
174
- ```bash
175
- tradingview-mcp streamable-http --host 127.0.0.1 --port 8000
176
- ```
177
-
178
- ### MCP Client Configuration
179
-
180
- #### Using uvx (Recommended)
181
- ```json
182
- {
183
- "mcpServers": {
184
- "tradingview": {
185
- "command": "uvx",
186
- "args": ["tradingview-mcp"]
187
- }
188
- }
189
- }
190
- ```
191
-
192
- #### Using installed package
193
- ```json
194
- {
195
- "mcpServers": {
196
- "tradingview": {
197
- "command": "tradingview-mcp",
198
- "args": []
199
- }
200
- }
201
- }
202
- ```
203
-
204
- ### For AI Agents: Getting Started
205
-
206
- 1. **First, call `ai_get_reference()`** to understand available markets, columns, and filters
207
- 2. Use `search_available_fields("your query")` to find specific columns
208
- 3. Use `get_code_example("Stocks (legacy)")` to see query patterns
209
- 4. Build queries using `screen_market()` or `advanced_query()`
210
-
211
- ### Example Queries
212
-
213
- #### Basic Market Screening
214
- ```python
215
- # Get top 50 stocks by trading volume
216
- await client.call_tool("screen_market", {
217
- "market": "america",
218
- "columns": ["name", "close", "volume", "change"],
219
- "sort_by": "volume",
220
- "ascending": False,
221
- "limit": 50
222
- })
223
- ```
224
-
225
- #### Technical Analysis Screening
226
- ```python
227
- # Find stocks with RSI below 30 (oversold)
228
- await client.call_tool("scan_rsi_extremes", {
229
- "market": "america",
230
- "condition": "oversold",
231
- "threshold": 30,
232
- "limit": 20
233
- })
234
- ```
235
-
236
- #### Cryptocurrency Screening
237
- ```python
238
- # Get top crypto gainers
239
- await client.call_tool("get_top_gainers", {
240
- "market": "crypto",
241
- "limit": 25
242
- })
243
- ```
244
-
245
- ## API Reference
246
-
247
- ### Markets
248
- The following markets are supported:
249
- - **Crypto**: `crypto`, `coin`
250
- - **Traditional Finance**: `america`, `uk`, `germany`, `japan`, etc. (67 countries)
251
- - **Other**: `forex`, `futures`, `bonds`, `cfd`, `options`
252
-
253
- ### Technical Indicators
254
- Common indicators include:
255
- - Price: `open`, `high`, `low`, `close`, `volume`
256
- - Moving Averages: `SMA5`, `SMA10`, `SMA20`, `SMA50`, `SMA100`, `SMA200`, `EMA5`, `EMA10`, `EMA20`, `EMA50`, `EMA100`, `EMA200`
257
- - Oscillators: `RSI`, `RSI7`, `MACD.macd`, `MACD.signal`, `Stoch.K`, `Stoch.D`
258
- - Bollinger Bands: `BB.upper`, `BB.lower`
259
- - Others: `VWAP`, `ATR`, `ADX`, `CCI20`, etc.
260
-
261
- See `columns://list` resource for the complete list.
262
-
263
- ## Development
264
-
265
- ### Setup Development Environment
266
- ```bash
267
- git clone https://github.com/k73a/tradingview-mcp.git
268
- cd tradingview-mcp
269
- uv sync --all-extras
270
- ```
271
-
272
- ### Running Tests
273
- ```bash
274
- uv run pytest tests/ -v
275
- ```
276
-
277
- ### Code Formatting
278
- ```bash
279
- uv run ruff format .
280
- uv run ruff check . --fix
281
- ```
282
-
283
- ### Type Checking
284
- ```bash
285
- uv run pyright
286
- ```
287
-
288
- ### Debug Mode
289
-
290
- Enable structured debug responses from tools by setting:
291
-
292
- ```bash
293
- export TRADINGVIEW_MCP_DEBUG=1
294
- ```
295
-
296
- ### Docs Data Path (Optional)
297
-
298
- If you want the full TradingView Screener docs datasets (e.g., large metainfo files),
299
- point the loader to your docs data directory:
300
-
301
- ```bash
302
- export TRADINGVIEW_SCREENER_DOCS_DATA=/path/to/TradingView-Screener-docs/data
303
- ```
304
-
305
- ## Publishing & Releases
306
-
307
- This project uses GitHub Actions for automated publishing to PyPI:
308
-
309
- ### Automatic Updates
310
- - **Weekly auto-update**: Every Monday, the workflow checks for dependency updates, runs tests, and publishes a new version if there are changes
311
- - **Manual trigger**: You can manually trigger updates from the GitHub Actions tab
312
-
313
- ### Manual Release
314
- To create a manual release:
315
-
316
- 1. Update version in `pyproject.toml`
317
- 2. Commit and create a tag:
318
- ```bash
319
- git commit -am "Bump version to x.y.z"
320
- git tag vx.y.z
321
- git push origin main --tags
322
- ```
323
- 3. GitHub Actions will automatically build and publish to PyPI
324
-
325
- See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed release instructions.
326
-
327
- ## Contributing
328
-
329
- Contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
330
-
331
- ## License
332
-
333
- MIT License - see [LICENSE](LICENSE) for details.