Skip to main content

MCP (Model Context Protocol) server for Open Notebook — access research notebooks, sources, notes and search via any MCP client (Claude Desktop, VS Code, etc.)

Project description

Open Notebook MCP Server

A lightweight MCP (Model Context Protocol) server for Open Notebook — access research notebooks, sources, notes, and semantic search from any MCP-compatible client (Claude Desktop, VS Code, Cline, etc.).

Architecture

This server runs in HTTP proxy mode: it proxies every request through Open Notebook's existing REST API. That means:

  • Zero database dependencies — no SurrealDB connection needed
  • Minimal install — only depends on mcp and httpx
  • Side-by-side with the web UI — just point it at the API

Installation

uv tool install open-notebook-mcp

Or run without installing:

uvx open-notebook-mcp

After installation, the open-notebook-mcp command is available globally.

Configuration

The server needs to know where your Open Notebook API is running:

Environment Variable Default Description
OPEN_NOTEBOOK_URL http://localhost:5055 Open Notebook API base URL
OPEN_NOTEBOOK_PASSWORD API password (if authentication is enabled)
OPEN_NOTEBOOK_MCP_PORT 0 (stdio) Set to a port number to run SSE transport instead of stdio

Usage

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "open-notebook": {
      "command": "open-notebook-mcp",
      "env": {
        "OPEN_NOTEBOOK_URL": "http://localhost:5055",
        "OPEN_NOTEBOOK_PASSWORD": "your-password"
      }
    }
  }
}

VS Code

Add to your .vscode/mcp.json:

{
  "servers": {
    "open-notebook": {
      "command": "open-notebook-mcp",
      "env": {
        "OPEN_NOTEBOOK_URL": "http://localhost:5055",
        "OPEN_NOTEBOOK_PASSWORD": "your-password"
      }
    }
  }
}

Available Tools

Tool Description
list_notebooks List all notebooks with source and note counts
get_notebook Get detailed information about a specific notebook
get_notebook_context Build full notebook context as plain text
list_sources List sources in a notebook with titles and previews
get_source Get full source details including insights
list_notes List notes in a notebook
search Full-text or vector search across all notebooks

Development

cd mcp-server
uv run open-notebook-mcp

Publishing

cd mcp-server
uv build
uv publish

License

MIT

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

bangbangmao_open_notebook_mcp-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

bangbangmao_open_notebook_mcp-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file bangbangmao_open_notebook_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: bangbangmao_open_notebook_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bangbangmao_open_notebook_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2c911a012b420e0adf645d65df601d51243e80d85519aae986dc81619c60f17e
MD5 f5010dc10f2df1592ed22789f23e75d1
BLAKE2b-256 59baccf5d8f9f0d28ad7735d7f5c2fdac33f2ec1b5ecd83609cb3d2f8a5724ae

See more details on using hashes here.

File details

Details for the file bangbangmao_open_notebook_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bangbangmao_open_notebook_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bangbangmao_open_notebook_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 164a39d2bbe5c39a2c2c0856b4fa996d61d0f8c28c871ba27df07c35dab5dc62
MD5 4406e187f8639510aa518ac137732b3b
BLAKE2b-256 a469873a945d816df02e3c78abc2d8086df7d4fb62cbe7babc4a3d4f28e78ad4

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