Skip to main content

Integrations

marimo integrates seamlessly with popular development tools, frameworks, and the broader Python ecosystem. This guide covers editor integrations, framework connections, and third-party tool support.

VS Code Extension

marimo provides an official VS Code extension for editing and running notebooks directly in VS Code.

Installation

Features

  • Native notebook editing: Edit .py marimo notebooks as notebooks in VS Code
  • Cell execution: Run cells individually or all at once
  • Interactive outputs: View plots, tables, and UI elements inline
  • IntelliSense: Full Python language support with completions and hover info
  • Debugging: Use VS Code’s debugger with marimo notebooks
  • Git integration: Built-in diff and merge tools for notebook files

Usage

Configuration

Configure the extension in VS Code settings:
The VS Code extension runs a marimo server in the background. All editing happens in the browser-based marimo interface embedded in VS Code.

File Watching Mode

Edit marimo notebooks in any text editor (Neovim, Zed, Emacs, etc.) with automatic reloading:
This enables:
  • Using your preferred editor/IDE
  • Vim keybindings, custom themes, plugins
  • Local development without browser-based editing

Framework Integrations

marimo notebooks can be integrated with popular Python web frameworks.

FastAPI Integration

Embed marimo notebooks as interactive endpoints in FastAPI applications:

FastAPI with Authentication

From examples/frameworks/fastapi/main.py:

Flask Integration

Starlette Integration

Third-Party Library Integrations

marimo works with a wide ecosystem of Python libraries. Here are some highlighted integrations:

Data Visualization

Data Processing

Machine Learning

Geospatial

Database Connections

Model Context Protocol (MCP)

marimo supports the Model Context Protocol for AI-powered development workflows.

What is MCP?

MCP is a standard protocol for connecting AI models with development tools and data sources. It enables:
  • AI assistants to read and modify marimo notebooks
  • Context-aware code generation
  • Integration with Claude, GPT-4, and other LLMs
  • Tool-augmented AI interactions

Using MCP with marimo

Installing MCP Servers

marimo can connect to MCP servers for enhanced functionality:

Custom MCP Tools

Create custom MCP tools for your workflows:
MCP support is evolving. Check marimo’s documentation for the latest features.

Cloud Platforms

Deploying to Cloud

marimo notebooks can be deployed to various cloud platforms:

marimo Cloud

Deploy notebooks with one command:

Development Tools

Git Integration

marimo notebooks are pure Python files with excellent git support:

Pre-commit Hooks

CI/CD Pipelines

IDE Plugins

Beyond VS Code, marimo works with:
  • PyCharm: Edit as Python files with full IDE support
  • Jupyter Lab: Convert between formats with marimo export ipynb
  • Cursor: AI-powered editing with marimo notebooks
  • Zed: Fast, native editor with watch mode

Example Integration Workflows

Data Pipeline with FastAPI

ML Monitoring Dashboard