
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 分