Skip to main content

MCP server that provides notebook-aware context and analysis for .ipynb files

Project description

Notebook MCP

Notebook MCP

Notebook MCP is a Model Context Protocol (MCP) server that provides deep semantic understanding of Jupyter notebooks for AI assistants and automation workflows.


🧠 Why Notebook MCP?

Jupyter notebooks are difficult for AI assistants to reason about because they are:

  • Stateful
  • Non-linear
  • Execution-order dependent
  • Mixed with outputs and markdown

Notebook MCP solves this by building execution graphs and runtime awareness.


✨ Features

  • Static notebook dependency analysis
  • Execution state detection (stale / unexecuted cells)
  • Rerun planning engine
  • Focused notebook context generation
  • Notebook to deterministic Python conversion
  • Jupyter kernel runtime execution and inspection

📦 Installation

pip install notebook-mcp

🚀 Running Server

notebook-mcp-python

🔧 Environment Variables (Optional)

For Jupyter runtime integration:

JUPYTER_BASE_URL=http://localhost:8888
JUPYTER_TOKEN=<your_token>

🧪 Example Use Cases

  • AI notebook debugging
  • Automated notebook refactoring
  • Execution dependency tracking
  • Runtime variable inspection

🧩 Integration

Notebook MCP is designed to integrate with:

  • AI coding assistants
  • MCP clients
  • Notebook automation workflows

📚 Source Code

GitHub: https://github.com/akram-side-projects/notebook-mcp


🤝 Contributions

PRs and feedback welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notebook_mcp-1.5.5.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

notebook_mcp-1.5.5-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file notebook_mcp-1.5.5.tar.gz.

File metadata

  • Download URL: notebook_mcp-1.5.5.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for notebook_mcp-1.5.5.tar.gz
Algorithm Hash digest
SHA256 3e23e21afd6747f12e681a5efe5d80b4d76b62f9ba016a8dd5ff0ce15b7467fb
MD5 73ed8549d4075a2cd84d44d926b86a65
BLAKE2b-256 d704a6c373a5b363d94f8aa1212597c45711b6920ddb2df690bd8a59f7c0f535

See more details on using hashes here.

File details

Details for the file notebook_mcp-1.5.5-py3-none-any.whl.

File metadata

  • Download URL: notebook_mcp-1.5.5-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for notebook_mcp-1.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c8c487324448e6eb8e83a8bc99fa9cc716d9e955d6bbd0485b99e0b5bbfcca57
MD5 dae8dd3b22101800e5b2ffba5d54d4eb
BLAKE2b-256 3590f88f0ab0bc83c19e7a42a62a37a23807afb673370e112160119bfe86a6c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page