Atlas / MCP servers / lev-corrupted / TradingView

TradingViewSAFE

mcp/lev-corrupted/tradingview-2

Professional multi-asset trading & Pine Script development MCP server for Claude. Features: 20+ indicators, Pine Script tools (validator, autocomplete, docs, testing), Forex/Stocks/Crypto support

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
33 33r · 0w · 0d
Transport
streamable-http
License
MIT
Stars
59
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Production-ready multi-asset trading assistant and Pine Script development server for Claude Desktop

[](https://github.com/lev-corrupted/TradingViewMCPServer/actions) [](https://www.python.org/downloads/) [](https://opensource.org/licenses/MIT) [](https://hub.docker.com) [](https://github.com/lev-corrupted/TradingViewMCPServer/releases)

Professional trading assistant supporting Forex, Stocks, and Crypto with 25+ technical indicators, Pine Script v6 development tools, and production-grade reliability.

✨ Features

🎯 Production-Ready (NEW in v3.4.0!)

  • 🏥 Health Monitoring: Built-in health check tool with cache statistics and API status
  • 🔄 Auto-Retry Logic: Exponential backoff for network failures (3 retries: 2s, 4s, 8s)
  • ⚡ LRU Cache: Memory-bounded cache (1000 entries) with automatic eviction
  • 🐳 Docker Support: Production-ready containerization with Docker Compose
  • 🚀 CI/CD Pipeline: Automated testing across Python 3.10-3.12
  • ✅ 100% Test Coverage: 44/44 tests passing

📊 Trading & Market Analysis

  • Multi-Asset Support: Forex (22+ pairs), US Stocks, Cryptocurrencies
  • 25+ Technical Indicators: Volume Profile, Market Profile, VWAP, Fibonacci, Bollinger Bands, MACD, Moving Averages, ATR, Support/Resistance, Pivot Points, Stochastic, RSI, CCI, Williams %R, ADX, Ichimoku Cloud, and more
  • Full Historical Data: Live quotes and historical data for all asset types (Forex, Stocks, Crypto) via Alpha Vantage API
  • Smart Caching: 70% reduction in API calls with intelligent caching
  • **Claude Desktop Integ
Read from source at commit 442b8bf2846aOBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add tradingview-mcp --env ALPHA_VANTAGE_API_KEY=${ALPHA_VANTAGE_API_KEY} -- uvx tradingview-mcp
claude-desktop
{
  "mcpServers": {
    "tradingview-mcp": {
      "command": "uvx",
      "args": [
        "tradingview-mcp"
      ],
      "env": {
        "ALPHA_VANTAGE_API_KEY": "${ALPHA_VANTAGE_API_KEY}"
      }
    }
  }
}
03

Exposed tools (33)

33 read · 0 write · 0 destructive.

ToolRiskDescription
analyze_pairread
autocomplete_pineread
calculate_correlationread
convert_pine_versionread
detect_pine_versionread
detect_unfilled_gapsread
explain_pine_errorread
get_adxread
get_atrread
get_bollinger_bandsread
get_cciread
get_fibonacci_retracementread
get_ichimoku_cloudread
get_macdread
get_market_profileread
get_moving_averagesread
get_multiple_pricesread
get_pine_documentationread
get_pine_templateread
get_pivot_pointsread
get_priceread
get_rsiread
get_server_statsread
get_stochasticread
get_support_resistanceread
get_volume_profileread
get_vwapread
get_williams_rread
health_checkread
list_available_pairsread
list_supported_assetsread
test_pine_scriptread
validate_pine_scriptread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (1 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements-dev.txt
pytest, pytest-asyncio, pytest-cov, pytest-mock, black, flake8, mypy, isort
Why it matters. 12 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
requirements.txt
mcp, python-dotenv, requests
Why it matters. 3 requirement(s) not pinned with ==
Fix. pin exact versions

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 442b8bf2846afull audit observations/trust-audit/mcp-server/lev-corrupted__tradingview-2.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08442b8bf2846aSAFEB89first audit
06

Questions

What is the TradingView MCP server?

Professional multi-asset trading & Pine Script development MCP server for Claude. Features: 20+ indicators, Pine Script tools (validator, autocomplete, docs, testing), Forex/Stocks/Crypto support

What tools does TradingView expose?

33 in total: 33 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is TradingView safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does TradingView need?

It reads ALPHA_VANTAGE_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does TradingView run?

It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as tradingview-mcp.

How current is this page?

The grade is for one exact copy of the source (442b8bf2846a), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement