A previous release had provenance metadata, but this release does not. View details.
This release is a pre-release and may not be stable for production use.
nteract/nteract
What's going on?
If you're here looking for the Electron-based nteract desktop app, you can view the source in this repo. That desktop app is not actively maintained.
We're actively developing the spritual successor to the nteract desktop app in the nteract/desktop repo.
The New Desktop App
We're actively developing the spritual successor to the nteract desktop app in the nteract/desktop repo.
The new app is a native desktop app with instant startup and intelligent environment management.
Bringing Agents in the Loop
We're in the prelimiary stages of hooking up the realtime system from nteract/desktop to any agent of your choice. Collaborate with agents in notebooks, render interactive elements, and explore data together.
Quick Start
Claude Code
# Stable desktop 1.4.x / stable MCP
claude mcp add nteract -- uvx nteract
For desktop nightly / the upcoming 2.x transition, use the prerelease MCP package and nightly socket:
claude mcp add nteract-nightly -- env RUNTIMED_SOCKET_PATH="$HOME/Library/Caches/runt-nightly/runtimed.sock" uvx --prerelease allow nteract
That's it. Now Claude can execute Python code, create visualizations, and work with your data.
What is this?
nteract is an MCP (Model Context Protocol) server that connects AI assistants like Claude to Jupyter notebooks. It enables:
- Code execution: Run Python in a persistent kernel
- Real-time collaboration: Watch the AI work in the nteract desktop app
- Shared state: Multiple agents can work on the same notebook
- Environment management: Automatic Python environment setup
Example
Ask Claude:
"Help me visualize my log data"
Claude will:
- Connect to a notebook session
- Write and execute code
- Generate visualizations
- Show you the results
You can open the same notebook in the nteract desktop app to see changes in real-time and collaborate with the AI.
Installation
Stable line for desktop 1.4.x:
uvx nteract
Prerelease line for desktop nightly / 2.x transition:
uvx --prerelease allow nteract
Claude Code Setup
Add stable nteract as an MCP server:
claude mcp add nteract -- uvx nteract
Or manually add to your Claude configuration:
{
"mcpServers": {
"nteract": {
"command": "uvx",
"args": ["nteract"]
}
}
}
Using with Nightly
If you're using nteract desktop nightly builds, point at the nightly socket and allow prereleases:
claude mcp add nteract -- env RUNTIMED_SOCKET_PATH="$HOME/Library/Caches/runt-nightly/runtimed.sock" uvx --prerelease allow nteract
Release Tracks
mainpublishes prereleasenteractbuilds for the 2.x transition and tracksruntimed 2.xprereleases.release/1.9.xis the stable maintenance line for desktop1.4.xand stays onruntimed 1.9.0.
Available Tools
| Tool | Description |
|---|---|
connect_notebook |
Connect to a notebook by ID |
open_notebook |
Open an existing .ipynb file |
create_notebook |
Create a new notebook |
save_notebook |
Save notebook to disk as .ipynb file |
create_cell |
Add a cell to the notebook (use and_run=True to execute) |
execute_cell |
Run a specific cell (returns partial results after timeout) |
run_all_cells |
Queue all code cells for execution |
append_source |
Stream tokens into a cell (ideal for LLM output) |
get_cell |
Get a cell by ID with outputs |
get_all_cells |
View all cells in the notebook |
set_cell_source |
Update a cell's source code |
move_cell |
Reorder a cell within the notebook |
clear_outputs |
Clear a cell's outputs |
delete_cell |
Remove a cell from the notebook |
start_kernel |
Start a Python kernel |
restart_kernel |
Restart kernel with updated dependencies |
get_kernel_status |
Check kernel state |
get_queue_state |
See what's executing and what's queued |
complete_code |
Get code completions from the kernel |
get_history |
Search kernel execution history |
add_dependency |
Add a Python package dependency |
remove_dependency |
Remove a dependency |
get_dependencies |
List current dependencies |
sync_environment |
Hot-install new deps without restart |
Architecture
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Claude │────▶│ nteract │────▶│ runtimed │
│ (or other │ │ MCP Server │ │ daemon │
│ AI) │ │ │ │ │
└─────────────┘ └─────────────┘ └──────┬──────┘
│
┌─────────────┐ │
│ nteract │◀────────────┘
│ Desktop App │ (real-time sync)
└─────────────┘
- nteract (this package): MCP server for AI assistants
- runtimed: Low-level daemon and Python bindings (docs)
- nteract desktop: Native app for humans to collaborate with AI
Real-time Collaboration
The magic of nteract is that AI and humans share the same notebook:
- AI connects via MCP and runs code
- Human opens the same notebook in nteract desktop
- Changes sync instantly via CRDT
- Both see the same kernel state
This enables workflows like:
- AI does initial analysis, human refines
- Human writes code, AI debugs errors
- Multiple AI agents collaborate on complex tasks
Development
# Clone
git clone https://github.com/nteract/nteract
cd nteract
# Install dependencies
uv sync
# Run tests
uv run pytest
Related Projects
- nteract/desktop - Native desktop app
- runtimed on PyPI - Low-level Python bindings
License
BSD-3-Clause
Metadata
Release files for nteract 2.0.1a202603121904
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Loss of provenance
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nteract-2.0.1a202603121904.tar.gz | 15.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nteract-2.0.1a202603121904-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.0 kB
Release files / nteract-2.0.1a202603121904.tar.gz
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | nteract-2.0.1a202603121904.tar.gz |
|---|---|
| Size | 15.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e8fcc864e346531ab4c92f098ee18ec2722dee688ae4e55927c12edb1200ae6
|
|
BLAKE2b-256 checksum How to use checksums |
c292668cdb78fd5b0198c980ec3732044d1e516943d2b16af2f6ca7d56090d32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / nteract-2.0.1a202603121904-py3-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | nteract-2.0.1a202603121904-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eda09039eb3e89a1b878bbc710a3920036289baa7b076cb5dbbd886e9d884715
|
|
BLAKE2b-256 checksum How to use checksums |
8f1704c0b8679a61813f91e14c60c342e95306bd02f30aa4258ca2befa7441d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for nteract 2.0.1a202603121904
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Loss of provenance
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Release comparison
- Removed 2.0.1a202603110913 2 files With provenance
- Added 2.0.1a202603121904 2 files Without provenance
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.