Generate animated video summaries of well performance data using Remotion and MicroStrategy's Strategy semantic layer (via MCP).
- Query the semantic layer — Data is pulled from a MicroStrategy Strategy Cloud datasource using the Strategy MCP tools (list schemas, list models, SQL queries)
- Structure the data — Query results are shaped into typed TypeScript data modules
- Render with Remotion — React components animate the data into a polished 30-second MP4 video (1920x1080, 30fps)
| Layer | Technology | Purpose |
|---|---|---|
| Data Source | MicroStrategy Strategy Cloud | Semantic layer hosting well performance data |
| Data Access | Strategy MCP (Model Context Protocol) | Query schemas, models, and run SQL against the semantic layer |
| Video Framework | Remotion v4 | React-based programmatic video creation |
| Language | TypeScript + React | Component authoring and type safety |
| Runtime | Node.js | Build and render pipeline |
| Output | H.264 MP4 | Final video codec/format |
The generated video contains 6 animated scenes:
| Scene | Duration | Content |
|---|---|---|
| Title | 5s | Portfolio headline stats (total wells, avg CAPEX, IRR, payout) |
| Basin Overview | 6s | Animated bar chart of EUR Oil by basin + metric cards |
| Capital Tiers | 5s | Tier comparison cards with IRR/CAPEX bars |
| Pipeline Status | 5s | Stacked bar by development stage + detail rows |
| Risk Matrix | 5s | 3x3 geological/execution risk heatmap + insights |
| Summary | 4s | Key takeaways and recommendations |
- Node.js >= 18
- npm >= 9
- Chrome (Remotion downloads a headless shell automatically on first render)
- Access to a MicroStrategy Strategy Cloud environment with MCP tools (for pulling fresh data)
# Clone the repo
git clone https://github.com/tzockoll-creator/Build-a-video-from-your-semantic-layer.git
cd Build-a-video-from-your-semantic-layer
# Install dependencies
npm install
# Preview in Remotion Studio (live editing)
npm run studio
# Render the final video
npm run renderThe rendered video will be output to out/well-performance.mp4.
-
Query your semantic layer using the Strategy MCP tools:
list_schemas— discover available datasourceslist_mosaic_models— find tables within a schemalist_columns— inspect columns and their metadataquery— write's SQL to pull the data you need
-
Update
src/data.tswith your query results -
Modify the scene components in
src/scenes/to match your data structure
src/
├── index.ts # Remotion entry point
├── Root.tsx # Composition registration (resolution, fps, duration)
├── WellPerformanceVideo.tsx # Main composition — sequences all scenes
├── data.ts # Well performance data (from Strategy MCP queries)
└── scenes/
├── TitleScene.tsx # Animated title with headline KPIs
├── BasinOverview.tsx # Basin breakdown with bar charts
├── CapitalTiers.tsx # Capital tier comparison cards
├── PipelineStatus.tsx # Development pipeline stacked bar
├── RiskAndOutlook.tsx # Risk matrix heatmap + insights
└── ClosingScene.tsx # Summary and recommendations
ISC
