Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for XAUUSD gold market data + 4-tier trading toolkit (TA, backtest, SMC, risk).
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GOLD_MCP_LICENSE_KEY, ANTHROPIC_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"gold": {
"command": "uvx",
"args": [
"gold-mcp"
],
"env": {
"GOLD_MCP_LICENSE_KEY": "ใส่ค่าของคุณ",
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add gold --env GOLD_MCP_LICENSE_KEY='ใส่ค่าของคุณ' --env ANTHROPIC_API_KEY='ใส่ค่าของคุณ' -- uvx gold-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"gold": {
"command": "uvx",
"args": [
"gold-mcp"
],
"env": {
"GOLD_MCP_LICENSE_KEY": "ใส่ค่าของคุณ",
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"gold": {
"type": "stdio",
"command": "uvx",
"args": [
"gold-mcp"
],
"env": {
"GOLD_MCP_LICENSE_KEY": "ใส่ค่าของคุณ",
"ANTHROPIC_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub ThaiTrevor ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GOLD_MCP_LICENSE_KEY, ANTHROPIC_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (4.1.2) เข้า registry 5 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Finance Toolkit, SolidInvoice, Korea Tax Calculator
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An MCP server that brings public gold (XAUUSD) market data into Claude, ChatGPT, Cursor, Windsurf, Cline, Zed, and any other Model Context Protocol client.
Free tier (13 tools + optional 8-tool MT5 BYOK adapter) is fully functional and stays free forever. Pro, Premium, and Ultra tiers add advanced TA, backtest, SMC suite, risk management, and AI analyst via an offline Ed25519 license key — no SaaS, no phone-home.
Educational and research use only — not financial advice.
| Tier | Tools | License | Suggested price |
|---|---|---|---|
| Free | 13 (+8 optional MT5 BYOK) | None | $0 |
| Pro | +7 (20 total) | GOLD_MCP_LICENSE_KEY env | $9-19/mo |
| Premium | +4 (24 total) | GOLD_MCP_LICENSE_KEY env | $29-49/mo |
| Ultra | +18 (42 total, 50 with MT5 BYOK) | GOLD_MCP_LICENSE_KEY env | $99-149/mo |
Public gold data (Yahoo Finance):
get_gold_price — latest gold close + 24h changeget_gold_ohlcv — historical bars (1m → 1mo)get_macro_context — DXY, US10Y/02Y, SPX, VIX, BTC, silver, oilget_gold_correlations — gold-vs-macro correlation matrixget_gold_seasonality — day-of-week / monthly return statsget_vn_macro — USD/VND + implied world-parity gold price in VNDestimate_vn_gold_premium — compare local VN quote to world paritygold_market_snapshot — one-call aggregator + bulleted summarydiagnostic — show license tier + available toolscache_purge — sweep expired cache entriesRealtime PAXG via Binance public WebSocket (NEW v4.1, no API key):
paxg_worker_status — WS worker health + tick countget_paxg_tick — last PAXG tick (tracks XAU/USD within 0.1-0.3%)get_paxg_ohlcv_realtime — aggregated PAXG bars from local tick logMT5 BYOK adapter (NEW v4.1, optional via `pip install 'gold-mcp[mt5]'`, Windows):
mt5_attach / mt5_detach / mt5_status — manage attached terminalmt5_find_symbol — broker-specific XAUUSD symbol resolutionmt5_get_tick / mt5_get_ohlcv / mt5_get_ticks — read from your terminalmt5_account_info — balance / equity / leverageanalyze_gold_advanced — Bollinger + Ichimoku + Fibonaccimulti_timeframe_snapshot — 5m / 1h / 4h / 1d in one callgold_correlation_regime — detects DXY decoupling, etc.get_gold_setups — multi-indicator confluence scannercreate_gold_alert / list_gold_alerts / delete_gold_alertbacktest_gold_strategy — 4 strategies, vectorizedgold_walk_forward — rolling out-of-sample validationoptimize_gold_strategy — grid search by Sharpe / PF / returngold_intraday_seasonality — hourly / session bucketingSmart Money Concepts (SMC)
smc_full_scan — composite SMC bias (structure + OB + FVG + sweeps)detect_order_blocks — bullish/bearish OB with impulse ATR filteringdetect_fair_value_gaps — 3-candle imbalances + fill trackingdetect_liquidity_sweeps — stop-hunt detection (breach + reverse)detect_market_structure — CHOCH/BOS labeling on swing fractalsRegime + Multi-Timeframe
classify_regime — composite Hurst exponent + Lo-MacKinlay variance ratiomtf_alignment — D1/H4/H1 confluence with alignment score 0-100Position sizing + risk
kelly_fraction — half-Kelly default for safetyfixed_fractional_size — classic R% sizingoptimal_f — Ralph Vince geometric-mean-maximizing frisk_of_ruin — Monte Carlo ruin probabilityMonte Carlo + VaR
monte_carlo_paths — bootstrap or parametric path simulationvalue_at_risk — historical VaR + Conditional VaRprob_hit_target_or_stop — MC trade probability with EV in R-multiplesAI Analyst (BYOK Anthropic)
ai_daily_briefing — structured JSON read from Claude Sonnet 4.6ai_setup_explanation — cheaper Haiku 4.5 plain-English readReport generation
generate_html_tearsheet — polished standalone HTML reportgenerate_markdown_briefing — portable Markdown daily summarygit clone https://github.com/ThaiTrevor/gold-mcp.git
cd gold-mcp pip install -e .
Python 3.10+. No other setup, no env vars, no data files.
Edit %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": { "gold-mcp": { "command": "python", "args": ["-m", "gold_mcp.server"] } } }
Restart Claude Desktop. The tools appear under the plug icon.
claude mcp add --scope user gold-mcp -- python -m gold_mcp.server
~/.cursor/mcp.json (or the equivalent file for your client):
{
"mcpServers": { "gold-mcp": { "command": "python", "args": ["-m", "gold_mcp.server"] } } }
Settings → Connectors → Add MCP server:
Command: python
Args: -m gold_mcp.server
Ask the model in plain English. Examples:
"What is gold doing right now and how does it compare to today's
macro tape (DXY, yields, VIX)?"
"Show me the last 24 hourly bars of gold and the 60-day correlation
with silver and DXY."
"Give me a market snapshot for gold — combine price, macro context,
correlations, and the day-of-week seasonality."
"USD/VND right now and the implied world-parity gold price in VND
per tael. If SJC is quoting 145 million, what's the premium?"
LLMs reason well about gold but they don't see live market data, the macro tape that moves gold, or a clean correlation matrix on demand. This server is a tiny, free bridge between an MCP client and the public Yahoo Finance data that any researcher already has access to — exposed as well-typed tools so the model picks the right one automatically.
It started as a study project to learn MCP architecture and turned into something useful enough to publish for the community.
Add GOLD_MCP_LICENSE_KEY to the env block of your MCP config:
"env": {
"GOLD_MCP_LICENSE_KEY": "eyJ0aWVy...Ijoi.MEUCI..." }
Restart your MCP client. Call diagnostic — tier_active should report pro or premium. New tools become available immediately.
See examples/claude_desktop_config_pro.json for the full template.
gold_mcp/
server.py FastMCP wiring with 3-tier gating (21 tools max) gold_data.py yfinance price + OHLCV macro_data.py DXY/yields/SPX/VIX/BTC + correlations analytics.py seasonality analyst.py one-call aggregator (gold_market_snapshot) cache.py TTL filesystem cache (60s → 24h) license.py Ed25519 offline license verification issue_license.py CLI: init-keys, issue, verify pro_tools.py Pro tier: advanced TA, alerts, multi-timeframe premium_tools.py Premium tier: backtest, walk-forward, optimizer adapters/ vn_macro.py USD/VND + world-parity gold
For vendors selling licenses, see the CLI:
python -m gold_mcp.issue_license init-keys
python -m gold_mcp.issue_license issue --tier pro --email u@x.com --days 30
Or run the Lemon Squeezy webhook handler (port from mcp-byok-template — swap the env-var name from MCP_BYOK_LICENSE_KEY to GOLD_MCP_LICENSE_KEY).
This project is small on purpose. We welcome contributions that fit the same pattern:
See CONTRIBUTING.md for details and SECURITY.md for how to report security issues.
pip install -e ".[dev]"
pytest
CI runs the suite on Linux, macOS, and Windows across Python 3.10/3.11/3.12 on every push and pull request.
gold-mcp is a data and analysis tool for educational and research purposes only. Nothing returned by any tool constitutes investment advice, a recommendation, or a solicitation. Markets carry risk; you are responsible for your own decisions.
MIT — see LICENSE.