
Open Notebook
io.github.Epochal-devPublished by GitHub account Epochal-devv0.3.0Updated Oct 24, 2026
MCP server that wraps the Open Notebook API
Overview
Lets an assistant manage Open Notebook notebooks, sources, notes, and chat sessions, and run vector search or AI questions against them.
- What you can do
- Wraps the Open Notebook API in about 39 tools covering notebooks, sources, notes, models, chat sessions, and settings, with create, read, update, and delete operations. It also exposes search, ask_question, and ask_simple for vector or text search and model-backed answers, plus a search_capabilities meta tool for progressive tool discovery. It can run over stdio locally or as a streamable HTTP service.
- When to use it
- Use it when you already run an Open Notebook instance and want an assistant to organize research notebooks, add links, uploads, or text as sources, write notes, and query that content. It suits research and note-taking workflows rather than general file or web access.
- Requirements
- Python 3.12+ and the open-notebook-mcp package (uv or pip). A reachable Open Notebook instance, set via OPEN_NOTEBOOK_URL. If the instance has APP_PASSWORD set, OPEN_NOTEBOOK_PASSWORD is also needed. Network access to that instance; optional MCP_TRANSPORT, HOST, and PORT for HTTP mode.
Installation
In SourceWeft
- Open Open Notebook in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Open Notebook MCP Server
An MCP (Model Context Protocol) server that provides tools to interact with the Open Notebook API. This server enables AI assistants like Claude to manage notebooks, sources, notes, search content, and interact with AI models through Open Notebook.
Features
- Notebooks Management: Create, read, update, and delete notebooks
- Sources Management: Add and manage content sources (links, uploads, text)
- Notes Management: Create and organize notes within notebooks
- Search & AI: Search content using vector/text search and ask questions
- Models Management: Configure and manage AI models
- Chat Sessions: Create and manage chat conversations
- Settings: Access and update application settings
- Progressive Disclosure: Efficient tool discovery with
search_capabilities
Installation
Using uv (recommended)
Using pip
Configuration
The server requires configuration to connect to your Open Notebook instance:
Environment Variables
Create a .env file or set these environment variables:
Example Configuration
For local development with default Open Notebook settings:
If you've configured authentication in Open Notebook:
Usage
Running the Server
Development Mode (STDIO)
For local use with AI assistants:
Or using the MCP CLI:
Production Mode (Streamable HTTP)
For remote deployment:
Using with Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Discovering Available Tools
The server implements progressive disclosure. Use the search_capabilities tool to discover available functionality:
Example Workflows
Creating and Managing Notebooks
Adding Sources
Creating Notes
Searching and Asking Questions
Chat Sessions
Available Tools
The server provides 39 tools across multiple categories:
Meta Tools
search_capabilities- Progressive tool discovery
Notebooks (5 tools)
list_notebooks,get_notebook,create_notebook,update_notebook,delete_notebook
Sources (5 tools)
list_sources,get_source,create_source,update_source,delete_source
Notes (5 tools)
list_notes,get_note,create_note,update_note,delete_note
Search (3 tools)
search,ask_question,ask_simple
Models (5 tools)
list_models,get_model,create_model,delete_model,get_default_models
Chat (7 tools)
list_chat_sessions,create_chat_session,get_chat_session,update_chat_session,delete_chat_session,execute_chat,get_chat_context
Settings (2 tools)
get_settings,update_settings
Architecture
This server follows MCP best practices:
- Progressive Disclosure: Use
search_capabilitiesto minimize context usage - Context Efficiency: Small outputs by default, with limit parameters
- Dual Transport: Supports both STDIO (local) and Streamable HTTP (remote)
- Error Handling: Structured error messages with actionable hints
- Timeouts: 30-second default timeout for all API requests
- Authentication: Optional Bearer token authentication
Development
Project Structure
Testing
Test the server using the MCP Inspector:
or
This opens an interactive inspector where you can:
- Browse available tools
- Test tool calls
- Inspect responses
- Debug errors
Adding New Tools
To add new tools:
- Add a
Capabilityentry to theCAPABILITIEStuple - Implement the tool function with
@mcp.tool()decorator - Follow naming conventions:
verb_noun(e.g.,list_notebooks) - Include proper docstrings and type hints
- Return structured responses with
request_id
Requirements
- Python 3.12+
- Open Notebook instance (local or remote)
- Dependencies:
mcp[cli]>=1.23.2,httpx>=0.28.1
Contributing
Contributions are welcome! Please ensure:
- Follow the existing code structure and patterns
- Add tools to the
CAPABILITIESindex - Include proper type hints and docstrings
- Test with MCP Inspector before submitting
License
See LICENSE file for details.
Links
Support
For issues related to:
- This MCP server: Open an issue in this repository
- Open Notebook itself: Visit the Open Notebook repository
- MCP protocol: Check the MCP documentation
Source: README.md at commit a2cddbf
Tools
0Version history
1- v0.3.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts