# Apache Hamilton

> Portable and expressive data transformation DAGs in plain Python

Source: https://talira.ai/catalog/apache-hamilton-xzzweq36
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool, Web app, MCP server
- Categories: [data / orchestration](https://talira.ai/categories/data/orchestration), [data / transformation](https://talira.ai/categories/data/transformation)
- Licence: Apache-2.0[^1]
- Pricing: Free[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Plugins: yes[^4]
- MCP server: yes[^5]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^5]
- Backed by: [Apache Software Foundation](https://talira.ai/orgs/apache-software-foundation.md)
- Funding: non-profit[^6]

Apache Hamilton is a lightweight Python library for directed acyclic graphs (DAGs) of data transformations. You write ordinary Python functions whose parameter names refer to other functions, and Hamilton builds the DAG from them, so the code is modular, testable and can always be visualized. A DAG runs anywhere Python runs: a script, a notebook, an [Apache Airflow](https://talira.ai/catalog/apache-airflow-57a09j1g.md) task or a [FastAPI](https://talira.ai/catalog/fastapi-1tmn6e7v.md) server, and it can scale out on Ray, [Dask](https://talira.ai/catalog/dask-0gy6q6m7.md) or [Spark](https://talira.ai/catalog/apache-spark-ef2j811n.md). It has data validation, caching, materialization and lineage, and the optional Hamilton UI catalogs, visualizes and monitors runs, locally or deployed with Docker. It also ships an MCP server that lets coding agents scaffold, validate and run DAGs. Hamilton is undergoing incubation at the Apache Software Foundation; its sister library Burr handles loops and conditional logic for agents.

## Links

- Website: https://hamilton.apache.org/
- GitHub: https://github.com/apache/hamilton
- Docs: https://hamilton.apache.org/

## Problems it solves

- my pandas feature engineering code has grown into one huge script nobody can test or follow
- reuse the same data transformation code in a notebook, a batch job and a web service
- see which function produced each column and how my pipeline's steps depend on each other
- structure ETL and ML pipeline code so it's modular and unit-testable
- track lineage and catch data quality problems in a Python dataflow

## Features

- DAGs built from plain Python functions and their parameter names
- runs in scripts, notebooks, Airflow, FastAPI and more
- visualization of the DAG (with Graphviz)
- data validation, caching and materialization
- scale out on Ray, Dask or Spark
- Hamilton UI to catalog, visualize and monitor runs
- MCP server for coding agents
- VS Code language server and extension
- Jupyter notebook magic commands

## Capabilities

- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.76 out of 1.
Signals: maintenance 1.00, adoption 0.68, momentum 0.54, community 0.82, backing 0.55, extensibility 0.60.

- last commit 7 days ago
- 92 commits in the last 90 days
- latest release apache-hamilton-v1.90.0-incubating-RC0 7 months ago
- 2.6k GitHub stars
- 110 contributors
- backed by Apache Software Foundation
- funding: non-profit
- has a plugin system
- has an MCP server for agents

## Sources

[^1]: https://github.com/apache/hamilton/blob/main/LICENSE (checked 24 Nov 2026)
[^2]: https://hamilton.apache.org/concepts/ui/ (checked 24 Nov 2026)
[^3]: https://github.com/apache/hamilton#readme (checked 24 Nov 2026)
[^4]: https://hamilton.apache.org/ecosystem/ (checked 24 Nov 2026)
[^5]: https://hamilton.apache.org/ecosystem/mcp-server/ (checked 24 Nov 2026)
[^6]: https://www.apache.org/foundation/ (checked 20 Nov 2026)
