explore_dag
Get comprehensive DAG info: metadata, tasks, recent runs, source code
How to use it
explore_dag is exposed by the Astro Airflow MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the explore_dag tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Astro Airflow MCP
claude mcp add airflow -- uvx astro-airflow-mcp --transport stdioOther tools in Astro Airflow MCP (30)
Morning health check routine
Debug a DAG run: run details, failed task instances, logs
Get Airflow configuration
Get Airflow version information
Get detailed info about a specific DAG
Get specific DAG run details
Get the source code of a DAG
Get DAG run statistics (Airflow 3.x only)
Get details about a specific pool
System overview: health status, import errors, warnings, DAG stats
Get details about a specific task
Get task instance execution details
Get logs for a specific task instance execution
Get a specific variable by key
Get assets/datasets (unified naming across versions)
Get all connections (credentials excluded for security)
Get DAG run history
Get DAG import warnings
Get all DAGs and their metadata
Get import errors from DAG files that failed to parse
Get installed Airflow plugins
Get all resource pools
Get installed provider packages
Get all tasks in a DAG
Get all Airflow variables
Guide for understanding a new DAG
Pause a DAG to prevent new scheduled runs
Trigger a new DAG run (start a workflow execution)
Guided workflow for diagnosing DAG failures
Unpause a DAG to resume scheduled runs