
GoldenFlow
io.github.benseverndev-oss由 GitHub 帳號 benseverndev-oss 發布v2.2.0更新於 Oct 24, 2026
Standardize, reshape, and normalize messy data — CSV, Excel, Parquet, S3, databases.
概覽
GoldenFlow 是一套資料轉換工具,讓助理清理、標準化並重塑雜亂的 CSV、Excel、Parquet、雲端儲存或資料庫資料。
- 可以做什麼
- 以零設定自動辨識或已儲存的 YAML 設定轉換檔案,並產生記錄每項變更的稽核清單(R25、R33、R34)。分析欄位概況、從資料樣式產生設定、比對轉換前後檔案,並在不同來源之間自動對應欄位結構(R36、R57、R58)。套用醫療、人事、金融、電商和房地產等產業預設包(R62、R63)。透過內建轉換庫將電話、日期、姓名、地址、電子郵件、分類和數值標準化(R70、R71)。讀寫 S3 與 GCS 路徑、以分塊串流處理大型檔案,並監看目錄或依排程重複執行轉換(R41、R43、R46、R49)。
- 適用情境
- 當輸入資料不一致——日期格式混雜、電話號碼樣式繁多、欄位名稱不符或分類值雜亂——而你需要可重複、可稽核的清理,再進行分析、比對或寫入資料管線時適用(R10、R17、R20)。
- 執行需求
- 可作為託管的遠端端點執行,也可作為本機程序執行;本機伺服器需從 PyPI 安裝含 mcp 附加項的套件,並以 mcp-serve 指令啟動(R195、R196)。雲端連接器需要對應 S3 或 GCS 儲存桶的存取權限(R43)。LLM 增強模式需要 OPENAI_API_KEY 或 ANTHROPIC_API_KEY 環境變數(R166)。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 GoldenFlow,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.benseverndev-oss%2Fgoldenflow/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"goldenflow": {
"type": "http",
"url": "https://goldenflow-mcp-production.up.railway.app/mcp/"
}
}
}README
Moved. This repo has moved into the
benzsevern/goldenmatchmonorepo atpackages/python/goldenflow (and packages/typescript/goldenflow)/. This repo is archived; new development happens in the monorepo.
GoldenFlow
Data transformation toolkit — standardize, reshape, and normalize messy data before it hits your pipeline. Built by Ben Severn.
Works on files (CSV, Excel, Parquet), cloud storage (S3, GCS), or live databases. Zero-config mode auto-detects what needs fixing. One command to clean what GoldenCheck found and prep what GoldenMatch needs. Available in Python and TypeScript with full feature parity.
[PyPI] [npm] [CI] [codecov] [Downloads] [Python 3.11+] [Node 20+] [License: MIT] [Docs] [DQBench] [Open In Colab]
The Problem
Your data arrives broken in predictable ways:
- Phone numbers come in 15 different formats
- Dates are mixed between MM/DD/YYYY and YYYY-MM-DD
- Addresses have inconsistent abbreviations
- Column names don't match between systems ("fname" vs "first_name" vs "given_name")
- Values have leading whitespace, unicode garbage, smart quotes
- Categoricals are inconsistent ("USA", "US", "United States")
Every data engineer writes throwaway scripts to fix these. Every script is slightly different. None of them are reusable.
GoldenFlow makes the transforms reusable, composable, and automatic.
Quick Start
Python
TypeScript / Node.js
Programmatic (TypeScript)
Zero-Config Mode
GoldenFlow profiles every column and applies safe transforms automatically:
- Strips whitespace and normalizes unicode
- Standardizes phone numbers to E.164 format
- Normalizes email casing
- Parses and standardizes date formats to ISO 8601
- Normalizes zip codes (zero-padding, strip +4)
- Replaces smart/curly quotes with straight quotes
- Auto-corrects categorical misspellings via fuzzy matching
Output: a clean CSV with a sidecar manifest showing every transform applied.
The manifest is an audit trail — what changed, why, and which rows were affected.
CLI Commands
GoldenFlow has 14 commands. The most common ones:
Default Routing
Running goldenflow <file> without a subcommand auto-routes to transform:
Streaming
For files too large to load into memory, use StreamProcessor or the stream command:
Cloud Connectors
GoldenFlow reads from and writes to S3 and Google Cloud Storage transparently:
Cloud paths are detected automatically — no extra flags needed.
Watch Mode
Auto-transform files as they arrive in a directory:
GoldenFlow polls the directory and applies transforms to any new or changed files.
Scheduling
Run transforms on a repeating schedule:
Supported intervals: 30s, 5m, 1h, 2h, etc.
Setup Wizard
Generate a YAML config interactively:
The wizard profiles your data, suggests transforms, and saves a goldenflow.yaml ready to use.
History
GoldenFlow tracks every transform run in ~/.goldenflow/history/:
Each run record captures: source file, row count, transforms applied, errors, and duration.
Schema Mapping
When you need to merge data from different systems:
GoldenFlow auto-maps columns between schemas using name similarity and data profiling:
Ambiguous mappings get flagged for human review. Confident mappings apply automatically.
Domain Packs
Pre-configured transform sets for common industries. All 5 are now implemented:
Transform Library (76 transforms)
Text Transforms (18)
Phone Transforms (5)
Name Transforms (8)
Address Transforms (8)
Date Transforms (13)
Categorical Transforms (6)
Numeric Transforms (9)
Email Transforms (4)
Identifier Transforms (3)
URL Transforms (2)
Special Modes
Strict Mode
Fail immediately if any transform error occurs — useful in CI or production pipelines:
Exits with code 1 and prints the first 5 errors if any transform fails.
LLM Mode
Use an LLM to enhance categorical corrections and handle edge cases that fuzzy matching misses:
Requires OPENAI_API_KEY or ANTHROPIC_API_KEY in your environment. Falls back to standard transforms gracefully.
Auto-Correct
category_auto_correct uses fuzzy matching to fix misspelled categorical values automatically. It is suppressed on high-cardinality columns (>10% unique values) to avoid false positives.
YAML Config
For repeatable pipelines:
Generate a config from your data automatically:
Python API
Jupyter Notebook Support
TransformResult, Manifest, and DatasetProfile all have _repr_html_() — they render as rich HTML tables automatically in Jupyter:
TypeScript / JavaScript
GoldenFlow has a full TypeScript port with feature parity — same 83 transforms, same engine, same config format. The core is edge-safe (runs in browsers, Cloudflare Workers, Vercel Edge) with a Node layer for file I/O and CLI.
Install
CLI
TypeScript API
MCP Server (TypeScript)
REST API (TypeScript)
Public API (34 exports)
Integrations
REST API
POST CSV data, get transformed CSV back. Built with FastAPI.
MCP Server
Exposes GoldenFlow as an MCP tool for Claude Desktop. Configure in your Claude Desktop settings.
TUI
Full-featured terminal UI built with Textual. Browse profiles, apply transforms, preview results.
Remote MCP Server
GoldenFlow is available as a hosted MCP server on Smithery — connect from any MCP client without installing anything.
Claude Desktop / Claude Code:
Local server:
10 tools available: transform files, auto-map schemas, profile columns, generate configs, diff before/after, apply domain packs.
Part of the Golden Suite
Chain them:
Performance
Built on Polars (Rust-backed DataFrames). Transforms use a hybrid approach: native Polars expressions stay in the Rust engine for simple transforms (strip, lowercase), while complex transforms (phone parsing, date parsing) use optimized Python via map_batches.
Benchmarks
GoldenFlow scores 100/100 on the DQBench transform benchmark across all three tiers (customer database, e-commerce, healthcare claims).
Why GoldenFlow?
GoldenFlow is purpose-built for the transform step between validation and matching — not a general ETL tool. It turns messy data into clean, standardized data automatically.
Error Handling
GoldenFlow catches errors at the CLI boundary and shows friendly, actionable messages — no raw stack traces. Individual transform errors are captured in the manifest rather than crashing the run. Use --strict to change this behavior.
Progress Bars
Long-running operations (streaming, watch mode, scheduling) display a Rich progress spinner showing batch count, rows processed, and estimated completion.
GitHub: github.com/benzsevern/goldenflow Author: Ben Severn License: MIT Python: 3.11+ | Node.js: 20+ | npm: goldenflow | PyPI: goldenflow
來源:README.md,提交 7ce97e8
工具
0版本歷史
1- v2.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分