{"_id":"tradingview-mcp-server","_rev":"9-68881251a829f06663344580900bcfeb","name":"tradingview-mcp-server","dist-tags":{"latest":"0.6.1"},"versions":{"0.0.1":{"name":"tradingview-mcp-server","version":"0.0.1","keywords":["mcp","tradingview","stock-screener","model-context-protocol","claude","claude-desktop","stock-analysis","financial-data"],"author":{"name":"Community"},"license":"MIT","_id":"tradingview-mcp-server@0.0.1","maintainers":[{"name":"bearmug","email":"pavel.fadeev@gmail.com"}],"homepage":"https://github.com/fiale-plus/tradingview-mcp-server#readme","bugs":{"url":"https://github.com/fiale-plus/tradingview-mcp-server/issues"},"bin":{"tradingview-mcp-server":"dist/index.js"},"dist":{"shasum":"1d69e867f92e963a6f8e26f7a2ef5203e2c59f99","tarball":"https://registry.npmjs.org/tradingview-mcp-server/-/tradingview-mcp-server-0.0.1.tgz","fileCount":51,"integrity":"sha512-cTZaOPRQp5RdlUtgxc95848C4NT8fcEX48EL7LCpbD3hYhKGf2fu6x/rwnOnJsZ/2i35NNbdYplpZgG6nQNUvg==","signatures":[{"sig":"MEUCIDKgzIF0H3HwkMX9cw4MlNudVSn0gwcYQnVdKykridfiAiEAqb0Ke49Hsg5blcoLkOkSEouL/rSrRrZwZg4SXU72dHE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tradingview-mcp-server@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":89283},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"fba0582d004c92f065e84921a9f788b21f4e6517","scripts":{"dev":"tsx src/index.ts","test":"tsx --test src/tests/*.test.ts","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"tsx --test --watch src/tests/*.test.ts","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"bearmug","email":"pavel.fadeev@gmail.com"},"repository":{"url":"git+https://github.com/fiale-plus/tradingview-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for TradingView stock screener API","directories":{},"_nodeVersion":"18.20.8","dependencies":{"node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^5.3.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/tradingview-mcp-server_0.0.1_1761333421756_0.12285148364064158","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"tradingview-mcp-server","version":"0.1.2","keywords":["mcp","tradingview","stock-screener","model-context-protocol","claude","claude-desktop","stock-analysis","financial-data"],"author":{"name":"Community"},"license":"MIT","_id":"tradingview-mcp-server@0.1.2","maintainers":[{"name":"bearmug","email":"pavel.fadeev@gmail.com"}],"homepage":"https://github.com/fiale-plus/tradingview-mcp-server#readme","bugs":{"url":"https://github.com/fiale-plus/tradingview-mcp-server/issues"},"bin":{"tradingview-mcp-server":"dist/index.js"},"dist":{"shasum":"d884af48f3133b69ebf1ed0627b10488c26c31fc","tarball":"https://registry.npmjs.org/tradingview-mcp-server/-/tradingview-mcp-server-0.1.2.tgz","fileCount":51,"integrity":"sha512-0BKYIZIY5wo4uLxUWobSxT6vtY3zRBKei+udcZ7eguPkr2gmrsag8/2kPFzJBiG1Nx3tVNODAHcQhLgl7V8GXg==","signatures":[{"sig":"MEYCIQDwdM+uun+W9YAEmGB/ZHzuAdswQ9pi0ETblBSOVI8pQwIhAJS2Ns7Zm+yvQA6RCNoXANcQFURnvTBNVgHow9SVVzwD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tradingview-mcp-server@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":124881},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"542d1bfeebaaa1df1be1eb80c54b168a7ef51dfb","scripts":{"dev":"tsx src/index.ts","test":"tsx --test src/tests/*.test.ts","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"tsx --test --watch src/tests/*.test.ts","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"bearmug","email":"pavel.fadeev@gmail.com"},"repository":{"url":"git+https://github.com/fiale-plus/tradingview-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for TradingView stock screener API","directories":{},"_nodeVersion":"18.20.8","dependencies":{"node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^5.3.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/tradingview-mcp-server_0.1.2_1761423913021_0.38635204681260205","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"tradingview-mcp-server","version":"0.1.3","keywords":["mcp","tradingview","stock-screener","model-context-protocol","claude","claude-desktop","stock-analysis","financial-data"],"author":{"name":"Community"},"license":"MIT","_id":"tradingview-mcp-server@0.1.3","maintainers":[{"name":"bearmug","email":"pavel.fadeev@gmail.com"}],"homepage":"https://github.com/fiale-plus/tradingview-mcp-server#readme","bugs":{"url":"https://github.com/fiale-plus/tradingview-mcp-server/issues"},"bin":{"tradingview-mcp-server":"dist/index.js"},"dist":{"shasum":"80ca4a3865a7b09d0a101fede4b01bc691baf4a8","tarball":"https://registry.npmjs.org/tradingview-mcp-server/-/tradingview-mcp-server-0.1.3.tgz","fileCount":55,"integrity":"sha512-oOF12UxrDyvYsOFV+btKGO1ESqJ3mZPeKTETySPXeJWWG6SAgNA/Itr29mcn8CfLIu/cSMXB4HtFQG7zp94OLg==","signatures":[{"sig":"MEUCIGUF8BPsQOKfdJgvIgOETEHr/Ru85//yWXvKCbgAIE9fAiEAkMgD8W3XCUNbd19iW1vQlAF6Rdmlju6HFx56OERr3Hw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tradingview-mcp-server@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":174479},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"5d607021a874d87927901c17029c932c9364f2f4","scripts":{"dev":"tsx src/index.ts","test":"tsx --test src/tests/*.test.ts","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"tsx --test --watch src/tests/*.test.ts","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"bearmug","email":"pavel.fadeev@gmail.com"},"repository":{"url":"git+https://github.com/fiale-plus/tradingview-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for TradingView stock screener API","directories":{},"_nodeVersion":"18.20.8","dependencies":{"node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^5.3.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/tradingview-mcp-server_0.1.3_1761510116843_0.33147090004741786","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"tradingview-mcp-server","version":"0.2.0","keywords":["mcp","tradingview","stock-screener","model-context-protocol","claude","claude-desktop","stock-analysis","financial-data"],"author":{"name":"Community"},"license":"MIT","_id":"tradingview-mcp-server@0.2.0","maintainers":[{"name":"bearmug","email":"pavel.fadeev@gmail.com"}],"homepage":"https://github.com/fiale-plus/tradingview-mcp-server#readme","bugs":{"url":"https://github.com/fiale-plus/tradingview-mcp-server/issues"},"bin":{"tradingview-mcp-server":"dist/index.js"},"dist":{"shasum":"e90a60f62458c89ae8c77b338240de22f860d7d7","tarball":"https://registry.npmjs.org/tradingview-mcp-server/-/tradingview-mcp-server-0.2.0.tgz","fileCount":59,"integrity":"sha512-F0kZeaxOXV83kz/Ei+jHkbpmTap/M6/acytp+8olJSFtkunPXEiIAyG9a3B6Nt0rUbHxBeF/29C5puSgsZ3U9g==","signatures":[{"sig":"MEUCIQCZmAM6uIFRG1uWiu2REOttpK80IQ6+HGOKpc1PvBx65gIgEDzUkc5ScQkXCvS0eeWdxdMZ7KzalsiDeSQ5haVR+YA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tradingview-mcp-server@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":233838},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"17bc13095cf94db90b851968ede40ed60c59e1e0","scripts":{"dev":"tsx src/index.ts","test":"tsx --test src/tests/*.test.ts","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"tsx --test --watch src/tests/*.test.ts","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"bearmug","email":"pavel.fadeev@gmail.com"},"repository":{"url":"git+https://github.com/fiale-plus/tradingview-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for TradingView stock screener API","directories":{},"_nodeVersion":"18.20.8","dependencies":{"node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^5.3.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/tradingview-mcp-server_0.2.0_1761690049293_0.8665059205459031","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"tradingview-mcp-server","version":"0.2.1","keywords":["mcp","tradingview","stock-screener","model-context-protocol","claude","claude-desktop","stock-analysis","financial-data"],"author":{"name":"Community"},"license":"MIT","_id":"tradingview-mcp-server@0.2.1","maintainers":[{"name":"bearmug","email":"pavel.fadeev@gmail.com"}],"homepage":"https://github.com/fiale-plus/tradingview-mcp-server#readme","bugs":{"url":"https://github.com/fiale-plus/tradingview-mcp-server/issues"},"bin":{"tradingview-mcp-server":"dist/index.js"},"dist":{"shasum":"7bfe0bea85accf736cafb0ec9e5595bef3ea2989","tarball":"https://registry.npmjs.org/tradingview-mcp-server/-/tradingview-mcp-server-0.2.1.tgz","fileCount":59,"integrity":"sha512-X2o/805kIn7qnhBPOmDj2qs0ZXDq6nqynT3ARWCugwX0HDlglopQZXhPqhpnO+N3O2bJERlO4HMPhdFO65I2lQ==","signatures":[{"sig":"MEUCIG4mZOIdZjmptfJ5L5gYxjR7SMQi93nQszMqn+Z9VhNSAiEA769N5W/jZnrQ2Vj0sdL3yV+pyX1uwu1FQ8XyJjnkAog=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tradingview-mcp-server@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":233838},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"77c5799fd5dd37217914972f9e03608e042d3001","scripts":{"dev":"tsx src/index.ts","test":"tsx --test src/tests/*.test.ts","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"tsx --test --watch src/tests/*.test.ts","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"bearmug","email":"pavel.fadeev@gmail.com"},"repository":{"url":"git+https://github.com/fiale-plus/tradingview-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for TradingView stock screener API","directories":{},"_nodeVersion":"18.20.8","dependencies":{"node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^5.3.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/tradingview-mcp-server_0.2.1_1761945391089_0.025010996177642353","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"tradingview-mcp-server","version":"0.3.0","keywords":["mcp","tradingview","stock-screener","model-context-protocol","claude","claude-desktop","stock-analysis","financial-data"],"author":{"name":"Community"},"license":"MIT","_id":"tradingview-mcp-server@0.3.0","maintainers":[{"name":"bearmug","email":"pavel.fadeev@gmail.com"}],"homepage":"https://github.com/fiale-plus/tradingview-mcp-server#readme","bugs":{"url":"https://github.com/fiale-plus/tradingview-mcp-server/issues"},"bin":{"tradingview-mcp-server":"dist/index.js"},"dist":{"shasum":"0c58b220206976f53a6ea88756334254db9e5072","tarball":"https://registry.npmjs.org/tradingview-mcp-server/-/tradingview-mcp-server-0.3.0.tgz","fileCount":59,"integrity":"sha512-sP8k8YvcJ8b6k3RRFg3dYE27mFdwytqrHR+v8IM7BFFPaBpUiExT91fP/cJUZV3wnufVd+sd2NMcMOwtyH3BkA==","signatures":[{"sig":"MEUCIQDoUFG6p8TCqUz1xJoEFziJ1FmlujEWaZSGk8ZcoXLxOQIgLS6FE/BCFJtzP8c1sXxMJaFlWj4OgNcgDoUu64x+QHw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tradingview-mcp-server@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":233867},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"54313344fd7c8b9e2324ffc3292879e34a457b0c","scripts":{"dev":"tsx src/index.ts","test":"tsx --test src/tests/*.test.ts","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"tsx --test --watch src/tests/*.test.ts","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"bearmug","email":"pavel.fadeev@gmail.com"},"repository":{"url":"git+https://github.com/fiale-plus/tradingview-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for TradingView stock screener API","directories":{},"_nodeVersion":"18.20.8","dependencies":{"node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^5.3.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/tradingview-mcp-server_0.3.0_1762090314224_0.9384030816738194","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"tradingview-mcp-server","version":"0.4.0","keywords":["mcp","tradingview","stock-screener","model-context-protocol","claude","claude-desktop","stock-analysis","financial-data"],"author":{"name":"Community"},"license":"MIT","_id":"tradingview-mcp-server@0.4.0","maintainers":[{"name":"bearmug","email":"pavel.fadeev@gmail.com"}],"homepage":"https://github.com/fiale-plus/tradingview-mcp-server#readme","bugs":{"url":"https://github.com/fiale-plus/tradingview-mcp-server/issues"},"bin":{"tradingview-mcp-server":"dist/index.js"},"dist":{"shasum":"66c06c5b4509992c100c75cf4e4d2de017320cd8","tarball":"https://registry.npmjs.org/tradingview-mcp-server/-/tradingview-mcp-server-0.4.0.tgz","fileCount":59,"integrity":"sha512-cj9iunc02gHYWtaN0CrOLlfzQuiPfv5TQt4yoPc084WDf34Fbzp25IP8CSrgQjaBkWUKbhV9sC3o2af4ZkB4Bg==","signatures":[{"sig":"MEYCIQDc30KIM2sFiJGeAKRfRsfZg01LdiyCqDb+LD/zUTqEagIhAId/gP7yJLfGvmPhSwurwxh2QpnpiyCdZmoMI5g9mBYn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tradingview-mcp-server@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":234479},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"65bc00b7b973cbaa1961ef215fc05d86012e0c18","scripts":{"dev":"tsx src/index.ts","test":"tsx --test src/tests/*.test.ts","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"tsx --test --watch src/tests/*.test.ts","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"bearmug","email":"pavel.fadeev@gmail.com"},"repository":{"url":"git+https://github.com/fiale-plus/tradingview-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for TradingView stock screener API","directories":{},"_nodeVersion":"18.20.8","dependencies":{"node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^5.3.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/tradingview-mcp-server_0.4.0_1767656083722_0.3877858024467862","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"tradingview-mcp-server","version":"0.5.0","keywords":["mcp","tradingview","stock-screener","model-context-protocol","claude","claude-desktop","stock-analysis","financial-data"],"author":{"name":"Community"},"license":"MIT","_id":"tradingview-mcp-server@0.5.0","maintainers":[{"name":"bearmug","email":"pavel.fadeev@gmail.com"}],"homepage":"https://github.com/fiale-plus/tradingview-mcp-server#readme","bugs":{"url":"https://github.com/fiale-plus/tradingview-mcp-server/issues"},"bin":{"tradingview-mcp-server":"dist/index.js"},"dist":{"shasum":"8d19164a2f21f5be16f49f45cb1162f728107e02","tarball":"https://registry.npmjs.org/tradingview-mcp-server/-/tradingview-mcp-server-0.5.0.tgz","fileCount":59,"integrity":"sha512-KEEfrLotN3ChyLK9lEthTFK8JoGhzRapGFQbT96pGAg4NluF9oAqnBV1t1HqiyIhjDzxXL9lEljCb3uRg6RCiw==","signatures":[{"sig":"MEUCIQDSX4gPmRMc9cy9fnZH2C9nubSnYJivWl6e69Gfu0ij2wIgID+F+KS1A4Ogf3golSA3SF/zXTtMMndWYBNd9haHb04=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tradingview-mcp-server@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":292640},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"bab92b8cbb9ac71f9d5d80cad440761be7ad1c84","scripts":{"dev":"tsx src/index.ts","test":"tsx --test src/tests/*.test.ts","build":"tsc","start":"node dist/index.js","prepare":"npm run build","test:watch":"tsx --test --watch src/tests/*.test.ts","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"bearmug","email":"pavel.fadeev@gmail.com"},"repository":{"url":"git+https://github.com/fiale-plus/tradingview-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"Unofficial MCP server for TradingView stock screener API","directories":{},"_nodeVersion":"18.20.8","dependencies":{"node-fetch":"^3.3.2","@modelcontextprotocol/sdk":"^1.0.4"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.1","typescript":"^5.3.3","@types/node":"^20.11.19"},"_npmOperationalInternal":{"tmp":"tmp/tradingview-mcp-server_0.5.0_1773790692828_0.11161449816961322","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"tradingview-mcp-server","version":"0.6.1","description":"Unofficial MCP server and CLI for TradingView stock screener API","type":"module","main":"dist/index.js","bin":{"tradingview-mcp-server":"dist/index.js","tradingview-cli":"dist/cli.js"},"scripts":{"build":"tsc","dev":"tsx src/index.ts","dev:cli":"tsx src/cli.ts","start":"node dist/index.js","test":"tsx --test src/tests/*.test.ts","test:watch":"tsx --test --watch src/tests/*.test.ts","prepublishOnly":"npm run build && npm test","prepare":"npm run build"},"keywords":["mcp","tradingview","cli","stock-screener","model-context-protocol","claude","claude-desktop","stock-analysis","financial-data"],"repository":{"type":"git","url":"git+https://github.com/fiale-plus/tradingview-mcp-server.git"},"bugs":{"url":"https://github.com/fiale-plus/tradingview-mcp-server/issues"},"homepage":"https://github.com/fiale-plus/tradingview-mcp-server#readme","author":{"name":"Community"},"license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.28.0","node-fetch":"^3.3.2"},"devDependencies":{"@types/node":"^20.11.19","tsx":"^4.7.1","typescript":"^5.3.3"},"engines":{"node":">=18.0.0"},"_id":"tradingview-mcp-server@0.6.1","gitHead":"722e08ca1c9f852be3111ea55de0a5887ecaddd4","types":"./dist/index.d.ts","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-StNG0NHQy1e5RqYWmtYwhLsC9bYyzsFjvUST42hHczuLyj3wXRK8IzOit46SkNKk2E5FfXQGptvitn65ql2GKA==","shasum":"87f84ab8101a085409806c11af5b7c4c46a13dca","tarball":"https://registry.npmjs.org/tradingview-mcp-server/-/tradingview-mcp-server-0.6.1.tgz","fileCount":79,"unpackedSize":382202,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tradingview-mcp-server@0.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDNqKFiS4vFyQpEkkRY+NUsJs4vq4hRfCYkf2Yxm3nIIQIgMBVFO5wxEA1cmSkmJYWngW8uel+y6iEIDRtefS8Oh1s="}]},"_npmUser":{"name":"bearmug","email":"pavel.fadeev@gmail.com"},"directories":{},"maintainers":[{"name":"bearmug","email":"pavel.fadeev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tradingview-mcp-server_0.6.1_1774656393223_0.2971406859373429"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-24T19:17:01.616Z","modified":"2026-03-28T00:06:33.693Z","0.0.1":"2025-10-24T19:17:01.954Z","0.1.2":"2025-10-25T20:25:13.213Z","0.1.3":"2025-10-26T20:21:57.090Z","0.2.0":"2025-10-28T22:20:49.488Z","0.2.1":"2025-10-31T21:16:31.320Z","0.3.0":"2025-11-02T13:31:54.426Z","0.4.0":"2026-01-05T23:34:43.889Z","0.5.0":"2026-03-17T23:38:12.989Z","0.6.1":"2026-03-28T00:06:33.383Z"},"bugs":{"url":"https://github.com/fiale-plus/tradingview-mcp-server/issues"},"author":{"name":"Community"},"license":"MIT","homepage":"https://github.com/fiale-plus/tradingview-mcp-server#readme","keywords":["mcp","tradingview","cli","stock-screener","model-context-protocol","claude","claude-desktop","stock-analysis","financial-data"],"repository":{"type":"git","url":"git+https://github.com/fiale-plus/tradingview-mcp-server.git"},"description":"Unofficial MCP server and CLI for TradingView stock screener API","maintainers":[{"name":"bearmug","email":"pavel.fadeev@gmail.com"}],"readme":"<div align=\"center\">\n  <img src=\"docs/images/demo.webp\" alt=\"TradingView MCP Server Demo\" width=\"100%\">\n</div>\n\n<div align=\"center\">\n\n[![NPM Version](https://img.shields.io/npm/v/tradingview-mcp-server?style=flat-square)](https://www.npmjs.com/package/tradingview-mcp-server)\n[![NPM Downloads](https://img.shields.io/npm/dm/tradingview-mcp-server?style=flat-square)](https://www.npmjs.com/package/tradingview-mcp-server)\n[![Test Status](https://img.shields.io/github/actions/workflow/status/fiale-plus/tradingview-mcp-server/test.yml?branch=main&label=tests&style=flat-square)](https://github.com/fiale-plus/tradingview-mcp-server/actions/workflows/test.yml)\n[![License](https://img.shields.io/github/license/fiale-plus/tradingview-mcp-server?style=flat-square)](LICENSE)\n[![MCP](https://img.shields.io/badge/MCP-Compatible-blue?style=flat-square)](https://modelcontextprotocol.io)\n\n**Unofficial** MCP server **and CLI** for TradingView's market screener API — stocks, forex, crypto & ETFs.\n\n### AI-powered investment research for patient, systematic investors.\n\n**Two modes, one package:** Use as an MCP server with Claude, or as a standalone CLI tool that pipes to `jq`, `csvtool`, or any Unix workflow.\n\n</div>\n\n---\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [CLI Usage](#cli-usage)\n- [Configuration](#configuration)\n- [MCP Tools](#mcp-tools)\n- [Screening Fields](#screening-fields)\n- [Pre-built Strategies](#pre-built-strategies)\n- [Investor Commands](#investor-commands)\n- [Operators](#operators)\n- [Development](#development)\n- [Disclaimer](#disclaimer)\n\n---\n\n## Features\n\n- **Dual mode: MCP + CLI** — use as an MCP server with Claude or as a standalone `tradingview-cli` command\n- **100+ screener fields** including Piotroski F-Score, Altman Z-Score, Graham Number, analyst consensus, and dividend growth streaks\n- **18 filter operators** including `crosses_above` / `crosses_below` for golden cross detection\n- **14 pre-built strategies** covering value, growth, quality, GARP, deep value, breakouts, compounders, and macro monitoring\n- **9 investor workflow commands** — from `/due-diligence` to `/macro-dashboard` — built on top of the MCP tools\n- **Multi-asset coverage** — stocks, ETFs, forex, and crypto with asset-specific field discovery via `list_fields`\n- **Smart caching and rate limiting** — configurable TTL and requests-per-minute to keep usage responsible\n\n---\n\n## Installation\n\n### Option 1: NPM (Recommended)\n\n```bash\nnpm install -g tradingview-mcp-server\n```\n\n### Option 2: Clone Repository (includes demo commands)\n\n```bash\ngit clone https://github.com/fiale-plus/tradingview-mcp-server.git\ncd tradingview-mcp-server\nnpm install\n\n# Quick setup — creates project-level MCP config\n./local-setup.sh          # Linux/Mac\nlocal-setup.bat           # Windows\n\n# Restart Claude Code and try: /market-regime or /run-screener\n```\n\n---\n\n## CLI Usage\n\nAfter installing the package, the `tradingview-cli` command is available globally:\n\n```bash\n# List all pre-built screening strategies\ntradingview-cli presets\n\n# Screen stocks using a preset\ntradingview-cli screen stocks --preset quality_stocks --limit 10\n\n# Screen with custom filters\ntradingview-cli screen stocks --filters '[{\"field\":\"price_earnings_ttm\",\"operator\":\"less\",\"value\":15}]'\n\n# Look up specific symbols (indexes, stocks)\ntradingview-cli lookup NASDAQ:AAPL TVC:SPX NYSE:MSFT\n\n# Discover available screening fields\ntradingview-cli fields --asset-type stock --category fundamental\n```\n\n### Output Formats\n\n```bash\n# JSON (default) — pipe to jq\ntradingview-cli screen stocks --preset value_stocks | jq '.stocks[].name'\n\n# CSV — pipe to file or csvtool\ntradingview-cli screen stocks --preset value_stocks -f csv > results.csv\n\n# Table — human-readable terminal output\ntradingview-cli screen stocks --preset value_stocks -f table\n```\n\n### CLI Commands\n\n| Command | Description |\n|---|---|\n| `screen stocks [opts]` | Screen stocks by fundamental/technical criteria |\n| `screen forex [opts]` | Screen forex pairs |\n| `screen crypto [opts]` | Screen cryptocurrencies |\n| `screen etf [opts]` | Screen ETFs |\n| `lookup <symbols...>` | Look up specific symbols by ticker |\n| `fields [opts]` | List available screening fields |\n| `preset <name>` | Get a preset strategy's details |\n| `presets` | List all available presets |\n\n### Screen Options\n\n| Flag | Description |\n|---|---|\n| `--filters <json>` | Filter array as JSON string |\n| `--preset <name>` | Load a preset (merges with `--filters`) |\n| `--markets <market>` | Market to screen (repeatable, stocks/etf only) |\n| `--sort-by <field>` | Sort by field |\n| `--sort-order <asc\\|desc>` | Sort direction |\n| `--limit <n>` | Max results (1-200, default 20) |\n| `--columns <col>` | Columns to include (repeatable) |\n| `-f, --format <fmt>` | Output: `json`, `csv`, or `table` |\n\n---\n\n## Configuration\n\n### Claude Desktop\n\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json` on Mac:\n\n```json\n{\n  \"mcpServers\": {\n    \"tradingview\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"tradingview-mcp-server\"]\n    }\n  }\n}\n```\n\n### Claude Code\n\nCreate `.mcp.json` in your project root:\n\n```json\n{\n  \"mcpServers\": {\n    \"tradingview\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"tradingview-mcp-server\"]\n    }\n  }\n}\n```\n\nEnable in `.claude/settings.local.json`:\n\n```json\n{\n  \"enableAllProjectMcpServers\": true\n}\n```\n\n### Environment Variables\n\n| Variable | Default | Description |\n|---|---|---|\n| `CACHE_TTL_SECONDS` | `300` | How long to cache API responses (seconds) |\n| `RATE_LIMIT_RPM` | `10` | Maximum API requests per minute |\n\n---\n\n## MCP Tools\n\nEight tools are exposed to Claude:\n\n| Tool | Description | Key Parameters |\n|---|---|---|\n| `screen_stocks` | Screen stocks by fundamental and technical criteria | `filters`, `markets`, `sort_by`, `limit`, `columns` |\n| `screen_forex` | Screen forex pairs by technical criteria | `filters`, `sort_by`, `limit` |\n| `screen_crypto` | Screen cryptocurrencies by market and technical criteria | `filters`, `sort_by`, `limit` |\n| `screen_etf` | Screen ETFs by performance and technical criteria | `filters`, `markets`, `sort_by`, `limit` |\n| `lookup_symbols` | Direct lookup by ticker — required for indexes like `TVC:SPX` | `symbols` (up to 100), `columns` |\n| `list_fields` | Discover available fields for any asset type | `asset_type` (`stock`, `forex`, `crypto`, `etf`), `category` |\n| `get_preset` | Retrieve a pre-configured screening strategy by key | `preset_name` |\n| `list_presets` | List all available preset strategies with descriptions | — |\n\n### Filter Structure\n\nAll screening tools accept filters in this shape:\n\n```json\n{ \"field\": \"return_on_equity\", \"operator\": \"greater\", \"value\": 15 }\n{ \"field\": \"RSI\", \"operator\": \"in_range\", \"value\": [40, 65] }\n{ \"field\": \"SMA50\", \"operator\": \"crosses_above\", \"value\": \"SMA200\" }\n{ \"field\": \"exchange\", \"operator\": \"in_range\", \"value\": [\"NASDAQ\", \"NYSE\"] }\n```\n\nCross-field comparison (second example above) enables golden cross / death cross detection without needing a value on the right-hand side.\n\n---\n\n## Screening Fields\n\nUse `list_fields` to browse fields. Pass `asset_type` to get tailored lists for each asset class.\n\n### Stocks (~80 fields)\n\n**Valuation**\n`price_earnings_ttm`, `price_book_fq`, `price_sales_current`, `enterprise_value_current`, `enterprise_value_ebitda_ttm`, `enterprise_value_to_ebit_ttm`, `price_earnings_growth_ttm` (PEG), `ebitda`\n\n**Profitability & Returns**\n`return_on_equity`, `return_on_assets`, `return_on_invested_capital_fq`, `gross_margin_ttm`, `operating_margin_ttm`, `net_margin_ttm`, `after_tax_margin`, `pre_tax_margin_ttm`, `free_cash_flow_margin_ttm`\n\n**Growth**\n`total_revenue_yoy_growth_ttm`, `earnings_per_share_diluted_yoy_growth_ttm`, `revenue_per_share_ttm`, `total_revenue`, `net_income`, `earnings_per_share_diluted_ttm`\n\n**Balance Sheet**\n`debt_to_equity`, `total_debt`, `total_assets`, `current_ratio`, `free_cash_flow_ttm`, `free_cash_flow_fq`\n\n**Dividends**\n`dividend_yield_recent`, `dividends_yield_current`, `dividend_payout_ratio_ttm`, `continuous_dividend_payout_years`, `dps_yoy_growth_ttm`\n\n**Composite Scores** (unique differentiators)\n\n| Field | Description |\n|---|---|\n| `piotroski_f_score_ttm` | 0–9 financial strength composite. Score ≥7 = strong, ≤2 = weak |\n| `altman_z_score_ttm` | Bankruptcy predictor. >2.99 = safe, 1.81–2.99 = grey zone, <1.81 = distress |\n| `graham_numbers_ttm` | Intrinsic value = sqrt(22.5 × EPS × BVPS). Price below = undervalued |\n\n**Analyst Data**\n`Recommend.All` (composite −1 to +1), `analyst_recommendations_buy`, `analyst_recommendations_sell`, `analyst_recommendations_neutral`, `price_target_average`, `price_target_high`, `price_target_low`\n\n**Technical**\n`RSI`, `SMA50`, `SMA200`, `EMA10`, `VWAP`, `ATR`, `ADX`, `Volatility.M`, `beta_1_year`, `beta_3_year`, `beta_5_year`, `Recommend.MA`, `Recommend.Other`\n\n**Performance & Price Levels**\n`close`, `change`, `volume`, `average_volume_90d_calc`, `average_volume_30d_calc`, `relative_volume_10d_calc`, `Perf.5D`, `Perf.W`, `Perf.1M`, `Perf.3M`, `Perf.6M`, `Perf.Y`, `Perf.YTD`, `Perf.3Y`, `Perf.5Y`, `Perf.10Y`, `Perf.All`, `price_52_week_high`, `price_52_week_low`, `all_time_high`, `all_time_low`, `High.All`\n\n**Metadata**\n`sector`, `industry`, `exchange`, `market`, `is_primary`, `indexes`, `fundamental_currency_code`, `earnings_release_next_trading_date_fq`\n\n### ETFs\n`expense_ratio`, `shares_outstanding`, `dividends_yield_current`, `close`, `volume`, `Perf.W` through `Perf.Y`, `RSI`, `ATR`\n\n### Crypto\n`close`, `change`, `volume`, `market_cap_basic`, `RSI`, `ATR`, `Volatility.M`, `Perf.W` through `Perf.Y`\n\n### Forex\n`close`, `change`, `volume`, `RSI`, `ATR`, `ADX`, `Volatility.D`, `SMA50`, `SMA200`, `Perf.W` through `Perf.3M`\n\n---\n\n## Pre-built Strategies\n\nRetrieve any preset with `get_preset` or browse all with `list_presets`.\n\n| Key | Name | Style | What It Screens For |\n|---|---|---|---|\n| `quality_stocks` | Quality Stocks (Conservative) | Quality | ROE >12%, low debt, low volatility, golden cross |\n| `value_stocks` | Value Stocks | Value | P/E <15, P/B <1.5, ROE >10% |\n| `dividend_stocks` | Dividend Stocks | Income | Yield >3%, large cap, D/E <1.0 |\n| `momentum_stocks` | Momentum Stocks | Momentum | RSI 50–70, golden cross, 1M performance >5% |\n| `growth_stocks` | Growth Stocks | Growth | ROE >20%, operating margin >15% |\n| `quality_growth_screener` | Quality Growth Screener | Quality + Growth | 16 filters: ROE, margins, revenue growth, technicals, exchange filter |\n| `quality_compounder` | Quality Compounders (Munger/Buffett) | Compounder | Gross margin >40%, ROIC >15%, FCF margin >15%, growing revenue |\n| `garp` | GARP (Growth at Reasonable Price) | GARP | PEG <2, ROE >15%, revenue growth >10% |\n| `deep_value` | Deep Value (Contrarian) | Deep Value | P/E <10, P/B <1.5, positive FCF |\n| `breakout_scanner` | Breakout Scanner | Momentum | Near 52-week high, golden cross, RSI 50–75, above-average volume |\n| `earnings_momentum` | Earnings Momentum | Earnings | EPS growth YoY >20%, revenue growth >10%, RSI 45–70 |\n| `dividend_growth` | Dividend Growth (Compounding Income) | Dividend Growth | Yield 1–6%, payout ratio <70%, positive FCF, consecutive years paying |\n| `macro_assets` | Macro Asset Monitor | Macro | VIX, DXY, 10Y yield, Gold, WTI Oil, Bitcoin — direct symbol lookup |\n| `market_indexes` | Global Market Indexes | Market Regime | 13 global indexes (US, Europe, Asia, Nordic) with ATH and performance data |\n\n---\n\n## Investor Commands\n\nThe repository ships with 9 ready-to-use Claude Code commands in `.claude/commands/`. Clone the repo and run `./local-setup.sh` to activate them.\n\n| Command | Usage | What It Does |\n|---|---|---|\n| `/market-regime` | `/market-regime` | Analyzes Nasdaq, OMX Stockholm 30, and Nikkei 225 vs ATH. Shows drawdown, RSI, and bull/correction/bear regime status |\n| `/run-screener` | `/run-screener` | Interactive wizard to pick a preset strategy, run it, display a compact table, and save results to CSV |\n| `/due-diligence` | `/due-diligence AAPL` | Structured due diligence report: valuation, quality, growth, balance sheet, dividends, technicals, performance, and checklist assessment |\n| `/compare-peers` | `/compare-peers AAPL MSFT GOOGL` | Side-by-side comparison of 2–5 stocks across valuation, quality, growth, and momentum with category rankings |\n| `/sector-rotation` | `/sector-rotation` | Screens top stocks in all 11 GICS sectors, calculates average performance, assigns Accelerating/Decelerating signals, and recommends a preset |\n| `/smart-screen` | `/smart-screen` | Determines current market regime (bull/correction/bear) from SPX, then auto-selects and runs the most appropriate preset |\n| `/macro-dashboard` | `/macro-dashboard` | Multi-asset snapshot: US and global indexes, VIX, DXY, 10Y yield, Gold, Oil, BTC with auto-interpreted macro signals |\n| `/portfolio-risk` | `/portfolio-risk AAPL MSFT JPM XOM` | Portfolio concentration risk, sector breakdown, beta analysis, and diversification recommendations |\n| `/investment-thesis` | `/investment-thesis NVDA` | Data-driven investment thesis with bull/bear case, key metrics table, technical setup, entry/exit framework, and monitoring checklist |\n\n---\n\n## Operators\n\nAll screening tools support the following operators in filter conditions:\n\n| Operator | Description | Example |\n|---|---|---|\n| `greater` | Field > value | `return_on_equity > 15` |\n| `less` | Field < value | `price_earnings_ttm < 20` |\n| `greater_or_equal` | Field >= value | `close >= 10` |\n| `less_or_equal` | Field <= value | `Volatility.M <= 3` |\n| `equal` | Exact match | `sector = \"Technology\"` |\n| `not_equal` | Not equal | `exchange != \"OTC\"` |\n| `in_range` | Value within `[min, max]` or in a list | `RSI in [45, 65]` or `exchange in [\"NASDAQ\", \"NYSE\"]` |\n| `not_in_range` | Value outside range or list | `RSI not_in [70, 100]` |\n| `crosses` | Field crosses the reference (either direction) | `SMA50 crosses SMA200` |\n| `crosses_above` | Field crosses above the reference | `SMA50 crosses_above SMA200` (golden cross) |\n| `crosses_below` | Field crosses below the reference | `SMA50 crosses_below SMA200` (death cross) |\n| `match` | Text contains substring | `name match \"tech\"` |\n| `above_percent` | Field is N% above reference | `close above_percent SMA200` |\n| `below_percent` | Field is N% below reference | `close below_percent SMA200` |\n| `has` | Field contains value (list fields) | `indexes has \"S&P 500\"` |\n| `has_none_of` | Field contains none of the values | filters out specific index members |\n| `empty` | Field has no value | `dividend_yield_recent empty` |\n| `not_empty` | Field has a value | `all_time_high not_empty` |\n\nString fields (`sector`, `exchange`, `industry`, `market`) use `equal` for single values and `in_range` for lists.\n\n---\n\n## Development\n\n```bash\nnpm install          # Install dependencies\nnpm run build        # Compile TypeScript to dist/\nnpm test             # Run all tests\nnpm run test:watch   # Run tests in watch mode\nnpm run dev          # Run directly with tsx (no build step)\n```\n\nRun a single test file:\n\n```bash\nnpm test -- fields.test.ts\n```\n\nAfter making changes, restart Claude to reload the MCP server (no hot-reload).\n\n### Adding a New Field\n\n1. Add to `STOCK_FIELDS` in `src/tools/fields.ts` with `name`, `label`, `category`, `type`, `description`\n2. Optionally add to `EXTENDED_COLUMNS` in `src/tools/screen.ts`\n\n### Adding a New Preset\n\nAdd to `PRESETS` in `src/resources/presets.ts` with `filters`, `markets`, `sort_by`, `sort_order`, and optional `columns`.\n\n### Adding a New Tool\n\n1. Create implementation in `src/tools/`\n2. Register in `ListToolsRequestSchema` handler in `src/index.ts`\n3. Add case in `CallToolRequestSchema` handler\n\n---\n\n## Disclaimer\n\nThis is an **unofficial** tool. It is not affiliated with, endorsed by, or connected to TradingView. It uses TradingView's public scanner API, which may change without notice. No authentication is required; access level is the same as the TradingView website without login.\n\n**Not investment advice.** Screening results are for informational and educational purposes only. All investment decisions are your sole responsibility. Past performance does not indicate future results. Consult qualified financial advisors before making investment decisions.\n\nThis software is provided \"AS IS\" under the [MIT License](LICENSE), without warranty of any kind.\n\n---\n\n## Links\n\n- [Model Context Protocol](https://spec.modelcontextprotocol.io)\n- [TradingView](https://www.tradingview.com)\n- [Claude Desktop](https://claude.ai/download)\n- [Claude Code](https://docs.claude.com/claude-code)\n\n---\n\n**Smarter screens, not faster trades.**\n\nBuilt with the [Model Context Protocol](https://modelcontextprotocol.io)\n","readmeFilename":"README.md"}