Skip to main content
Glama

marimo-claude

MCP server that bridges Marimo notebooks and Claude — edit, inspect, and visualize notebooks collaboratively.

What it does

  • Starts/stops Marimo as a managed subprocess with MCP enabled

  • Bridges MCP protocols: stdio (for Claude Code/Desktop) ↔ HTTP (Marimo's MCP server)

  • Inspects running notebooks: cells, variables, DataFrames, errors, database schemas

  • Shows notebooks as interactive iframes in Claude Desktop via mcp-ui-server

  • Reads notebook files directly (.py format)

Related MCP server: mcp-server-jupyter

Architecture

Claude Code (stdio) ──→ marimo-claude (MCP Server) ──httpx──→ Marimo (HTTP MCP)
Claude Desktop (stdio) ─┘          │
                                   ├── mcp-ui-server → Notebook as iframe in client
                                   └── Process management (start/stop Marimo)

Installation

Requires Python 3.14+ and uv.

# Clone and install
git clone https://github.com/synapticore-io/marimo-claude.git
cd marimo-claude
uv sync

Claude Code Plugin

claude --plugin-dir /path/to/marimo-claude

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "marimo-claude": {
      "command": "uv",
      "args": ["--directory", "/path/to/marimo-claude", "run", "marimo-claude"]
    }
  }
}

Standalone MCP Server

uv run marimo-claude

MCP Tools

Tool

Description

start_marimo

Start Marimo editor with MCP enabled

stop_marimo

Stop the running Marimo instance

marimo_status

Check if Marimo is running

show_notebook

Display notebook as interactive iframe

list_notebooks

List active notebook sessions

get_cells

Read cell structure and code

get_variables

Inspect variables and DataFrames

get_cell_data

Get runtime data (execution status, outputs)

get_database_schema

Inspect database schemas

get_errors

Error summary across sessions

read_notebook

Read a .py notebook file

list_marimo_tools

Discover available Marimo MCP tools

Usage

  1. Ask Claude to start a notebook: "Start a Marimo notebook"

  2. Claude calls start_marimo → Marimo launches with MCP

  3. Inspect and edit: "Show me the variables in the notebook"

  4. Visualize: "Show the notebook" → iframe in Claude Desktop

License

MIT

Available Tools

12 tools
get_cell_dataA

Get runtime data for all cells — execution status, outputs, errors.

Args: session_id: The session ID from list_notebooks.

Inputs: session_id (required). Returns: result

get_cellsA

Get the cell structure and code of a notebook session.

Args: session_id: The session ID from list_notebooks.

Inputs: session_id (required). Returns: result

get_database_schemaA

Inspect database table schemas accessible from the notebook.

Args: session_id: The session ID from list_notebooks.

Inputs: session_id (required). Returns: result

get_errorsB

Get an error summary across all active notebook sessions.

Inputs: no named parameters. Returns: result

get_variablesA

Get variables, DataFrames, and their types from a running notebook.

Args: session_id: The session ID from list_notebooks.

Inputs: session_id (required). Returns: result

list_marimo_toolsA

List all tools available on the connected Marimo MCP server.

Useful for discovering what Marimo exposes beyond the standard tools.

Inputs: no named parameters. Returns: result

list_notebooksA

List active Marimo notebook sessions with their file paths.

Inputs: no named parameters. Returns: result

marimo_statusA

Check if Marimo is running and the MCP bridge is connected.

Inputs: no named parameters. Returns: result

read_notebookB

Read a Marimo notebook .py file and return its contents.

Args: notebook_path: Path to the .py notebook file.

Inputs: notebook_path (required). Returns: result

show_notebookA

Show the running Marimo notebook as an interactive iframe.

Opens the Marimo editor UI directly in the Claude client. Requires Marimo to be running (call start_marimo first).

Inputs: no named parameters. Returns: result

start_marimoB

Start a Marimo notebook editor with MCP enabled.

Args: notebook_path: Path to a .py notebook file. Creates new if not exists. port: Port for the Marimo web server (default 2718).

Inputs: port, notebook_path. Returns: result

stop_marimoB

Stop the running Marimo notebook editor.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools map to distinct resources: lifecycle (start/stop/status), session listing, and per-session inspection tools (cells, variables, data, schema, errors) are clearly separated. The main overlap is between get_cell_data (which already reports per-cell errors) and get_errors (a cross-session error summary), plus read_notebook vs get_cells for static file vs running session, but the descriptions largely disambiguate these.

    Naming Consistency4/5

    Nearly all tools follow a snake_case verb_noun pattern (read_notebook, list_notebooks, get_cells, get_variables, start_marimo, stop_marimo). The one notable deviation is marimo_status, which inverts the pattern compared to start_marimo/stop_marimo, creating a minor inconsistency in how the Marimo lifecycle tools are named.

    Tool Count5/5

    Twelve tools is well within a healthy range for a server that manages notebook lifecycle, session discovery, and runtime inspection. Each tool covers a distinct aspect and none appear redundant filler.

    Completeness3/5

    The surface covers lifecycle (start/stop/status), session listing, and read-only inspection (cells, variables, outputs, schema, errors), but has no tools to execute or edit cells, create/delete cells, or save notebook changes. For a notebook automation server this is a notable gap, partially mitigated by list_marimo_tools and show_notebook for interactive work.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to interact with Jupyter notebooks via MCP tools for querying, modifying, executing, and setting up notebooks, with state preservation and real-time collaboration.
      4
      46
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients such as Claude to drive the real Google NotebookLM/Gemini Notebook website using a free Google account, including listing and creating notebooks, adding sources, asking questions with citations, and generating Studio content such as audio overviews, slides, mind maps, quizzes, and reports.
      24 npm
      MIT