Skip to main content
Glama
GetNote MCP Server

GetNote MCP Server

by iswalle

得到大脑(Get笔记)MCP Server

让支持 MCP 的 AI 工具(Claude Desktop、Cursor 等)直接读写你的得到大脑笔记:搜索、保存、阅读、整理知识库。

准备

  1. 在 得到大脑开放平台 创建应用,生成 API Key 和 Client ID

  2. 本机装好 Node.js 20 以上;国内网络下载慢可以先执行 npm config set registry https://registry.npmmirror.com

所有得到大脑用户授权后都可以调用,会员享有更高额度(了解会员)。让 AI 调用 get_quota 可以看当前额度。

Related MCP server: Joplin MCP Server

接入 AI 工具

以 Claude Desktop 为例,在 ~/Library/Application Support/Claude/claude_desktop_config.json 里加上:

{
  "mcpServers": {
    "getnote": {
      "command": "npx",
      "args": ["-y", "@getnote/mcp"],
      "env": {
        "GETNOTE_API_KEY": "你的 API Key",
        "GETNOTE_CLIENT_ID": "你的 Client ID"
      }
    }
  }
}

其他工具按各自的 MCP 配置方式填同样的命令和环境变量。也可以用参数传入:npx @getnote/mcp --api-key <key> --client-id <id>。

不要把 API Key 写进会提交到代码仓库的文件。

能做什么

接好后直接对 AI 说,例如:

  • 「帮我记一下:周五前回复王总」

  • 「把这个链接存到得到大脑」

  • 「搜一下我哪些笔记提到了 RAG」

  • 「找出上周录音台的会议笔记,读一下讲到定价的部分」

  • 「把这 3 条笔记放进『产品调研』知识库」

分类

工具

找笔记

list_notes(可按来源、类型、时间筛选)、search_account_content、search_knowledge_base、list_reference_resources

读笔记

get_note、batch_get_notes、get_note_outline、read_note_section、get_note_original、get_note_transcript、get_note_attachments、get_note_timeline、get_note_chapters、get_note_marks、get_note_quick_note、get_note_todos、list_sprouts、get_sprout

写笔记

save_note(文字、链接、图片)、get_note_task_progress、update_note、delete_note、share_note、add_note_tags、delete_note_tag

知识库

list_knowledge_bases、list_subscribed_knowledge_bases、list_knowledge_base_notes、create_topic、batch_add_notes_to_topic、remove_note_from_topic、文件夹的浏览与增删改

订阅内容

抖音博主、得到直播的订阅和内容读取

上传

upload_image(图片一步上传)、知识库文件上传相关工具

账号

get_quota

几点说明:

  • 录音台的笔记用 list_notes 的 source=vendor_moan 查,录音卡用 getseed

  • 长笔记先用 get_note_outline 看目录,再用 read_note_section 按段读,不用整篇拉取

  • 只能新建文字、链接、图片笔记;录音等类型只能在 App 或网页端创建,这里只能读

  • 删除是移入回收站,可以在 App 里恢复

  • 笔记 ID 一律按字符串传,避免长数字丢精度

  • 每个账号每天最多新建 50 个知识库,北京时间 0 点重置

  • 旧工具名(如 recall、list_topics)仍然可用

环境变量

变量

说明

GETNOTE_API_KEY

API Key(必填)

GETNOTE_CLIENT_ID

Client ID(必填)

GETNOTE_API_URL

换成别的 API 地址,一般不用设

更新日志

版本

日期

主要变化

v1.13.0

2026-11-26

笔记列表、详情和知识库笔记带上 generation_status(生成中/失败等),没生成完的内容不当最终结果;旧服务端不返回时不显示

v1.12.3

2026-11-18

文档:说明所有用户都能调用,会员额度更高

v1.12.x

2026-11-17

长笔记按目录分段读;工具改用更好懂的名字,旧名字仍可用;依赖升级到已修复版本

v1.11.0

2026-11-04

遇到限流自动排队、有限重试;上传中断后能接着传,不重复上传

v1.9.0

2026-10-13

按书名、作者找书;按引用来源和时间筛选笔记

v1.8.0

2026-09-24

读取标记、发芽报告和章节时间线;上传文件到知识库

v1.7.0

2026-08-13

知识库文件夹管理;订阅抖音博主;读取录音原文、附件、时间线和会议待办

更早的版本见 Releases。

License

MIT

Available Tools

51 tools
add_note_tagsC

为指定笔记添加标签。

Inputs: tags (required), note_id (required).

batch_add_notes_to_topicC

批量将笔记添加到知识库(每批最多 20 个)。

Inputs: note_ids (required), topic_id (required), directory_id.

batch_get_notesA

单次后端批量读取最多20个去重个人笔记ID,保持顺序。默认content/ref_content/reference,original需显式选择;引用原文ref_content,content是评论。默认32000/最多64000Unicode码点及1MiB。逐条保留ok/unavailable/failed/deferred_budget、content_state、pending_ids和partial,成功调用不代表每条读完;整条超预算按需改用get_note_outline和read_note_section,不自动并发20次。不批量开放知识库共享权限。需note.batch_detail.v1。

Inputs: ids (required), fields, max_total_chars.

create_topicB

创建新的知识库。⚠️ 限制:每天最多创建 50 个知识库,北京时间自然日 00:00 重置。

Inputs: name (required), cover, description.

create_topic_directoryC

在知识库中创建文件夹。

Inputs: name (required), topic_id (required), parent_id.

delete_noteA

删除笔记(移入回收站)。需要 note.content.trash scope。

Inputs: note_id (required).

delete_note_tagA

删除笔记的指定标签(系统标签不可删除)。

Inputs: tag_id (required), note_id (required).

delete_topic_directoryB

删除空的知识库文件夹。属于破坏性操作,调用前必须取得用户确认。

Inputs: topic_id (required), directory_id (required).

follow_topic_bloggerC

把抖音博主订阅到指定知识库,后续可读取该博主内容。

Inputs: link (required), topic_id (required), platform.

follow_topic_liveA

订阅一个得到 App 直播到知识库。直播结束后经 AI 处理即可通过 list_knowledge_base_lives 查看。目前仅支持得到 App 直播链接。需要 topic.live.write scope。

Inputs: link (required), topic_id (required).

get_blogger_content_detailA

获取博主内容详情,包含完整原文(post_media_text)。需要 topic.blogger.read scope。

Inputs: post_id (required), topic_id (required).

get_knowledge_file_capabilitiesA

上传前查询当前配置允许的文件扩展名、MIME、大小、页数和独立日限额;不缓存为固定格式列表。

Inputs: no named parameters.

get_knowledge_file_upload_operationA

仅查询原知识库文件上传凭据操作。保留已上传对象和同一笔记 client_request_id;保存遇限流不要重新上传。凭据敏感,不得放进聊天、日志或命令参数。任务 pending/processing 不等于完成。恢复仅查询原 operation_id,不能自动申请新 key。

Inputs: operation_id (required).

get_knowledge_file_upload_tokenA

保留已上传对象和同一笔记 client_request_id;保存遇限流不要重新上传。凭据敏感,不得放进聊天、日志或命令参数。任务 pending/processing 不等于完成。恢复仅查询原 operation_id,不能自动申请新 key。获取一次 OSS 文件上传临时凭据。通过本地 getnote upload --token-file --max-size-bytes <能力上限> 直接 PUT 到 OSS,无需再次 CLI 登录。凭据通过受控文件或 stdin 传入,不写命令参数或聊天;不要把文件字节传给云 MCP。

Inputs: mime_type (required), operation_id.

get_live_detailA

获取直播详情,包含 AI 摘要(post_summary)和完整原文转写(post_media_text)。需要 topic.live.read scope。

Inputs: live_id (required), topic_id (required).

get_noteA

获取指定笔记的详细内容,包括正文、标签、附件、音频转录、网页链接等。

字段语义说明(AI Agent 重要参考): content 通常是 AI 总结,不一定是原文。不同类型笔记的原文字段如下:

  • 引用笔记(ref):原文 = note.ref_content,note.content 是个人评论

  • 普通文字笔记(plain_text):原文 = note.content

  • 链接/网页笔记(link):原文 = note.web_page.content,AI 总结 = note.content

  • 录音笔记(audio/local_audio/meeting/recorder_audio/recorder_flash_audio/class_audio/internal_record):转写原文 = note.audio.original,AI 总结 = note.content

