Knowledge
概览
作者提供的说明(英文原文)
Search, read and write your self-hosted Open Notebook knowledge base from an AI assistant.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 53/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 搜索与 AI 记忆
- 你需要填写:KNOWLEDGE_OPEN_NOTEBOOK_PASSWORD
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
KNOWLEDGE_OPEN_NOTEBOOK_URL,KNOWLEDGE_OPEN_NOTEBOOK_PASSWORD,KNOWLEDGE_OPEN_NOTEBOOK_REQUIRE_CONFIRM,KNOWLEDGE_OPEN_NOTEBOOK_ALLOWED_NOTEBOOKS
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- PyPI已安装 Python 的 uv(用于 uvx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"knowledge": {
"command": "uvx",
"args": [
"knowledge-bundle-mcp"
],
"env": {
"KNOWLEDGE_OPEN_NOTEBOOK_URL": "your-value",
"KNOWLEDGE_OPEN_NOTEBOOK_PASSWORD": "your-value",
"KNOWLEDGE_OPEN_NOTEBOOK_REQUIRE_CONFIRM": "your-value",
"KNOWLEDGE_OPEN_NOTEBOOK_ALLOWED_NOTEBOOKS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add knowledge --env KNOWLEDGE_OPEN_NOTEBOOK_URL=your-value --env KNOWLEDGE_OPEN_NOTEBOOK_PASSWORD=your-value --env KNOWLEDGE_OPEN_NOTEBOOK_REQUIRE_CONFIRM=your-value --env KNOWLEDGE_OPEN_NOTEBOOK_ALLOWED_NOTEBOOKS=your-value -- uvx knowledge-bundle-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"knowledge": {
"command": "uvx",
"args": [
"knowledge-bundle-mcp"
],
"env": {
"KNOWLEDGE_OPEN_NOTEBOOK_URL": "your-value",
"KNOWLEDGE_OPEN_NOTEBOOK_PASSWORD": "your-value",
"KNOWLEDGE_OPEN_NOTEBOOK_REQUIRE_CONFIRM": "your-value",
"KNOWLEDGE_OPEN_NOTEBOOK_ALLOWED_NOTEBOOKS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"knowledge": {
"type": "stdio",
"command": "uvx",
"args": [
"knowledge-bundle-mcp"
],
"env": {
"KNOWLEDGE_OPEN_NOTEBOOK_URL": "your-value",
"KNOWLEDGE_OPEN_NOTEBOOK_PASSWORD": "your-value",
"KNOWLEDGE_OPEN_NOTEBOOK_REQUIRE_CONFIRM": "your-value",
"KNOWLEDGE_OPEN_NOTEBOOK_ALLOWED_NOTEBOOKS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
KNOWLEDGE_OPEN_NOTEBOOK_URLenvAddress of your Open Notebook server, e.g. https://notebook.example.com- Password for your Open Notebook server, if it has one
KNOWLEDGE_OPEN_NOTEBOOK_REQUIRE_CONFIRMenvtrue (default): you approve each new note. false: the assistant may write on its ownKNOWLEDGE_OPEN_NOTEBOOK_ALLOWED_NOTEBOOKSenvComma-separated notebook names the assistant may write to without asking
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 seayniclabs 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5755 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5755 个服务器的 75% 更新
- 基础检查结果等于或优于此分类中其他 5755 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Knowledge 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:KNOWLEDGE_OPEN_NOTEBOOK_PASSWORD
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.2.1)于12天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Knowledge
Made by [Seaynic Labs](https://seayniclabs.com). Need tools like this built around your own systems? We do that.
Knowledge lets an AI assistant search, read and write the notes in your self-hosted Open Notebook, and comes with skills that teach it to do that work well: meeting notes, decision records, weekly reviews and source-backed research.
It is a bundle: tools, skills and instructions in one install. The tools are one server made of modules. You switch on the modules you use. New modules arrive switched off, so an update never changes what your assistant can do until you choose to.
| Security card | |
|---|---|
| Network | Only the Open Notebook server you configure (KNOWLEDGE_OPEN_NOTEBOOK_URL). Open Notebook fetches the links you add, not Knowledge. Nothing else, no telemetry. |
| Files | Reads its config file (~/.config/knowledge/config.toml). Reads a local file only when you name it in open_notebook_add_source, and only after you approve it (the file goes to your Open Notebook server). Writes one local approval log (~/.local/state/knowledge/approvals.jsonl). |
| Secrets | API keys and passwords come from your environment or config file. They are never tool arguments and never returned to the model. |
| Read-only tools | 6: open_notebook_notebooks, open_notebook_search, open_notebook_notes, open_notebook_note_get, open_notebook_source_get, knowledge_modules |
| Needs your approval | open_notebook_note_create, open_notebook_add_source: you approve each write in your app, or pre-approve notebooks in settings (not for local files). The AI cannot approve for you. |
| Startup cost | about 4,600 tokens (8 tools, 7 skill prompts) |
| Changes | Tool descriptions are locked by hash (tool-manifest.lock.json); CI fails if they change silently. |
Skills
| Skill | What it does | Source |
|---|---|---|
getting-started | Checks the settings, runs the first calls, explains approvals and errors | Seaynic Labs (MIT) |
research-with-sources | Answers from your notebooks, cites each claim, flags sources that disagree | Seaynic Labs (MIT) |
weekly-review | Done, open and next-week items from the notes you changed this week | Seaynic Labs (MIT) |
meeting-notes | Structured meeting notes as a Markdown file, optionally saved to a notebook | Seaynic Labs (MIT) |
decision-record | A numbered Architecture Decision Record in a Decisions/ folder | Seaynic Labs (MIT) |
icm-architect | Organises a knowledge base as a folder structure that agents can walk | Jake Van Clief (MIT), credits |
obsidian-markdown | Obsidian-flavoured Markdown: wikilinks, callouts, properties | Steph Ango (MIT), credits |
Skills reach every app. Claude Code and other skill-aware apps read the skills/ folder. Any MCP app gets the same text as prompts: getting-started, for example, is the prompt named getting-started. Third-party skills keep their own license files. See CREDITS.md.
Install
Knowledge needs Python 3.11 or newer. With uv you don't install anything ahead of time:
uvx knowledge-bundle-mcp --version
Or with pip:
pip install knowledge-bundle-mcp
Pinned install. For a fixed setup, pin the exact version. The plugin manifest pins it the same way:
uvx knowledge-bundle-mcp==0.2.1 --version
As a Claude Code plugin. One install gives you the MCP server and the skills. This needs the seayniclabs/plugins marketplace, which is published with the release:
/plugin marketplace add seayniclabs/plugins
/plugin install knowledge@seayniclabs
The plugin still needs your Open Notebook address in its settings. The plugin file is .claude-plugin/plugin.json.
First five minutes
- Set
KNOWLEDGE_OPEN_NOTEBOOK_URLto your server's address (step 2 below shows where). - Run the check. It prints
okorFIXfor each item and exits 0 when everything is ready:
knowledge-bundle-mcp --doctor
- Start your assistant and ask it to list your notebooks. It calls
open_notebook_notebooksand shows you the names. - Ask it to search a word you know is in one of your notes. It calls
open_notebook_search. - Ask it to save a note. It shows a preview first, then asks you to approve the save in your app.
Settings
Set these as environment variables in your MCP client's config, or put them in a config file (see below). Knowledge starts without any of them and tells you what's missing when you call a tool.
| Variable | Module | What it is |
|---|---|---|
KNOWLEDGE_OPEN_NOTEBOOK_URL | open_notebook | Address of your Open Notebook server, e.g. https://notebook.example.com. No path. |
KNOWLEDGE_OPEN_NOTEBOOK_PASSWORD | open_notebook | Only if your server has a password (OPEN_NOTEBOOK_PASSWORD on the server). Leave it unset otherwise. |
KNOWLEDGE_OPEN_NOTEBOOK_REQUIRE_CONFIRM | open_notebook | true by default: you approve each new note and link. false lets the assistant save them on its own. Local files always need your approval. |
KNOWLEDGE_OPEN_NOTEBOOK_ALLOWED_NOTEBOOKS | open_notebook | Optional. Comma-separated notebook names the assistant may save links and notes to without asking, e.g. Research,Inbox |
KNOWLEDGE_APPROVAL_LOG | any | Optional. Where the approval log is written. Default: ~/.local/state/knowledge/approvals.jsonl |
KNOWLEDGE_ _ENABLED | any | false turns a module off, e.g. KNOWLEDGE_OPEN_NOTEBOOK_ENABLED=false |
Config file (optional). Knowledge also reads ~/.config/knowledge/config.toml, or the file named by KNOWLEDGE_CONFIG. Environment variables win over the file.
[open_notebook]
url = "https://notebook.example.com" password = "change-me" require_confirm = true
Add it to your MCP client
Most clients use the same JSON shape. Put it where your client keeps MCP servers:
{
"mcpServers": { "knowledge": { "command": "uvx", "args": ["knowledge-bundle-mcp"], "env": { "KNOWLEDGE_OPEN_NOTEBOOK_URL": "https://notebook.example.com" } } } }
| Client | Where the config goes |
|---|---|
| Claude Desktop | claude_desktop_config.json (Settings → Developer → Edit Config) |
| Claude Code | claude mcp add knowledge -- uvx knowledge-bundle-mcp, then add the env values, or a project .mcp.json |
| Cursor | ~/.cursor/mcp.json, or .cursor/mcp.json in a project |
| VS Code | .vscode/mcp.json, using "servers" instead of "mcpServers" |
| Sonique, Hermes, OpenClaw, others | Any client that launches a stdio MCP server: command uvx, args ["knowledge-bundle-mcp"], plus the env values |
Over HTTP. For clients that connect to a URL instead of launching a process:
knowledge-bundle-mcp --transport http --port 8765
It serves streamable HTTP at http://127.0.0.1:8765/mcp. It listens only on your own machine by default. Put authentication in front of it before exposing it anywhere else.
Try these
Paste any of these into your assistant once Knowledge passes --doctor:
- "List my notebooks and tell me which one changed most recently."
- "Search my notebooks for what I wrote about the Q3 budget, and cite each note."
- "Write a weekly review of the notes I changed this week, using the weekly-review skill."
- "Make an ADR for choosing SQLite over Postgres for the prototype, with the alternatives table filled in."
- "Save this link to my Research notebook: https://example.com/article. Show me the preview first."
Tools
| Tool | What it returns |
|---|---|
knowledge_modules | Which modules are on, which settings are missing, the skills, and the publisher. Call this first. |
open_notebook_notebooks | Your notebooks, most recently updated first, paged |
open_notebook_search | Matching sources and notes. mode is text (keywords) or vector (meaning; needs an embedding model on the server). Optional notebook_id. Paged. |
open_notebook_notes | The notes in one notebook, titles only, paged |
open_notebook_note_get | One note's content, cut at max_chars |
open_notebook_source_get | One source: title, topics, extracted text, notebooks, processing status |
open_notebook_note_create | Saves a note after you approve it. Without confirm=true it only returns a preview. |
open_notebook_add_source | Adds a web link, or a local file you name, as a source. Preview first; you approve it. Processed in the background. |
Every tool returns structured data with a published schema, so an assistant can work with the results instead of parsing text. Errors always look like knowledge. . : Fix: .
Safety
- Knowledge only calls the Open Notebook server you configure. It sends nothing anywhere else and keeps no data of its own.
open_notebook_note_createandopen_notebook_add_sourcechange your notebooks, so you approve each one. When the assistant asks to save, Knowledge asks you directly through your MCP client (MCP elicitation) and shows the notebook, the title and the full text or link. The assistant can't answer that question for you.- A local file is read only after you name it, and it is uploaded only after you approve its full path and size. Files named like credential stores (
.env,.netrc, private keys,*.pem,*.key) and files in~/.ssh,~/.awsor~/.gnupgare refused. - Some MCP clients can't ask you questions yet. In those, Knowledge refuses to write unless you've pre-approved the notebook with
KNOWLEDGE_OPEN_NOTEBOOK_ALLOWED_NOTEBOOKS, or turned approval off withKNOWLEDGE_OPEN_NOTEBOOK_REQUIRE_CONFIRM=false. Local files are never pre-approved. - Before anything is written or sent, text that looks like a credential (API keys, tokens, private keys, passwords in URLs) is refused. The error names the kind of credential found, never the value.
- Use an
https://address for your server, and give the password only to Knowledge, not to other tools.
Develop
uv venv && uv pip install -e '.[dev]'
.venv/bin/pytest python3 scripts/check_skills.py .venv/bin/python scripts/tool_lock.py --check .venv/bin/python scripts/security_card.py --check
scripts/tool_lock.py (without --check) rewrites tool-manifest.lock.json after a deliberate change to a tool, prompt or instruction. Add a changelog line in the same commit.
Security
Report a vulnerability privately through GitHub (Security tab, "Report a vulnerability"). See SECURITY.md. Every approval, decline and refusal is logged locally in ~/.local/state/knowledge/approvals.jsonl: titles, notebook names and sizes, never the text. Set KNOWLEDGE_APPROVAL_LOG to move it.
License
MIT. Published by Seaynic Labs. Third-party skills are credited in CREDITS.md and keep their own licenses.
Built by [Seaynic Labs](https://seayniclabs.com). We build tools like this around a business's own systems: local-first, with a person approving every change. See custom integrations.