Better Notion
概览
作者提供的说明(英文原文)
Operate Notion with a single Markdown document — read, create, and update pages in one call.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 67/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
- 你需要填写:NOTION_API_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
NOTION_API_KEY
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"better-notion": {
"command": "npx",
"args": [
"-y",
"better-mcp-notion"
],
"env": {
"NOTION_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add better-notion --env NOTION_API_KEY=your-value -- npx -y better-mcp-notion运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"better-notion": {
"command": "npx",
"args": [
"-y",
"better-mcp-notion"
],
"env": {
"NOTION_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"better-notion": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"better-mcp-notion"
],
"env": {
"NOTION_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Notion API key (starts with ntn_)
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 ai-aviate 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3610 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3610 个服务器的 2% 更新
- 基础检查结果等于或优于此分类中其他 3610 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Better Notion 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:NOTION_API_KEY
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.3.2)于9个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
better-mcp-notion
Japanese / 日本語
An MCP server that lets you operate Notion with a single Markdown document.
Existing Notion MCP servers are thin API wrappers that require multiple round-trips for a single operation. better-mcp-notion uses one Markdown document (YAML frontmatter + body) to read, create, and update pages in a single call.
Why better-mcp-notion?
| Traditional Notion MCP | better-mcp-notion | |
|---|---|---|
| Tools | 16-22 tools | 9 tools |
| Create a DB entry | 3+ calls (search DB, get schema, create page, append blocks) | 1 call |
| Edit a page | 4+ calls (get page, get blocks, delete blocks, append blocks) | 1 call (read, edit, write) |
| Format | Raw JSON blocks | Markdown |
| Context window | Heavy (tool definitions + JSON) | Light |
Tools
| Tool | Description |
|---|---|
read | Read a Notion page as Markdown with frontmatter. Supports recursive child page reading with depth. |
write | Create or update pages from Markdown. Supports batch operations and append/prepend. |
search | Search the workspace by keyword. Returns a Markdown-formatted list. |
list | List database records as a table or child pages as a list. Supports natural language filter & sort. |
update | Quick property update without rewriting content. Just pass page + key-value pairs. |
schema | View or modify database schema — add, remove, or rename columns. |
comment | Add or read comments on a page. |
delete | Archive (soft-delete) a page. |
move | Move a page to a different parent page or database. |
Quick Start
1. Create a Notion Integration
- Go to notion.so/profile/integrations and create a new integration
- Copy the API key (
ntn_...) - Share the pages/databases you want to access with the integration ("Connect to" in the page menu)
2. Add to your MCP client
Claude Code
claude mcp add better-notion -- npx better-mcp-notion
Then set the environment variable:
export NOTION_API_KEY=ntn_your_api_key_here
Claude Desktop / Cursor / Windsurf
Add to your MCP config file (e.g. claude_desktop_config.json, .cursor/mcp.json):
{
"mcpServers": { "better-notion": { "command": "npx", "args": ["-y", "better-mcp-notion"], "env": { "NOTION_API_KEY": "ntn_your_api_key_here" } } } }
From source
git clone https://github.com/ai-aviate/better-mcp-notion.git
cd better-mcp-notion npm install && npm run build
Then point your MCP config to node /path/to/better-mcp-notion/build/index.js.
Usage
Read a page
read({ page: "https://notion.so/My-Page-abc123def456" })
Returns:
---
id: abc123-def456 title: My Page database: task-db-id properties: Status: In Progress Tags:
- backend
Notes
- Completed API design
Create a page
write({ markdown: `
title: Meeting Notes parent: "Project Alpha" icon: "📝"
Agenda
- Review progress
- Discuss next steps
` })
Create a database entry
write({ markdown: `
title: Fix login bug database: "Task Board" properties: Status: In Progress Tags:
- backend
- urgent Due Date: "2026-03-01"
Description
Login fails when password contains special chars. ` })
Update a page (edit the output from read)
write({ markdown: `
id: abc123-def456 title: Updated Title properties: Status: Done
New content
Body replaces all existing blocks. ` })
Append content to an existing page
Use position: "append" to add content to the end without rewriting the entire page. Only the new content needs to be provided — existing content is preserved.
write({ markdown: `
id: abc123-def456
New section
This is added to the end of the page. `, position: "append" })
position: "prepend" adds content to the beginning instead.
Batch create (multiple pages in one call)
Separate pages with ===:
write({ markdown: `
title: Task 1 database: "Task Board" properties: Status: Todo
Task 1 details ===
title: Task 2 database: "Task Board" properties: Status: Todo
Task 2 details ` })
Query a database with filters
list({
target: "Task Board", filter: "Status is Done AND Priority is High", sort: "Due Date ascending" })
Filter syntax
Status is Done/Status = Done- equalsPriority != Low- not equalsTags contains backend- multi-select containsDone is true- checkboxScore > 80- number comparison (>,<,>=,<=)Due Date after 2026-03-01- date after/before- Combine with
AND:Status is Done AND Priority is High
Sort syntax
Due Date ascendingorDue Date ascCreated descendingorCreated desc
Read with child pages
read({ page: "parent-page-id", depth: 2 })
depth: 1 = current page only (default), 2 = include children, 3 = include grandchildren.
Quick property update
Update properties without rewriting content:
update({ page: "My Task", properties: { "Status": "Done", "Priority": "High" } })
Manage database schema
// View schema
schema({ database: "Task Board" })
// Add a column schema({ database: "Task Board", action: "add", property: "Priority", type: "select", options: ["Low", "Medium", "High"] })
// Rename a column schema({ database: "Task Board", action: "rename", property: "Due", name: "Due Date" })
// Remove a column schema({ database: "Task Board", action: "remove", property: "Old Column" })
Comments
// Read comments
comment({ page: "abc123" })
// Add a comment comment({ page: "abc123", body: "Looks good! Ready to ship." })
Frontmatter Reference
Write (create/update)
| Field | Create | Update | Description |
|---|---|---|---|
id | - | required | Page ID to update |
title | recommended | optional | Page title |
parent | required* | ignored | Parent page name or ID |
database | required* | ignored | Database name or ID (*either parent or database) |
icon | optional | optional | Emoji or image URL |
cover | optional | optional | Cover image URL |
properties | optional | optional | Database properties (matched against schema) |
Read (output only)
| Field | Description |
|---|---|
id | Page UUID |
url | Notion page URL |
title | Page title |
parent / database | Parent page or database ID |
icon, cover | Emoji or image URL |
properties | All database properties |
created, last_edited | Timestamps (read-only) |
Read-only fields (url, created, last_edited, formulas, etc.) are safely ignored when passed to write.
Development
npm run dev # TypeScript watch mode
npm test # Run tests npm run test:watch # Test watch mode
License
Elastic License 2.0 (ELv2) — Free to use, modify, and distribute. Cannot be offered as a managed/hosted service.