Map the complete flow from UI screens to API endpoints to database tables in the web app. Export structured markdown for docs, design reviews, and AI-assisted implementation.
How it works
Map in the web app, export the result, and use AI tools to turn that context into implementation work.
01
Create a project, map your screens, endpoints, and tables, and keep the whole system visible in one place.
02
Run /lineage in Claude Code or ask Cursor to map the project. The AI skill reads your codebase and fills in tables, endpoints, and screens with minimal manual entry.
03
Review the mapped tables, endpoints, and screens in one place, then explore the interactive graph and markdown export.
AI Integrations
Lineage gives AI tools a clean, structured view of your application. Map visually, export markdown, and use that output as implementation context.
Use Claude to turn exported lineage docs into migrations, endpoint plans, or implementation checklists grounded in your actual data flow.
Use Cursor with exported lineage context to trace data dependencies before changing screens, APIs, or schema.
Features
Pan, zoom, and click through an interactive graph of your entire data flow. See how every screen connects to every table at a glance.
Paste your CREATE TABLE and CREATE VIEW statements. Lineage parses columns, types, constraints, and foreign keys automatically.
Generate structured documentation — data dictionaries, API contracts, screen mappings, and full lineage trees. Copy or download as .md files.
Export structured markdown that AI tools can use for safer migrations, feature planning, and implementation support.
AI-Ready Export
Export your full data flow as structured markdown. Paste it into any AI tool to generate migrations, API routes, TypeScript types, validation schemas, and more.
# Data Dictionary
## users — table
│ id uuid · pk · not null
│ email varchar(255) · not null
│ name text
│ created_at timestamptz · not null
# API Contracts
## GET /api/users/:id
│ id uuid ← users.id
│ email string ← users.email
│ name string ← users.name
# Lineage Tree
Screen: User Profile
├── UserName (string)
│ └── GET /api/users/:id
│ └── users.nameThe Workflow
Design your data flow visually. Export it. Let AI do the heavy lifting.