# Open Notebook: your own self-hosted NotebookLM

> Sets up your own private NotebookLM for chatting with documents.

- **What it does:** Sets up Open Notebook, a private version of Google's NotebookLM that runs on your own computer. You end up with a place to add PDFs, videos, audio and web pages, chat with them and get answers with citations, and make podcasts from them.
- **Agents:** Claude Code and Codex (through orbit-connect), Claude and ChatGPT (through the Orbit connector)
- **Install:** `npx -y --loglevel=error orbit-connect@0.3.33 install skl_e8b771c27ce2cb86d7160ab4`
- **Creator:** @orbit.learns on Instagram
- **Safety:** Checked by Orbit: nothing risky found in what it runs or reads
- **Installs:** 2
- **Last updated:** 2026-11-14
- **Page:** https://orbitinbox.app/s/open-notebook-your-own-self-hosted-notebooklm

## Skill

---
name: open-notebook-self-hosted
description: Use when you say "set up Open Notebook" or "I want a self-hosted NotebookLM for my notes"; it installs and configures Open Notebook with Docker so you can add PDFs, videos, audio and web pages, chat with citations, search them, and make multi-speaker podcasts.
---

# Open Notebook: your own self-hosted NotebookLM

## What it does

Open Notebook is an open source, privacy-focused alternative to Google's Notebook LM that you host yourself. The README describes it as:

- Multi-notebook organization for separate research projects.
- Universal content support: PDFs, videos, audio, web pages, Office docs and more.
- Multi-model AI: 20+ providers including OpenAI, Anthropic, Google, Mistral, Groq, Cohere, ElevenLabs, Deepgram, Ollama, oMLX, Azure OpenAI, Vertex AI and any OpenAI-compatible server (LM Studio, vLLM). Not every provider offers every model type; the README has a provider support matrix.
- Context-aware chat over your research, with citations: answers cite the sources, notes and insights they used.
- Intelligent search: full-text and vector search across all your content.
- Podcast generation: 1-4 speakers with custom speaker and Episode Profiles.
- Content transformations: built-in and custom actions to summarize and extract insights.
- AI-assisted notes, or write notes manually.
- Fine-grained context control, so you choose exactly what is shared with the AI model.
- A full REST API for automation, optional password protection, and a multi-language UI (English, Bengali, Catalan, Chinese Simplified and Traditional, French, German, Italian, Japanese, Polish, Portuguese, Russian, Spanish, Turkish).
- Reasoning model support for thinking models like DeepSeek-R1 and Qwen3.
- MCP integration to connect Claude Desktop, VS Code and other MCP clients (see docs/5-CONFIGURATION/mcp-integration.md in the repo).

It runs two services: `surrealdb` (the database) and `open_notebook` (UI, API and background worker). Stack: Python, FastAPI, Next.js, React, SurrealDB.

## What you need

- Docker Desktop (macOS, Windows) or Docker Engine with the Compose plugin (Linux).
- An API key from an AI provider, or a local model server such as Ollama. You add it in the UI, not in config files.
- Note: Anthropic and Groq have no embedding models, so pair them with a provider that does.
- You pay only for your own AI usage; the software is MIT licensed.

## Setup

Step 1 - download the official compose file:

```bash
mkdir open-notebook && cd open-notebook
curl -o docker-compose.yml https://raw.githubusercontent.com/lfnovo/open-notebook/main/docker-compose.yml
```

Step 2 - set your encryption key. Edit `docker-compose.yml` and change this line:

```yaml
- OPEN_NOTEBOOK_ENCRYPTION_KEY=change-me-to-a-secret-string
```

to a long random secret you generate yourself, for example:

```bash
openssl rand -hex 32
```

It encrypts the API keys you store, so keep it.

Shared network or server? The UI (`8502`) and API (`5055`) are published on all network interfaces and there is no password by default. If other devices can reach this machine, change those two port lines to `"127.0.0.1:8502:8502"` and `"127.0.0.1:5055:5055"`, or add `- OPEN_NOTEBOOK_PASSWORD=your-password` to the `environment:` block, before starting.

Step 3 - start it:

```bash
docker compose up -d
```

Wait about 30 seconds, then open http://localhost:8502

Step 4 - connect an AI provider, in the UI:

1. In the sidebar, open **Models** (under Manage).
2. Find your provider (OpenAI, Anthropic, Google, etc.) and click **Add Configuration**.
3. Enter a name and your API key (local providers such as Ollama need a **Base URL** instead), then click **Add Configuration**.
4. Click **Test** on the new configuration to check the connection.
5. Click **Models**, choose a **Model Type**, tick the models to add and click **Add**. Add at least one **Language** model and one **Embedding** model.
6. Under **Default Model Assignments**, click **Auto-assign Defaults**, or pick the models yourself.

Then create a notebook, add a source and start chatting. For fully local models with Ollama, the API docs at http://localhost:5055/docs, MCP client setup, backups and updates, see the project's docs: https://github.com/lfnovo/open-notebook

Only add sources you own or are allowed to use, and stay within the terms of any site you pull web pages or media from.

## How to use it with Claude

- "Make the open-notebook folder, download the official docker-compose.yml and generate a random encryption key for it."
- "I am running this on a machine other devices can reach: bind the 8502 and 5055 ports to 127.0.0.1 and add a password in the compose file, then start the services."
- "Start Open Notebook with docker compose and tell me when http://localhost:8502 responds."
- "Walk me through adding my Anthropic key in the Models page, and tell me which provider to pair it with for embeddings."
- "Open the API docs at http://localhost:5055/docs and show me the endpoints for creating a notebook and adding a source."
- "Read docs/5-CONFIGURATION/mcp-integration.md in the repo and set up the MCP connection for my Claude client."

## Credits

Made by lfnovo (Open Notebook), packaged by Orbit. Source: https://github.com/lfnovo/open-notebook - license: MIT.

Shared by @orbit.learns, credited on Orbit.