MCP server for Metaflow -- expose flow runs, logs, and artifacts as tools for AI coding agents
Project description
Metaflow MCP Server
Give your coding agent superpowers over your Metaflow workflows. Instead of writing throwaway scripts to check run status or dig through logs, just ask -- your agent will figure out the rest.
Works with any Metaflow backend: local, S3, Azure, GCS, or Netflix internal.
Tools
| Tool | Description |
|---|---|
get_config |
What backend am I connected to? |
search_runs |
Find recent runs of any flow |
get_run |
Step-by-step breakdown of a run |
get_task_logs |
Pull stdout/stderr from a task |
list_artifacts |
What did this step produce? |
get_artifact |
Grab an artifact's value |
get_latest_failure |
What broke and why? |
Quickstart
pip install metaflow-mcp-server
claude mcp add --scope user metaflow -- metaflow-mcp-server
That's it. Restart Claude Code and start asking questions about your flows.
If Metaflow lives in a specific venv, point to it:
claude mcp add --scope user metaflow -- /path/to/venv/bin/metaflow-mcp-server
For other MCP clients, the server speaks stdio: metaflow-mcp-server
How it works
Wraps the Metaflow client API. Whatever backend your Metaflow is pointed at, the server uses too -- no separate config needed. Sets namespace(None) at startup so production runs (Argo, Step Functions, Maestro) are visible alongside your dev runs.
Starts once per session, communicates over stdin/stdout. No daemon, no port.
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metaflow_mcp_server-0.1.2.tar.gz.
File metadata
- Download URL: metaflow_mcp_server-0.1.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7023a70c5b2a0a7709d26a5020c6e025270dc30d55346890959a126460956d0
|
|
| MD5 |
d4a90ee92171a528e76b0b4f1136d82c
|
|
| BLAKE2b-256 |
a0df7a72aa7b6fd505871a0e88f8677ea94c30b45d441a4ca37ad2dc6105fec1
|
Provenance
The following attestation bundles were made for metaflow_mcp_server-0.1.2.tar.gz:
Publisher:
publish.yml on npow/metaflow-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metaflow_mcp_server-0.1.2.tar.gz -
Subject digest:
a7023a70c5b2a0a7709d26a5020c6e025270dc30d55346890959a126460956d0 - Sigstore transparency entry: 972856224
- Sigstore integration time:
-
Permalink:
npow/metaflow-mcp-server@12b2dfe27e8eafa9d696c24c8036def864117193 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/npow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@12b2dfe27e8eafa9d696c24c8036def864117193 -
Trigger Event:
release
-
Statement type:
File details
Details for the file metaflow_mcp_server-0.1.2-py3-none-any.whl.
File metadata
- Download URL: metaflow_mcp_server-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e363077a8da9e6c4129760078291d058670eaa3d27edfdd556ba02d27e275c1c
|
|
| MD5 |
8a9d194284a03e76d6bac0ea2f5c5446
|
|
| BLAKE2b-256 |
8edb24c00bee3ea4d75cf43c8f60997d40d92e01a0682ef6f03741fcaa92404c
|
Provenance
The following attestation bundles were made for metaflow_mcp_server-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on npow/metaflow-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metaflow_mcp_server-0.1.2-py3-none-any.whl -
Subject digest:
e363077a8da9e6c4129760078291d058670eaa3d27edfdd556ba02d27e275c1c - Sigstore transparency entry: 972856234
- Sigstore integration time:
-
Permalink:
npow/metaflow-mcp-server@12b2dfe27e8eafa9d696c24c8036def864117193 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/npow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@12b2dfe27e8eafa9d696c24c8036def864117193 -
Trigger Event:
release
-
Statement type: