Developer Docs
mfd is the open Streamhouse engine. It runs on your machines.
Manifold MCPAdd it to Cursor, Claude, or VS Code →
Code agents: POST JSON-RPC to https://mcp.manifold.soundingworks.uk/mcp. Install, mfd.yml, connectors, sync, query, migrate, WAL, CDC, and debugging are tools, not a second engine. Human map is below.
brew install sounding-works/tap/mfd
mfd --versionSame engine from Python:
pip install mfd
python -c "import mfd; print(mfd.Session)"Then describe a source and a destination, discover the schema, and sync. The engine landing is the narrative; this page is the map of the API.
Install
| You want | Use |
|---|---|
| CLI on a Mac or Linux host | Install mfd — Homebrew or install.sh |
| Cursor, Claude, VS Code | Manifold MCP. https://mcp.manifold.soundingworks.uk/mcp |
| Python / notebooks | Python API — pip install mfd |
| First pipeline in five minutes | Mfd quickstart |
| S3 → Athena | Quickstart: S3 to Athena |
| Snowflake | Quickstart: Snowflake |
| PostgreSQL | Quickstart: PostgreSQL |
| BigQuery | Quickstart: BigQuery |
CLI reference
mfd reads mfd.yml. Every command below is documented with flags, examples, and the matching Python call.
| Command | Use it to |
|---|---|
mfd connect | Add a source or destination to mfd.yml |
mfd discover | Infer schema from the source. Never writes to the destination |
mfd schema | Print columns of Parquet a pipeline already wrote |
mfd metadata | Show or apply a reviewed schema for one namespace |
mfd migrate | Apply migrations/*.sql ALTER batches to metadata, WAL, and the destination |
mfd sync | Ingest through the write-ahead log into the destination |
mfd query | Manifold's SQL engine — strongly consistent live view over committed Iceberg and in-stream WAL rows |
mfd df | Print every row of a pipeline as JSON |
mfd serve | Iceberg REST and Flight SQL for Spark, Trino, PyIceberg |
mfd doctor | Check mfd.yml before a long sync |
mfd sql-help | SQL statements mfd query supports |
mfd benchmark | Synthetic JSON for performance tests |
| CLI overview | Global flags, typical workflow, --version |
Python API
The mfd package is the same engine as the CLI. Config writes mfd.yml. Session runs discover, sync, and query.
from mfd import Config, DataSourceS3, LocalStorage, Pipeline
import mfd
cfg = Config().workspace("quickstart").storage(LocalStorage())
sample = cfg.data_source(
"sample",
DataSourceS3(s3_bucket="mfd-public-sample-data", s3_prefix="bike-hire"),
)
cfg.pipeline("bikehire", Pipeline(data_source=sample))
cfg.save("mfd.yml")
s = mfd.Session(mfd.Config.discover().get_pipeline("bikehire"))
s.discover()
s.sync(once=True)
print(s.query("SELECT count(*) FROM bikehire"))Full reference: Python.
Postgres → Iceberg
The homepage snippet, with the flags mfd connect actually takes:
brew install sounding-works/tap/mfd
mfd connect data-source postgres --pipeline orders --name production
mfd connect data-sink mfd-lake --pipeline orders --name lake \
--warehouse 's3://my-lake/' --catalog-table mfd
mfd discover --pipeline orders
mfd sync --pipeline ordersConfiguration
| Topic | Page |
|---|---|
mfd.yml | mfd.yml |
| Pipelines | Pipelines |
| Sources | Sources |
| Destinations | Destinations |
| Transforms | Transforms |
| WAL and buffering | WAL and buffering |
| Manifold Store | Manifold Store |
Concepts
- How Mfd works
- Stream SQL
- Materialised views
- Schema discovery and evolution
- Exactly-once delivery
- Change data capture
- Datalake
- Deadletters
Architecture
Connectors
Browse the connector catalog. Sources include Postgres, MySQL, SQL Server, MongoDB, DynamoDB, Kafka, S3, Stripe, Salesforce-adjacent SaaS, and ads platforms. Destinations include ManifoldLake, Athena Iceberg, Snowflake, BigQuery, Redshift, Databricks, DuckDB, and Postgres.
Operate
mfd is the product. Optional Enterprise Jumpstart is described on the homepage.
