marimo-claude
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@marimo-claude Start a Marimo notebook and show me its variables"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 syncClaude Code Plugin
claude --plugin-dir /path/to/marimo-claudeClaude 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-claudeMCP Tools
Tool | Description |
| Start Marimo editor with MCP enabled |
| Stop the running Marimo instance |
| Check if Marimo is running |
| Display notebook as interactive iframe |
| List active notebook sessions |
| Read cell structure and code |
| Inspect variables and DataFrames |
| Get runtime data (execution status, outputs) |
| Inspect database schemas |
| Error summary across sessions |
| Read a .py notebook file |
| Discover available Marimo MCP tools |
Usage
Ask Claude to start a notebook: "Start a Marimo notebook"
Claude calls
start_marimo→ Marimo launches with MCPInspect and edit: "Show me the variables in the notebook"
Visualize: "Show the notebook" → iframe in Claude Desktop
License
MIT
Available Tools
12 toolsget_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
Scored across 12 tools
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.
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.
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.
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
Related MCP Connectors
Search, read, create and edit your Memol notes from Claude. Team note-taking with AI search.
AI access to Quadratic spreadsheets: open files, run Python/SQL, query connected databases.
Read, edit, publish, and preview your pepita websites from Claude.
The all-in-one data stack for agents. Upload files, run SQL, evolve tables, and render charts.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables 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.446Apache 2.0
- AlicenseAqualityDmaintenanceEnables programmatic interaction with Jupyter notebooks, allowing reading, editing, and executing cells via Claude.621 PyPI34MIT
- AlicenseAqualityDmaintenanceEnables AI agents to create, read, edit, and execute Jupyter notebook cells, manage kernels, and connect to remote Jupyter servers.21MIT
- AlicenseNot gradedqualityCmaintenanceEnables 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 npmMIT