This repository helps create interactive notebooks for exploring and analyzing DANDI datasets using Cline and the neurosift-tools MCP.
First clone this repo and open in it VS Code. You'll need to install and configure the Cline VS Code extension. You will also need to install the neurosift-tools MCP in Cline (see below).
To create a notebook for a DANDI dataset, simply tell Cline:
Let's make a notebook for Dandiset XXXXXX
Replace XXXXXX with the Dandiset ID you want to analyze (e.g., 001341).
Cline will:
- Create a new timestamped directory in
scratch/dandisets/XXXXXX/yyyy-mm-dd-x
- Create a readme.md based on the template
- Copy the notebook_guidelines.md to the directory
- Cline will then follow the instructions contained in those files to create a notebook with your help, including:
- Researching the Dandiset using neurosift-tools
- Creating and running exploratory Python scripts
- Generating informative plots for analysis
- Building an interactive notebook that introduces the dataset
- Converting and executing the final notebook
Since the Cline cannot view and interpret plots and graphs, you'll need to be the eyes for Cline. At various points, it will ask you to describe what you see in the .png files that it creates. This will help it to know how to make an informative notebook.
It's defined here: https://github.com/flatironinstitute/neurosift/tree/main-v2/mcps/neurosift-tools
Cline can help you install it. :)
.
├── dandisets/ # Completed notebooks
├── scratch/ # Work in progress notebooks
├── templates/ # Template files