mt5-trading-mcp: Skill for Claude Code

.claude/skills/mt5-market-data/SKILL.md

mt5-market-data is a skill for Claude Code from vincentwongso/mt5-trading-mcp. It costs 190 tokens per session (3,464 once invoked), scanned A, original, MIT.

A read-only connection to a MetaTrader 5 trading account and its live market data. MetaTrader 5 is software used to view markets and manage broker accounts.

In plain words
What is it for?
Use it to check balances, equity, margin, open positions, pending orders, trade history, quotes, symbols, and chart data.
Why use it?
It avoids needing to inspect the trading terminal manually when you need account, price, or trading-history information.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is vincentwongso/mt5-trading-mcp's own configuration. It tells Claude Code how to work on mt5-trading-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mt5-trading-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vincentwongso/mt5-trading-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vincentwongso/mt5-trading-mcp/main/.claude/skills/mt5-market-data/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vincentwongso/mt5-trading-mcp

Made for: Claude Code.

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 mt5-market-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/vincentwongso/mt5-trading-mcp/mt5-market-data/github.svg)](https://agentmods.dev/skills/vincentwongso/mt5-trading-mcp/mt5-market-data)
Your own site
<a href="https://agentmods.dev/skills/vincentwongso/mt5-trading-mcp/mt5-market-data"><img src="https://agentmods.dev/badge/skills/vincentwongso/mt5-trading-mcp/mt5-market-data/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 mt5-market-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/vincentwongso/mt5-trading-mcp/mt5-market-data"><img src="https://agentmods.dev/badge/skills/vincentwongso/mt5-trading-mcp/mt5-market-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,464 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.
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.00190 $0.03464
Opus 5 $0.00095 $0.01732
Sonnet 5 $0.00038 $0.00693
Haiku 4.5 $0.00019 $0.00346

Measured 12d ago against content hash 32e4bc06a3d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

mt5-market-data 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 12d ago.

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.

.claude/skills/mt5-market-data/SKILL.md · 151 lines

How it starts

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

Reading MetaTrader 5 broker state

The mt5-mcp MCP server exposes twelve read-only tools and three resources that read live data from a running MetaTrader 5 terminal. Use them whenever the user wants to know the state of their account, market, or trading history. None of these tools mutate broker state - call them freely without confirmation.

Tool catalogue

Each tool name below is the MCP tool name (Claude Code surfaces them as mcp__mt5-mcp__<tool>).

ping -> {ok: bool, latency_ms: int} - health check. Cheap; call this first if anything looks wrong (especially if a previous call returned TERMINAL_NOT_CONNECTED).

get_terminal_info -> broker server name, login, latency, broker timezone offset. Use when the user asks "what broker am I connected to" or you need to confirm the terminal is healthy before a sequence of reads.

get_account_info -> balance, equity, margin, free margin, leverage, currency, margin mode. Use for any question about account state, P&L (equity − balance ≈ floating P&L), or buying power.

get_quote(symbol) -> current bid, ask, time for one symbol. Use when the user asks about the current price, spread, or last tick. Symbols are auto-prepared in Market Watch on first use.

get_symbols(category=None) -> list of tradeable instruments with metadata. Each entry exposes:

  • Identity: name, description, category, digits, is_tradeable, filling_modes
  • Pricing: tick_size (price increment), tick_value / tick_value_profit / tick_value_loss (cash value of one tick in deposit currency), contract_size
  • Volumes: volume_min, volume_max, volume_step
  • Currencies: currency_profit, currency_margin
  • Calc dispatch: calc_mode (string enum that drives which margin formula applies - forex, cfd, cfd_index, cfd_leverage, forex_no_leverage, futures, exch_stocks, etc.)
  • Margin: margin_initial, margin_maintenance, margin_hedged (broker-set per-symbol values; typically zero for FX which uses contract_size/leverage)
  • Swaps: swap_long, swap_short, swap_mode (string enum: disabled, by_points, by_base_currency, by_margin_currency, by_deposit_currency, by_interest_current, by_interest_open, by_reopen_current, by_reopen_bid), triple_swap_weekday (sunday..saturday - the day on which 3× rollover applies; commonly wednesday for FX, friday for some equity/index brokers)
  • Order-distance constraints: stops_level, freeze_level (in points; multiply by tick_size for price distance)

Read the full file on GitHub · 151 lines

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. 12d ago First seen · 151 lines · 190 tokens per session scan A 32e4bc06a3d8

Subscribe to this mod's changes

mt5-market-data is a skill published in the GitHub repository vincentwongso/mt5-trading-mcp (5 stars, last pushed 1mo ago), licensed MIT. It adds 190 tokens to every session and 3,464 once invoked, about $0.0010 per session on Opus 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-31.

Related

Other skills, from other repositories

vc-industry-research

Generate professional primary market / venture capital industry research reports, including sector deep-dives, investment memos, and market analysis. Produces detailed PDF reports covering TMT, consumer, healthcare, and industrials. Triggered by requests to analyze an industry, create a market report, write a sector…

zebbern/claude-code-guide · 83 tokens

trade-memory

Compliance-grade decision audit trail for AI trading agents. Records every trading decision with full context (conditions, filters, indicators, risk state), SHA-256 tamper detection, and structured export for MiFID II / EU AI Act readiness. Works alongside Binance Spot, Futures, and Web3 skills — they execute trades…

mnemox-ai/tradememory-protocol · 68 tokens

tradememory-bridge

Bridge between Binance trading events and TradeMemory Protocol. Automatically journals trades, recalls similar past setups, detects behavioral biases, and provides outcome-weighted recall for AI trading agents. Use this skill after executing Binance spot trades to build persistent memory.

mnemox-ai/tradememory-protocol · 53 tokens

risk-management

Risk management domain knowledge for trading agents — affective state monitoring, position sizing, drawdown management, tilt detection, and behavioral guardrails. Use when checking risk before trades, managing drawdowns, detecting behavioral drift, or enforcing discipline. Triggers on "risk", "drawdown", "tilt"…

mnemox-ai/tradememory-protocol · 89 tokens

trading-memory

Domain knowledge for AI trading memory — Outcome-Weighted Memory (OWM) architecture, 5 memory types, recall scoring, and behavioral analysis. Use when recording trades, recalling similar contexts, analyzing performance, or checking behavioral drift. Triggers on "record trade", "remember trade", "recall", "similar…

mnemox-ai/tradememory-protocol · 88 tokens

evolution-engine

Domain knowledge for the Evolution Engine — LLM-powered autonomous strategy discovery from raw OHLCV data. Covers the generate-backtest-select-evolve loop, vectorized backtesting, out-of-sample validation, and strategy graduation. Use when discovering trading patterns, running backtests, evolving strategies, or…

mnemox-ai/tradememory-protocol · 94 tokens