by koreal6803
Official FinLab skill: backtest Taiwan and U.S. stocks with Claude Code or Codex on real market data.
# Add to your Claude Code skills
git clone https://github.com/koreal6803/finlab-aiGuides for using mcp servers skills like finlab-ai.
finlab-ai is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by koreal6803. Official FinLab skill: backtest Taiwan and U.S. stocks with Claude Code or Codex on real market data. It has 427 GitHub stars.
finlab-ai's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/koreal6803/finlab-ai" and add it to your Claude Code skills directory (see the Installation section above).
finlab-ai is primarily written in Python. It is open-source under koreal6803 on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh finlab-ai against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
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 回測引擎驗證策略。
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.
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.
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.
| 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 |