用户要求'读原文'时,先看 note.note_type,再按上述对应关系取字段。

Inputs: id (required), image_quality.

get_note_attachmentsA

直接列出笔记中的图片、音频和文件附件,不需要从完整详情中猜字段。

Inputs: id (required).

get_note_chaptersA

读取总结中的独立章节时间线 chapter_timeline;start_ms/end_ms 为毫秒,保留 source。缺少结束时间仅用下一章起点推导 end_source=next_chapter_start;末章未知为 null,不猜录音时长单位。与录音 moments 和标记分别读取,不能相互替代。

Inputs: id (required).

get_note_marksA

读取笔记标记(包含文字标记、照片等),与 Timeline 独立,不用时间线替代标记。

Inputs: note_id (required).

get_note_originalA

直接读取笔记原文。引用笔记返回 ref_content,链接笔记返回网页原文,录音笔记返回转写原文,文字笔记返回正文;无原文或不支持的类型会报错。

Inputs: id (required).

get_note_outlineA
Read-only

先看长笔记目录:返回各节的 UTF-16 offset、总长度和 version,不返回整篇正文。用于长会议、录音逐字稿和引用原文定位;再调用 read_note_section。AI 总结、录音转写(原话)、引用原文、个人评论分别标注。

Inputs: id (required).

get_note_quick_noteA

直接读取录音笔记的快捷笔记;没有快捷笔记时明确返回不可用。

Inputs: id (required).

get_note_task_progressA

查询创建笔记任务的处理进度。用于链接笔记(note_type=link)创建后,通过 save_note 返回的 task_id 轮询任务状态,直到 status 变为 success(可获取 note_id)或 failed(可获取 error_msg)。建议每 10~30 秒轮询一次,约 3 分钟内完成。需要 note.content.read scope。

Inputs: task_id (required).

get_note_timelineB

直接读取录音或会议笔记的结构化时间线和原文资源;没有时间线时明确返回不可用。

Inputs: id (required).

get_note_todosA

读取从会议总结中明确的待办章节按规则解析出的条目。返回 source 和 items;空列表表示未识别到明确待办章节,不应让模型自由补写。

Inputs: id (required).

get_note_transcriptA

直接读取录音台、录音卡及录音、会议或课堂笔记的转写原文;设备来源先用list_notes.source定位。没有转写时明确返回不可用,不用AI总结代替。

Inputs: id (required).

get_quotaA

查询当前 API Key 的调用配额,包括 read/write/write_note 三类的日/月剩余次数。

Inputs: no named parameters.

get_sproutB

读取已授权用户发芽报告原文,id 来自 list_sprouts。

Inputs: id (required).

get_upload_configA

获取图片上传配置,包括支持的文件类型、大小限制等。上传图片前先调用此接口了解约束。

Inputs: no named parameters.

get_upload_operationA

仅查询原图片上传凭据操作。保留已上传对象和同一笔记 client_request_id;保存遇限流不要重新上传。凭据敏感,不得放进聊天、日志或命令参数。任务 pending/processing 不等于完成。恢复仅查询原 operation_id,不能自动申请新 key。

Inputs: operation_id (required).

get_upload_tokenB

保留已上传对象和同一笔记 client_request_id;保存遇限流不要重新上传。凭据敏感,不得放进聊天、日志或命令参数。任务 pending/processing 不等于完成。恢复仅查询原 operation_id,不能自动申请新 key。获取 OSS 图片上传凭证。返回 accessid/host/policy/signature 等字段,用于 multipart/form-data POST 上传图片到阿里云 OSS。上传成功后获取 image_id,再用 save_note 创建图片笔记。⚠️ mime_type 必须与实际文件格式一致,否则 OSS 签名失败。

Inputs: count, mime_type, operation_id.

list_knowledge_base_blogger_contentsA

获取知识库中某个博主发布的内容列表(摘要,不含原文)。需要 topic.blogger.read scope。

Inputs: topic_id (required), follow_id (required), page.

list_knowledge_base_bloggersA

获取知识库订阅的博主列表。需要 topic.blogger.read scope。

Inputs: topic_id (required), page.

list_knowledge_base_directoriesA

浏览知识库文件夹结构及当前目录下的笔记等资源。支持个人、书籍、客户档案和团队知识库。

