API & MCP

Everything a person can do on Data Lineage Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Data Lineage Explorer

Paste SQL (CREATE VIEW/TABLE AS SELECT, INSERT … SELECT, MERGE, UPDATE, CTEs, JOINs, UNION) or dbt models with {{ ref() }} and {{ source() }}. A built-in tokenizer and parser derives table-level lineage and column-level lineage for direct references and aliases, marks expressions as derived or aggregated, and traces everything upstream and downstream of a chosen table or column.

Inputs of Data Lineage Explorer
FieldTypeDefaultDescription
sqltextarea—SQL / dbt models. Separate statements with ";". Mark dbt models with a line "-- model: name" (or "-- file: models/name.sql"); the model’s SELECT becomes that table.
filefile—Or upload a .sql file
focustext—Focus table or column. table or table.column. Defaults to the last target in the input.
directionselect (both, upstream, downstream)"both"Trace

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "data-lineage-explorer": { "type": "http", "url": "https://datalineageexplorer.usefulweb.site/mcp" }
  }
}