
FinLab AI
SkillOfficial FinLab quant skill: lets agents use FinLab data (mainly Taiwan stocks, plus US, Japan, Korea and Hong Kong) to write stock-picking strategies, run backtests and analyze factors. Needs a FinLab account (free tier has a daily data cap), Python 3.10+ and uv. Not investment advice.
FinLab AI
Let AI discover your next alpha.
FinLab AI is an official product of FinLab. FinLab official website: https://finlab.finance
Backtest Taiwan and U.S. stocks from Claude Code, Codex or Gemini CLI: your AI gets real market data and the FinLab backtest engine, with no scraping or backtest code of your own.
用 Claude Code、Codex 回測台股:AI 直接讀還原股價、月營收、財報、三大法人資料,用 FinLab 回測引擎驗證策略。
Installation
npx skills add koreal6803/finlab-ai --skill finlab -g -y
This installs the skill for Claude Code, Codex, Cursor and other tools that read Agent Skills, for every project on this machine. Already have the finlab package (2.3.9+)? python -m finlab skill install does the same without Node.js. Or use your tool's own plugin command:
| Tool | Command |
|---|---|
| Claude Code | /plugin install finlab-plugin --marketplace koreal6803/finlab-ai |
| Codex | codex plugin marketplace add koreal6803/finlab-ai, then codex plugin add finlab-plugin@finlab-ai |
| Cursor | Customize > From GitHub Repository > koreal6803/finlab-ai |
Then ask your AI: "Backtest a Taiwan stock strategy that buys the strongest monthly revenue growth." The first run asks you to sign in to FinLab once in your browser, which creates a free account with a 7-day full trial, no credit card needed.
What it does on your machine
The skill is documentation: it has no hooks and no bundled programs. It tells your AI tool to install the finlab Python package with uv, sign in with python -m finlab login, which opens your browser, and download market data from FinLab. Strategy code runs on your machine, and nothing is uploaded unless you ask for it.
MCP Server
A hosted, read-only MCP server (streamable HTTP) is available — no install required:
claude mcp add --transport http finlab https://mcp.finlab.finance/mcp
Tools: list_strategies, get_strategy (with Python code), get_stock_evidence, get_data_catalog, get_finlab_docs (this skill's docs, always in sync with main), how_to_start. Listed on the MCP Registry as io.github.koreal6803/finlab-ai (see server.json). The old finlab-ai.koreal6803.workers.dev endpoint is retired.
Documentation
| Document | Content |
|---|---|
| Data Reference | 900+ columns across 80+ tables |
| Backtesting Reference | sim() API, resampling, metrics |
| Factor Examples | 60+ complete strategy examples |
| Best Practices | Patterns, anti-patterns, tips |
| ML Reference | Feature engineering, labels |
Learn more
- Quant trading guide (量化交易): what quantitative trading is, a Taiwan-stock strategy backtester, and a platform comparison.
- Program trading guide (程式交易): how program trading works and three backtest-verified Taiwan-stock strategies.
- Stock selection guide (股票選股): factor-based stock picking with real backtests, from single factors to multi-factor composites.
- Strategy research blog: backtest-verified Taiwan-stock strategy reports (CAGR, Sharpe, max drawdown).
- Website: finlab.finance
Related resources

Vibe-Trading
MCPTrading research agent from HKU's HKUDS whose MCP server offers 70+ tools for quotes, financials, backtesting and research across A-shares, Hong Kong and US stocks and crypto. Needs local Python; HK, US and crypto research need no API key. For research only; not investment advice.
HKUDS/Vibe-Trading39.4k
Quantitative Trading
PluginQuant trading plugin from the wshobson/agents marketplace: quant analyst and risk manager subagents plus backtesting and risk metrics skills for strategy backtests, portfolio optimization and risk measures like VaR, Sharpe ratio and max drawdown. Needs local Python; not investment advice.
wshobson/agents43.1k
Awesome Finance Skills
SkillFinance skills for US, Hong Kong and China A-share markets: news from 10+ sources, quotes and fundamentals, sentiment analysis, time-series forecasts, signal tracking, impact-chain diagrams and reports. Needs Python; some skills download PyTorch models. Not investment advice.
RKiding/Awesome-finance-skills3.1k
Claude Trading Skills (AGIPro)
Skill68 trading and quant skills focused on crypto and DeFi: market and on-chain data, technical indicators, backtesting, position sizing and risk, prediction markets, and tax tools for cost basis and wash sales. Most need Python and data API keys (often free tiers); get expert review.
agiprolabs/claude-trading-skills611
TradingAgents
CLIMulti-agent investment research framework where fundamental, sentiment, news and technical analysts, bull and bear researchers, a trader and risk managers debate a stock and produce a report and rating. Covers US, Hong Kong and A-shares. Needs Python and an LLM API key; not investment advice.
TauricResearch/TradingAgents124k
OpenBB MCP Server
MCPOfficial OpenBB MCP server exposing the OpenBB Platform's equity, ETF, macroeconomic, crypto and news data to agents; enable only the tool categories you need to save context. Needs uv locally; some data sources need your own API keys. Not investment advice.
OpenBB-finance/OpenBB75.9k