Inputs: topic_id (required), directory_id.

list_knowledge_base_livesA

获取知识库中已完成且 AI 已处理的直播列表。需要 topic.live.read scope。

Inputs: topic_id (required), page.

list_knowledge_base_notesA

列出知识库内可访问的笔记,支持来源、引用资源、时间筛选。列表只返回定位信息;需要正文和完整元数据时调用 get_note。按 pagination.next_page 翻页;去重 ID,重复游标/页码、无进展或中途失败不能声称全量完成。

Inputs: topic_id (required), page, source, edited_to, +12 more.

list_knowledge_basesA

获取用户创建、拥有或加入的知识库列表,默认DEFAULT;查书名/书籍作者显式scope=BOOKSPACE,query只匹配书名、author匹配书籍作者,二者AND,只有作者线索就只传author。返回topics[]、has_more、total,完整分页并核对book_info。无匹配且用户未限定只查自有时,用list_subscribed_knowledge_bases保留全部条件补查;仍无匹配再按list_notes的引用来源路线补查,不能把空书库当账号没有划线。用户限定具体知识库时保留原范围;来源作者冲突保留为待核验候选。

Inputs: page, query, scope, author, +2 more.

list_notesA

按来源、引用资源或知识库查找笔记。列表只返回定位信息;少量个人笔记正文按需用batch_get_notes,知识库共享笔记保持get_note原权限路径。新查询核对meta.capabilities、applied_filters并按pagination.next_cursor翻页;partial/warnings未解决时末页也不代表来源完整。书库无匹配可按note_type=ref列定位信息,在真实reference中核对书籍作者/书名/book_id;保留时间、平台和知识库范围,平台未知不自加dedao,一次发现最多5页,未遍历完说明未查完。book_info.author与reference.author冲突须分别标注,候选不直接认定作者身份。total_count=null表示未知。

Inputs: page, cursor, source, topic_id, +13 more.

list_reference_resourcesA

按课程名/老师定位有个人笔记的得到课程,不需要知识库。query仅课程名exact/prefix,author精确,二者AND且至少一个;用返回course_type+course_id筛选list_notes。核对reference.resources.v1与applied_filters,空页has_more=true仍沿next_cursor继续。保留每页partial/warnings及候选metadata_state;course_directory_no_lessons表示目录缺课节,末页has_more=false仍不能宣称找全老师的全部课程。total未知,不冒充全站课程列表或课程内语义搜索。

Inputs: source (required), resource_type (required), query, author, +3 more.

list_sproutsB

按月份读取当前用户发芽报告;发芽不是标记数据。

Inputs: month (required), limit, since_id.

list_subscribed_knowledge_basesA

获取当前用户真实订阅的他人知识库,不含自己创建的库。默认DEFAULT;书籍显式BOOKSPACE,保留query/author/book_id及分页。自有书库无匹配时可补查这里;仍无匹配且用户未限定只查订阅库时,按list_notes的个人引用来源路线核对候选,保留已知平台/时间,不能把空库当没有笔记。返回topics[]、has_more、total。

Inputs: page, query, scope, author, +2 more.

read_note_sectionA
Read-only

读取一篇笔记的指定节选,或用字面关键词查找原话(不是语义搜索)。使用目录/上一段返回的 UTF-16 offset 和 version;普通读取默认8000、最多30000单元。keyword 用 | 分隔备选词;不传 limit 搜索到文末,传 limit 仅搜索该窗口,无命中不回退前文。内容变化重新取目录,读完停止;失败不自动取全文。

Inputs: id (required), limit, offset, keyword, +1 more.

remove_note_from_topicC

将笔记从知识库中移除。

Inputs: note_ids (required), topic_id (required).

save_noteA

新建笔记(⚠️ 仅支持新建,不支持编辑已有笔记)。支持纯文本笔记(plain_text)、链接笔记(link)和图片笔记(img_text)。

🔗 笔记内链:Get笔记正文支持链接到其他笔记,格式为 https://biji.com/note/{note_id}。如需在笔记正文中引用其他笔记,按此格式填写 content 中的链接。若当前笔记后续会被分享出去,则应优先调用 share_note 工具获取被引用笔记的分享链接,并以分享链接替代内链写入正文。

图片笔记流程:先用 upload_image 上传图片获取 image_url,再调用此接口传入 image_urls。

