Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>Meridian StudioNew to Visual Studio Code? Get it now.
Meridian Studio

Meridian Studio

Preview

Léo Grosjean

|
6 installs
| (0) | Free
Unofficial. Google Meridian marketing mix models as code: datasets, models and budget scenarios as YAML, fitted and optimized from your editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Meridian Studio

tests downloads

Marketing mix modeling, right in your editor.

Meridian Studio brings Google Meridian to VS Code and Cursor. You describe your data, your models and your budget scenarios in small YAML files, then fit and optimize them with one click. Every run is tracked in MLflow.

Read the documentation →

A model open in VS Code: the Meridian sidebar, the model's YAML with a Fit button above it, and the fit's results beside it

Unofficial community project. Not affiliated with, endorsed by or sponsored by Google. Meridian and the Meridian logo are trademarks of Google LLC. Google has its own, unrelated product called Meridian Studio.

Why use it

  • Your model is code. Datasets, models and scenarios are plain YAML files: review them in pull requests and keep their history in git.
  • No Python setup. The first run installs everything Meridian needs, without touching your system Python.
  • Help as you type. Autocomplete, inline errors and one-click fixes, based on the columns of your own CSV.
  • Data checked before you fit. Missing weeks, negative spend or a channel that never spends are flagged like linter warnings, before a fit wastes your time.
  • Results next to your YAML. R², MAPE, convergence, ROI per channel, and Meridian's health score for each fit.
  • Every run tracked. Each fit and optimization is logged to MLflow, on your machine or on your tracking server.

Install

  • VS Code: install Meridian Studio from the Marketplace.
  • Cursor: download the .vsix from the Marketplace page, then run cursor --install-extension meridian-studio-<version>.vsix.

Quick start

  1. Add your data. Open the folder that holds your weekly CSV, click the Meridian icon in the activity bar, then New dataset and pick the CSV. Meridian Studio guesses what each column is (dates, KPI, spend per channel…) and writes the dataset's YAML. Complete anything it could not guess: autocomplete suggests your columns.
  2. Fit a model. Click New model on that dataset, then ▶ Fit above the file. The results open beside the editor after a few minutes.
  3. Plan a budget. Click New scenario on that model, set a budget, then ▶ Optimize to see how Meridian would split it across your channels.

The first fit downloads Python and Meridian (about 1 GB, a few minutes, only once). Fits run on your machine, on CPU.

No CSV at hand? Open the examples/ folder: a ready-made project on Meridian's sample data.

How a project looks

Three folders, one kind of file in each:

Folder Each file describes Button
datasets/ a CSV, and what each of its columns means
models/ a dataset, Meridian's model settings and priors ▶ Fit
scenarios/ a fitted model, a budget and limits for each channel ▶ Optimize

A model, for example:

name: sales-v1
dataset: weekly-sales
model_spec:
  max_lag: 8
priors:
  roi_m:                       # what you expect each channel's ROI to be
    dist: LogNormal
    default: { mean: 1.0, sd: 1.0 }
    tv: { mean: 1.5, sd: 0.8 }

And a scenario that asks: with 10% more budget, and each channel within ±30% of its current spend, what is the best split?

name: plus-10
model: sales-v1
budget: +10%
bounds: { lower: 0.3, upper: 0.3 }

A budget scenario: its YAML with an Optimize button above it, and the spend by channel before and after Meridian's optimizer

Learn more

The documentation covers everything in detail:

  • Getting started: install, then a first model on your own CSV
  • Guides: datasets, data checks, models and fits, budget scenarios, runs and tasks, checks in CI
  • Reference: every key of the dataset, model and scenario YAML, every command and setting
  • Roadmap: what Meridian can do that the extension does not use yet

Contributing

Run bun install, then press F5: VS Code opens examples/ with the extension loaded. bun run test runs the tests. How the code is organized, the other test suites, releases and the documentation site are described in Development.

License

Apache License 2.0, see LICENSE and NOTICE. Google Meridian is also Apache 2.0; it is installed when you first run a fit, not bundled with the extension. The icons in media/ reproduce the Meridian logo, a Google trademark, and are not covered by this license.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft