Strata logo

Strata

Persistent, cached notebooks that coding agents build and run through MCP, with browser-based review and optional remote workers.

Install Strata

Run the project’s own setup commands, in order.

Setup steps from the project

strata installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    uv tool install "strata-notebook[mcp,tui]"
    
  2. 2. Start the server
    strata agent ./my-notebook      # terminal 1: server, session and a live viewer
    

Overview

strata MCP server gives coding agents a persistent notebook for writing and running Python, SQL, R, prompt, and widget cells. It exposes the notebook through MCP, while the strata CLI can start sessions, return JSON, and watch execution from a terminal or browser. Cell results are cached from their source, inputs, and environment, so edits rerun only affected downstream work. Reach for strata when exploratory agent work should remain reviewable, reproducible, and available after the session ends.

Use cases

  • Build a persistent analysis notebook with a coding agent
  • Cache exploratory Python snippets between agent sessions
  • Review agent-generated cells live in a browser
  • Rerun only downstream work after editing a cell
  • Send compute-heavy cells to a remote worker

Key features

  • MCP endpoint for agent-driven notebook cells
  • Dependency-aware result caching
  • Browser and terminal execution views
  • Python, SQL, R, prompt, and widget cells
  • Remote SSH workers for individual cells
  • Jupyter notebook import

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

7/7 checks healthy over the last 25d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.

How Strata works

What strata does

strata turns an agent's temporary code exploration into a notebook stored on disk. A notebook contains cell files, a TOML manifest, and the notebook's own Python environment; generated outputs and caches live under .strata/. Agents can add and execute cells through MCP, while people can inspect the same session in a browser or terminal.

The notebook can combine Python, SQL, R, prompt, and widget cells in one dependency graph. Variable references determine dependencies between cells, and a notebook can be imported from an existing .ipynb file. The resulting project is suitable for committing as readable source files while keeping runtime data out of version control.

How it works

Install the package with the MCP and TUI extras, then run strata agent ./my-notebook. That command scaffolds a notebook, starts its server and session, and creates the .mcp.json and CLAUDE.md files used by the agent. An MCP-compatible client can then connect to the notebook endpoint at /mcp.

Each cell is identified by its source, inputs, and execution environment. Completed results are cached using that identity. If a later cell changes, unchanged upstream work can remain cached and only the affected portion of the dependency graph runs again. Cells also record whether a person or an agent wrote them.

The live notebook can be opened at http://localhost:8765. strata watch provides a terminal view of activity, and the browser includes an editor, an interactive data viewer, and a read-only app view. The CLI can also be scripted and returns JSON with stable exit codes.

Setup and configuration

Strata requires uv 0.8 or newer. A basic installation is:

bash
uv tool install "strata-notebook[mcp,tui]"
strata agent ./my-notebook

Run the coding agent from the notebook directory in a separate terminal. For Claude Code, the generated project configuration connects the session to the notebook. A scratchpad mode is also available through the strata-scratchpad Claude Code plugin, allowing an existing session to place temporary Python work in cached cells.

Notebook projects use notebook.toml for cells, ordering, workers, and mounts, plus a project pyproject.toml and uv.lock. The package also supports Docker and source-build installation paths, and can be used through the strata-client library.

Tools and capabilities

  • Add and run notebook cells through an MCP-connected coding agent.
  • Cache cell results and invalidate dependent work after edits.
  • Support Python, SQL, R, prompt, and widget cells in one graph.
  • View execution live in a browser or with strata watch.
  • Send a cell to another machine using a configured SSH worker, including GPU workers.
  • Import Jupyter .ipynb notebooks.
  • Combine SQL, Python, and markdown workflows, with R and Python sharing data over Arrow.
  • Run notebooks headlessly and script the CLI with JSON output and stable exit codes.

Limitations and notes

The prompt-cell API is still changing, including streaming and structured-output validation. DuckDB, SQLite, and PostgreSQL have CI coverage; BigQuery and Snowflake drivers are available without integration coverage. The notebook.toml, .strata/runtime.json, and cache formats may change between minor versions.

The package is licensed under Apache 2.0. The repository describes materialization, artifact storage, the dependency graph, caching, and headless execution as tested foundations.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Strata

strata is an MCP server that connects coding agents to persistent notebooks, letting them add and run Python, SQL, R, prompt, and widget cells. It caches results by source, inputs, and environment, records cell authorship, and exposes live execution through a browser, terminal watcher, or the strata CLI.

Install it with `uv tool install "strata-notebook[mcp,tui]"`, then run `strata agent ./my-notebook`. The setup requires uv 0.8 or newer and creates the notebook session and agent connection files.

Yes, strata supports Claude Code. Run `strata agent ./my-notebook` to scaffold the notebook and create the `.mcp.json` and `CLAUDE.md` files Claude Code needs, or install the strata-scratchpad plugin for an existing session.

Strata identifies a cell from its source, inputs, and environment, then reuses the stored result when those inputs are unchanged. Editing a cell causes affected downstream cells to rerun while unchanged work remains cached.

Yes, a cell can be assigned to a remote worker with an SSH target, including a GPU machine. The worker runs the cell in the notebook's locked environment.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewStrata AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/strata-3?style=directory)](https://allmcps.com/mcp/strata-3)
HTML Embed
<a href="https://allmcps.com/mcp/strata-3"><img src="https://allmcps.com/api/badge/strata-3?style=directory" alt="Strata on AllMCPs" /></a>