Skip to main content

MCP server for Metaflow -- expose flow runs, logs, and artifacts as tools for AI coding agents

Project description

Metaflow MCP Server

CI PyPI Python License MCP Docs

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.

demo

Tools

Tool Description
get_config What backend am I connected to? (also returns your default namespace)
list_flows What flows exist in a namespace?
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?
search_artifacts Which runs produced a named artifact?

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.

To upgrade:

pip install --upgrade metaflow-mcp-server

Then restart Claude Code (or reconnect via /mcp) to pick up the new version.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metaflow_mcp_server-0.2.2.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metaflow_mcp_server-0.2.2-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file metaflow_mcp_server-0.2.2.tar.gz.

File metadata

  • Download URL: metaflow_mcp_server-0.2.2.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for metaflow_mcp_server-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ba0b71050d52e243f7016a193942be7a3c885317504279f7c9601eb8812ca259
MD5 5355ee8de79058b8b5bae4676c946d68
BLAKE2b-256 32989c66c4afb47409f539a68f997e3e812276983f8326ce05d3d18f6bd5c9a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for metaflow_mcp_server-0.2.2.tar.gz:

Publisher: publish.yml on npow/metaflow-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metaflow_mcp_server-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for metaflow_mcp_server-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd0c1db35ca8e9f34f58e17d9db8fd2fcc88235ba955b1c7d4d4be6ef160a483
MD5 d32a6e7cde4df9409c37d208b3c52018
BLAKE2b-256 3dd6e46b70d59b358956faa37f0bbae26bd103f89e1a7c426d7e1f50d47b89f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for metaflow_mcp_server-0.2.2-py3-none-any.whl:

Publisher: publish.yml on npow/metaflow-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page