koreal6803 avatar

Finlab Ai

koreal6803/finlab-ai

This quantitative trading toolkit gives Claude direct access to 900+ financial data columns across 80+ tables, a backtesting engine via the sim() API, and 60+ ready to use strategy examples. You can ask Claude to explore factor data, backtest trading ideas with custom resampling and metrics, or adapt ML reference patterns for feature engineering. The included documentation covers everything from data schema to anti-patterns, so Claude can help you prototype strategies without constantly context switching to docs. Reach for this when you want to iterate on quant ideas conversationally rather than writing boilerplate backtest code from scratch.

GitHub stars
425
tools
6
transport
HTTP
last updated
Aug 14, 2026

Install

From registry metadata
$ npx add-mcp https://mcp.finlab.finance/mcp --name finlab-ai

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http finlab-ai https://mcp.finlab.finance/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 6 tools

Verified live against the running server on Nov 6, 2026.

list_strategies列出 FinLab 公開策略庫中的台股量化策略,含每一檔策略的真實回測績效摘要(CAGR、Sharpe、最大回撤)與基準比較。想看完整策略內容與 Python 程式碼時,請接著呼叫 get_strategy。

列出 FinLab 公開策略庫中的台股量化策略,含每一檔策略的真實回測績效摘要(CAGR、Sharpe、最大回撤)與基準比較。想看完整策略內容與 Python 程式碼時,請接著呼叫 get_strategy。

No parameters. Call it with no arguments.

get_strategy取得 FinLab 策略庫中單一策略的完整快照:策略說明、真實回測績效與基準比較、以及可直接執行的 finlab Python 程式碼。slug 可先用 list_strategies 查詢。1 params

取得 FinLab 策略庫中單一策略的完整快照:策略說明、真實回測績效與基準比較、以及可直接執行的 finlab Python 程式碼。slug 可先用 list_strategies 查詢。

Parameters* required
slug*string
策略代號(slug),例如由 list_strategies 取得
get_stock_evidence查詢台股個股的每日更新數據實證:基本面體質定位(獲利、估值、籌碼因子百分位)、目前正在觸發的量化訊號與其歷史前瞻報酬統計、估值位階等。例如 symbol="2330" 查台積電。資料來自 FinLab 每日以 finlab 套件計算的真實數據。2 params

查詢台股個股的每日更新數據實證:基本面體質定位(獲利、估值、籌碼因子百分位)、目前正在觸發的量化訊號與其歷史前瞻報酬統計、估值位階等。例如 symbol="2330" 查台積電。資料來自 FinLab 每日以 finlab 套件計算的真實數據。

Parameters* required
marketstring
市場,預設 "tw" 台股;"us" 為美股(覆蓋率較低)。one of tw · us
symbol*string
台股股票代號字串,例如 "2330"(台積電)、"0050"、"00631L"。保留前導零,不要轉成數字。
get_data_catalog取得 FinLab 量化資料庫的目錄摘要:涵蓋台股與美股的分類數、欄位數、資料列數、年份範圍,以及代表性資料集(股價、月營收、財務指標等)。適合回答「FinLab 有哪些資料」。

取得 FinLab 量化資料庫的目錄摘要:涵蓋台股與美股的分類數、欄位數、資料列數、年份範圍,以及代表性資料集(股價、月營收、財務指標等)。適合回答「FinLab 有哪些資料」。

No parameters. Call it with no arguments.

get_finlab_docs取得 FinLab Skill 的開發文件(與 GitHub koreal6803/finlab-ai main 分支同步,skill 更新後自動生效):不帶參數回傳 SKILL.md 主文件與參考文件清單;帶 doc 參數回傳指定參考文件全文。涵蓋 900+ 資料欄位、sim() 回測 API、60+ 策略範例、因子分析與機器學習等,撰寫 finlab Python 程式前建議先查閱。1 params

取得 FinLab Skill 的開發文件(與 GitHub koreal6803/finlab-ai main 分支同步,skill 更新後自動生效):不帶參數回傳 SKILL.md 主文件與參考文件清單;帶 doc 參數回傳指定參考文件全文。涵蓋 900+ 資料欄位、sim() 回測 API、60+ 策略範例、因子分析與機器學習等,撰寫 finlab Python 程式前建議先查閱。

Parameters* required
docstring
參考文件檔名,例如 "dataframe-reference.md"。省略時回傳 SKILL.md 與文件清單。
how_to_start取得 FinLab 快速上手指南:如何用 AI 輔助流程(Claude cowork / Codex)在自己電腦安裝 FinLab 並跑第一個台股策略真實回測,以及免費線上體驗入口。適合回答「怎麼開始用 FinLab」「怎麼回測台股」。

取得 FinLab 快速上手指南:如何用 AI 輔助流程(Claude cowork / Codex)在自己電腦安裝 FinLab 並跑第一個台股策略真實回測,以及免費線上體驗入口。適合回答「怎麼開始用 FinLab」「怎麼回測台股」。

No parameters. Call it with no arguments.

Sponsors

Readme

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 回測引擎驗證策略。


Demo

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:

ToolCommand
Claude Code/plugin install finlab-plugin --marketplace koreal6803/finlab-ai
Codexcodex plugin marketplace add koreal6803/finlab-ai, then codex plugin add finlab-plugin@finlab-ai
CursorCustomize > From GitHub Repository > koreal6803/finlab-ai

View the full README on GitHub

Details

Repository
github.com/koreal6803/finlab-ai
Website
finlab.finance
Categories
Data & Analytics, Finance & Commerce
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 6, 2026

Related Data & Analytics MCP servers

View all
1blockrunai avatarBlockrun Mcpblockrunai/blockrun-mcpWeb search, deep research, prediction markets & crypto data for AI agents. Pay per call via x402.390stars
2ryaker avatarModular Outlookryaker/outlook-mcpProvides OAuth-authenticated access to Outlook data via MCP enabling email and calendar actions.372stars
3imnmv avatarClaudeR - RStudio MCP Serverimnmv/clauderConnect RStudio to AI assistants for interactive R coding and data analysis.365stars
4massive-com avatarMassive.commassive-com/mcp_massiveProvides access to Massive.com data via an MCP server with four composable tools and in-memory DataFrame storage for SQL queries and analytics.332stars
5gomarble-ai avatarFacebook Adsgomarble-ai/facebook-ads-mcp-serverProvides an interface to Meta Ads, enabling programmatic access to data, campaigns, and insights via an MCP client.324stars
6joshuarileydev avatarApp Store Connectjoshuarileydev/app-store-connect-mcp-serverProvides direct MCP access to App Store Connect data and actions through authenticated commands and tools.322stars