返回值说明:

  • plain_text:同步返回 id、title、created_at、updated_at。

  • link(分享链接:biji.com/note/share_note/* 或 d.biji.com/* 短链):同步返回 id、title、created_at、updated_at,无需轮询。

  • link(普通链接):返回 tasks 数组(每项含 task_id 和 url),需用 get_note_task_progress 轮询进度。

Inputs: tags, title, content, link_url, +5 more.

search_account_contentA

全局语义搜索:在所有笔记中进行语义召回。适用场景:「搜一下」「找找我哪些笔记提到了 XX」。返回结果按相关度从高到低排序。需要 note.search_account_content.read scope。

Inputs: query (required), top_k, response_mode, max_snippet_chars.

search_knowledge_baseA

知识库语义搜索:在指定知识库范围内进行语义召回。适用场景:「在我的 XX 知识库搜一下 XX」。返回结果按相关度从高到低排序。需要 note.topic.search_account_content.read scope。

Inputs: query (required), topic_id (required), top_k, response_mode, +1 more.

share_noteA

生成笔记的公开分享链接。幂等接口,多次调用返回同一个 share_url。需要 note.sharing.write scope。

Inputs: note_id (required), share_exclude_audio.

update_noteA

更新已有笔记的标题、内容或标签。⚠️ 仅支持 plain_text 类型笔记,链接笔记、图片笔记等暂不支持更新。至少需要传 title、content、tags 中的一个。tags 是替换操作,会覆盖原有标签。

Inputs: note_id (required), tags, title, content.

update_topic_directoryB

重命名或移动知识库文件夹。未提供的字段保持不变。

Inputs: topic_id (required), directory_id (required), name, parent_id.

upload_imageA

保留已上传对象和同一笔记 client_request_id;保存遇限流不要重新上传。凭据敏感,不得放进聊天、日志或命令参数。任务 pending/processing 不等于完成。恢复仅查询原 operation_id,不能自动申请新 key。上传图片到 OSS。返回 image_url(用于创建图片笔记的 image_urls 参数)。

Inputs: mime_type, image_path, image_base64, operation_id.

upload_knowledge_fileA

保留已上传对象和同一笔记 client_request_id;保存遇限流不要重新上传。凭据敏感,不得放进聊天、日志或命令参数。任务 pending/processing 不等于完成。恢复仅查询原 operation_id,不能自动申请新 key。OSS 直传成功后将原文件加入知识库,只接收元数据,不接收本地路径或 base64。返回处理中的资源不等于入库成功;用 list_knowledge_base_directories 查询同一 ID,直到 SUCCESS 或 FAIL。

Inputs: md5 (required), url (required), topic_id (required), file_name (required), +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 51 tools

    Disambiguation2/5

    The note-reading family (get_note, get_note_original, get_note_transcript, batch_get_notes, read_note_section) has genuinely unclear boundaries, since get_note already returns transcription, web content, and ref content that get_note_original/get_note_transcript claim to provide. The four upload-credential tools (get_upload_token, get_upload_operation, get_knowledge_file_upload_token, get_knowledge_file_upload_operation) share near-identical copy-pasted descriptions, making misselection likely.

    Naming Consistency4/5

    Almost all 51 tools follow a snake_case verb_noun pattern (get_note_*, list_knowledge_base_*, create_topic_*, batch_add_notes_to_topic), which is readable and systematic. Minor deviations exist in the very long compound names (get_knowledge_file_upload_operation) and inconsistent resource prefixes (note_* vs topic_* vs knowledge_base_* for related operations).

    Tool Count2/5

    51 tools is far above what an agent can comfortably navigate and is well beyond the 3-15 well-scoped range. Much of the bulk comes from many narrow single-field variants (get_note_attachments, get_note_todos, get_note_marks, get_note_chapters, get_note_quick_note) and duplicated upload credential tools that could be consolidated.

    Completeness4/5

    Coverage is broad: full note CRUD, tags, sharing, outline/section reading, knowledge bases with directories and membership, semantic search at account and KB scope, blogger/live subscriptions, uploads, and quota checks. Gaps remain—no delete/update tool for knowledge bases or directories beyond rename/move, and update_note is limited to plain_text notes, leaving link/image notes uneditable.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers