Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Jupyter ai agents

MCP server by datalayer Verified · gh:datalayer

Jupyter AI Agents adds an AI chat panel to JupyterLab that can work with notebooks, execute code and manage files through the Jupyter MCP Server. It is aimed at people who use Jupyter notebooks and want an AI assistant inside them.

  • Score 80
  • 163 stars
  • BSD-3-Clause
  • Updated

Install Jupyter ai agents

Built from the published package, never by AI.

claude mcp add jupyter-ai-agents -- npx -y @datalayer/jupyter-ai-agents

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Jupyter ai agents in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the jupyter-ai-agents block.

About

Jupyter AI Agents is an AI chat interface and CLI for JupyterLab, published by Datalayer. The chat panel is built with Pydantic AI and Vercel AI Elements. By default, the Jupyter MCP Server runs as a Jupyter server extension, so the agent can interact with notebooks, execute code, manage files and perform other Jupyter operations. The agent can add code cells, insert markdown cells, execute code and modify a whole notebook based on user instructions or notebook events.

Changes appear in real time through Jupyter Real Time Collaboration. The agent can also run separately from the Jupyter server, using the Jupyter NbModel Client and Jupyter Kernel Client. The CLI offers prompt, explain-error and REPL commands. It suits users who want an AI assistant working directly inside their JupyterLab notebooks.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Notebook interactionLets the agent add code cells, insert markdown cells and modify notebooks.
  • Code executionLets the agent execute code in notebook cells.
  • File managementLets the agent manage files and other Jupyter operations through the Jupyter MCP Server.
  • Prompt agent (CLI)Creates and executes code in a notebook from a user instruction.
  • Explain error agent (CLI)Analyzes and fixes errors in notebook cells.
  • REPL mode (CLI)Interactive session with direct access to Jupyter MCP tools.
  • Package installationREPL mode can install Python packages.

What you need

  • Python with pip
  • JupyterLab 4.4.1 with the jupyter-collaboration 4.0.2 extension
  • An Anthropic API key for the chat interface
  • API key for another supported model provider, if used in the CLI

Try asking

  • Create a matplotlib example in my open notebook.
  • Execute the cell and show me the first 5 rows of the data.
  • Explain the error in cell 5 and fix it.

Good to know

  • The chat interface currently supports Anthropic Claude Sonnet 4.0 only.
  • Extended access to tools from other MCP servers is planned, not yet available.
  • A specific pycrdt version is required to work around library limitations.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Jupyter ai agents

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Jupyter ai agents: common questions

Which AI model does the chat support?

The source says the chat currently supports Anthropic Claude Sonnet 4.0. The CLI supports several providers, including OpenAI, Google, Groq and Mistral.

Does it need JupyterLab Collaboration?

Yes. The source says changes are seen in real time through Jupyter Real Time Collaboration, and it asks users to install JupyterLab with the Collaboration extension.

Can the agent run outside the Jupyter server?

The source says the agent can run separately from the Jupyter server. Communication then uses RTC through the Jupyter NbModel Client and Jupyter Kernel Client.

How do I install Jupyter ai agents?

In Claude Code run claude mcp add jupyter-ai-agents -- npx -y @datalayer/jupyter-ai-agents. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Jupyter ai agents the official server?

Jupyter ai agents is published by gh:datalayer from its verified domain in the official MCP Registry.

Is Jupyter ai agents free?

The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.

Is Jupyter ai agents safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Jupyter ai agents?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Jupyter ai agents work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Jupyter ai agents Install

Add to stack

Loading.