tradingview-mcp

tradingview-mcp is a skill for Claude Code, Codex from atilaahmettaner/tradingview-mcp. It costs 73 tokens per session (1,587 once invoked), scanned A, original, MIT.

A command-line guide for an AI trading tool that provides market data, technical analysis, strategy backtesting, sentiment, news, and market screening.

In plain words
What is it for?
Use it to inspect stocks, crypto, ETFs, and indices; compare markets; test strategies against historical data; and review sentiment or news.
Why use it?
It gathers several types of trading evidence in one workflow instead of relying on a single price or indicator.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: positional $N argument; built for openclaw.

Good fit Use it to inspect stocks, crypto, ETFs, and indices; compare markets; test strategies against historical data; and review sentiment or news.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atilaahmettaner/tradingview-mcp/openclaw
About the project

atilaahmettaner/tradingview-mcp is an MCP server that gives AI assistants access to market data, technical analysis, screeners, sentiment, and backtesting for stocks, crypto, forex, and futures. Traders and developers use it with MCP clients such as Claude, ChatGPT, or Cursor to examine markets and test trading strategies. The catalogue connects assistants to this server through an MCP entry and a skill.

atilaahmettaner/tradingview-mcp · 5,156 stars · on GitHub · tradingmcp.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add atilaahmettaner/tradingview-mcp --skill openclaw
Clone the repo
git clone --depth 1 https://github.com/atilaahmettaner/tradingview-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tradingview-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/atilaahmettaner/tradingview-mcp/openclaw/github.svg)](https://agentmods.dev/skills/atilaahmettaner/tradingview-mcp/openclaw)
Your own site
<a href="https://agentmods.dev/skills/atilaahmettaner/tradingview-mcp/openclaw"><img src="https://agentmods.dev/badge/skills/atilaahmettaner/tradingview-mcp/openclaw/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tradingview-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/atilaahmettaner/tradingview-mcp/openclaw"><img src="https://agentmods.dev/badge/skills/atilaahmettaner/tradingview-mcp/openclaw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,587 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01587
Opus 5.5 $0.00029 $0.00635
Sonnet 5.5 $0.00015 $0.00317
Haiku 4.5 $0.00007 $0.00159

Measured 1mo ago against content hash 113912b248bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tradingview-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (trading.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

7 near-identical copies found in the catalogue:

openclaw/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TradingView MCP — AI Trading Intelligence

You have a trading intelligence tool available via bash. NEVER use sessions_spawn or ask for an agent ID for trading tasks. Run commands directly.

Use this tool whenever users ask about:

  • Stock, crypto, ETF, or index prices
  • Technical analysis (RSI, MACD, Bollinger Bands, etc.)
  • Backtesting trading strategies
  • Market sentiment or news
  • Screening for trading opportunities

How to Run Trading Tools

Execute via bash using the wrapper script:

python3 ~/.openclaw/tools/trading.py <command> [args]

Behavior Guidelines

  1. Run bash immediately. For any trading/market question → execute the command directly, don't ask for clarification.
  2. Always combine signals. For "should I buy X?" → run price + backtest + sentiment together.
  3. Qualify with timeframe. Default to 1y period and 1d interval unless specified.
  4. Explain metrics briefly. Sharpe (risk-adjusted return), Max Drawdown (worst loss), Profit Factor (wins/losses).
  5. Add a disclaimer on all backtests: "⚠️ Past performance does not guarantee future results."
  6. Be concise on Telegram. Use emoji, bullet lists — no walls of JSON.
  7. Detect language. Reply in the same language the user writes in.

Tool Quick Reference

Prices & Market

Intent Tool
"What is AAPL's price?" yahoo_price(symbol="AAPL")
"Show me BTC and ETH prices" get_prices_bulk(symbols=["BTC-USD","ETH-USD"])
"How are markets today?" market_snapshot()

Technical Analysis

Intent Tool
"Analyze AAPL technically" technical_analysis(symbol="AAPL", exchange="NASDAQ", screener="america", interval="1h")
"What is the RSI for BTC?" calculate_rsi(symbol="BTC-USD", period="14")
"Supertrend signal for AAPL?" calculate_supertrend(symbol="AAPL")

Backtesting

Intent Tool
"Backtest RSI strategy for 1 year" backtest_strategy(symbol="AAPL", strategy="rsi", period="1y")
"Show me the full trade log" backtest_strategy(symbol="BTC-USD", strategy="supertrend", period="1y", include_trade_log=True)
"Run hourly backtest" backtest_strategy(symbol="AAPL", strategy="bollinger", period="3mo", interval="1h")
"Which strategy is best?" compare_strategies(symbol="BTC-USD", period="2y")
"Is this strategy overfitted?" walk_forward_backtest_strategy(symbol="AAPL", strategy="rsi", period="2y", n_splits=3)

Read the full file on GitHub · 133 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 tokens per session 113912b248bc
  2. 1mo ago First seen · 133 lines · 71 tokens per session scan A 6a408e26782f

Subscribe to this mod's changes

tradingview-mcp is a skill published in the GitHub repository atilaahmettaner/tradingview-mcp (5,156 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 1,587 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

watch

Watch live IDX turnover and order books for unusual activity — value surges, auto-reject approach, one-sided depth, walls appearing or withdrawn, quiet stocks waking up, UMA flags — plus delayed print-by-print attribution and end-of-day broker context. Use when the user runs /watch, or asks what is trading right now…

INo-xious/stockbit-mcp · 88 tokens

stockbit-status

Check whether the Stockbit session is still valid — main session expiry, whether trading credentials are stored, and the current trading mode. Use when the user asks "am I still logged in to Stockbit", "has my session expired", "is trading on", or when a stockbit MCP tool starts failing with an auth error.

INo-xious/stockbit-mcp · 70 tokens

stockbit-auth

Log in to Stockbit and capture the session for this server — opens the browser login flow and verifies the token was stored. Use when the user asks to log in or re-authenticate to Stockbit, or after a status check reports the session expired, HTTP 401, or logged out.

INo-xious/stockbit-mcp · 63 tokens

bandar-check

Answer "who is accumulating this stock?" for an IDX ticker using Stockbit broker-flow data. Use when the user asks about bandar, big money, accumulation, distribution, foreign flow, asing, or who is on the other side of the tape.

INo-xious/stockbit-mcp · 54 tokens

stock-deep-dive

Work through one IDX symbol properly — trend, patterns, timeframe alignment, fundamentals and broker flow — and present a lean with its evidence. Use when the user asks what you think of a stock, or to look at, research or analyse one.

INo-xious/stockbit-mcp · 55 tokens

strategy-backtest

Compare strategies on an IDX symbol, backtest the survivor walk-forward, and hand the result to TradingView as Pine Script. Use when the user asks whether a strategy works, to test an idea, or for a Pine script.

INo-xious/stockbit-mcp · 50 tokens