← 开源
suekou

mcp-notion-server

A Model Context Protocol server for connecting Notion to MCP-compatible clients

AI EngineeringGive agent toolsTypeScript
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
920
Star
181
Fork
+0
本周
12
贡献者
创建于 2024-11-30 · 更新于 2026-10-05 · 今日第 12638 名
主要开发者
suekouSugiKentmrpetabyte

suekou/mcp-notion-server 排名第 12,638,有 920 个星标。

同类别比较

suekou/mcp-notion-server 排名第 12,638,此处有 8 个同类条目;aws/nova-act 排名第 12,642。

同类别比较
名称排名指标
WeOpenML/PandaLM12,604
语言:
Python
星标数:
924
分叉数:
63
SethGammon/Citadel12,608
语言:
JavaScript
星标数:
923
分叉数:
82
简介:
The operating layer for Claude Code + OpenAI Codex: persistent project memory, intent routing, safety hooks, cost telemetry, and parallel agent fleets.
tencentmusic/page-eyes-agent12,616
语言:
HTML
星标数:
922
分叉数:
82
简介:
PageEyes Agent 是一个轻量级 UI Agent,通过自然语言指令驱动,无需编写脚本既可实现Web、Android平台的UI自动化任务。
Mininglamp-OSS/octo-cli12,633
语言:
Go
星标数:
920
分叉数:
132
aws/nova-act12,642
语言:
Python
星标数:
919
分叉数:
149
简介:
Amazon Nova Act is an AWS service for building and deploying highly reliable AI agents that automate UI-based workflows at scale.
china-qijizhifeng/agentic-harness-engineering12,649
语言:
Python
星标数:
918
分叉数:
103
getmetal/motorhead12,654
语言:
Rust
星标数:
917
分叉数:
88
简介:
🧠 Motorhead is a memory and information retrieval server for LLMs.
cunjian/pytorch_face_landmark12,661
语言:
Python
星标数:
916
分叉数:
161
简介:
Fast and accurate face landmark detection library using PyTorch; Support 68-point semi-frontal and 39-point profile landmark detection; Support both coordinate-based and heatmap-based inference; Up to 100 FPS landmark inference speed with SOTA face detector on CPU.
关键参数与规格
关键参数与规格
参数值
语言TypeScript
类别AI Engineering
子类别Give agent tools
关键词Agent-ready APIs, Context engineering, Document understanding, MCP
星标数920
分叉数181
贡献者12
创建日期2024-11-30
更新日期2026-10-05
1 天星标数0
7 天星标数0
排名12,638
上次排名12,554
排名变化-84
7 天星标排名13,526
上次 7 天星标排名13,536
7 天星标排名变化10
总星标排名11,870
上次总星标排名11,850
总星标排名变化-20
国家Japan
README 摘录

Notion MCP Server AI-friendly MCP server for the Notion API. It helps agents find, read, query, and update Notion workspaces while keeping responses compact enough for day-to-day AI workflows. This server targets the Notion API and uses the current database/data source model. It exposes MCP tools, prompts, resources, structured tool results, and optional MCP Apps for interactive Notion workflows. Highlights Search and target discovery with . Compact page reading with stable block IDs via . Schema-aware data

source querying and item creation with simple values. Simple page editing tools for paragraphs, headings, lists, todos, quotes, callouts, code blocks, dividers, and safe Markdown append. Raw Notion API tools for advanced block, page, database, data source, comment, and user operations. Optional MCP Apps: Data Source Explorer and Page Workbench. Quick Start Add this server to an MCP host such as Claude Desktop: Restart your MCP host after saving the configuration. Create a Notion integration Open the Notion integrations dashboard

, then create a new internal integration. Configure capabilities Grant only the capabilities you need: Read content: required for search, page reads, data source retrieval, and queries. Insert content: required for creating pages/items and appending blocks. Update content: required for updating pages, blocks, and data source schemas. Read comments / Insert comments: required only for comment tools. User information: required only when using user lookup tools. For full functionality during setup, enable read, insert, and update content. Add comment or user

capabilities only if you plan to use those tools. Grant content access Open the **Content access** tab for your integration, then select the pages or databases you want the MCP server to read or edit. You can also grant access from the target Notion page or database: open the menu, choose **Connections**, then add your integration. Notion only lets an integration access pages and databases that have been shared with it. A connection added to a page can also access

that page's children. Copy the internal integration token Copy the integration secret. This value becomes in your MCP host config. Configure your MCP host For Cursor, Claude Desktop, and other MCP hosts, add this server config to your MCP settings: For a locally built checkout: Recommended Workflow 1. Use for page context and editable block IDs. Use before querying or creating data source items. Fall back to raw JSON tools only when the simplified tools do not cover the Notion

API shape you need. For Developers These references are mainly for development, customization, and advanced MCP workflows: Configuration: environment variables, command-line arguments, MCP host examples, development commands, and troubleshooting. Tools: complete tool reference grouped by workflow area. Workflows: practical read, write, data source, migration, and error-handling guidance. MCP Apps: interactive Data Source Explorer and Page Workbench details. Use the MCP inspector during local development: License This MCP server is licensed under the MIT License. This means you are

free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more

常见问题

记录了多少星标和分叉?

suekou/mcp-notion-server 有 920 个星标和 181 个分叉。

仓库排名是多少?

suekou/mcp-notion-server 排名第 12,638。

记录的语言和类别是什么?

suekou/mcp-notion-server 有 920 个星标,语言为 TypeScript,类别为 AI Engineering。

哪个仓库排名最接近?

suekou/mcp-notion-server 与 aws/nova-act 比较,后者排名第 12,642,有 919 个星标。

README

Notion MCP Server

AI-friendly MCP server for the Notion API. It helps agents find, read, query, and update Notion workspaces while keeping responses compact enough for day-to-day AI workflows.

This server targets the Notion API 2026-03-11 and uses the current database/data source model. It exposes MCP tools, prompts, resources, structured tool results, and optional MCP Apps for interactive Notion workflows.

Highlights

  • Search and target discovery with notion_find.
  • Compact page reading with stable block IDs via notion_read_page.
  • Data source schema inspection with notion_inspect_data_source.
  • Schema-aware data source querying and item creation with simple values.
  • Simple page editing tools for paragraphs, headings, lists, todos, quotes, callouts, code blocks, dividers, and safe Markdown append.
  • Raw Notion API tools for advanced block, page, database, data source, comment, and user operations.
  • Optional MCP Apps: Data Source Explorer and Page Workbench.

Quick Start

Add this server to an MCP host such as Claude Desktop:

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@suekou/mcp-notion-server"],
      "env": {
        "NOTION_API_TOKEN": "your-integration-token"
      }
    }
  }
}

Restart your MCP host after saving the configuration.

Setup Guide

1. Create a Notion integration

Open the Notion integrations dashboard, then create a new internal integration.

2. Configure capabilities

Grant only the capabilities you need:

  • Read content: required for search, page reads, data source retrieval, and queries.
  • Insert content: required for creating pages/items and appending blocks.
  • Update content: required for updating pages, blocks, and data source schemas.
  • Read comments / Insert comments: required only for comment tools.
  • User information: required only when using user lookup tools.

For full functionality during setup, enable read, insert, and update content. Add comment or user capabilities only if you plan to use those tools.

3. Grant content access

Open the Content access tab for your integration, then select the pages or databases you want the MCP server to read or edit.

You can also grant access from the target Notion page or database: open the ... menu, choose Connections, then add your integration.

Notion only lets an integration access pages and databases that have been shared with it. A connection added to a page can also access that page's children.

4. Copy the internal integration token

Copy the integration secret. This value becomes NOTION_API_TOKEN in your MCP host config.

5. Configure your MCP host

For Cursor, Claude Desktop, and other MCP hosts, add this server config to your MCP settings:

{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@suekou/mcp-notion-server"],
      "env": {
        "NOTION_API_TOKEN": "secret_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

For a locally built checkout:

{
  "mcpServers": {
    "notion": {
      "command": "node",
      "args": ["/absolute/path/to/suekou-mcp-notion-server/build/index.js"],
      "env": {
        "NOTION_API_TOKEN": "secret_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Recommended Workflow

  1. Use notion_find to locate a page or data source.
  2. Use notion_read_page for page context and editable block IDs.
  3. Use notion_inspect_data_source before querying or creating data source items.
  4. Use notion_query_data_source_by_values and notion_create_data_source_item_from_values for common data source work.
  5. Use notion_append_markdown, notion_append_content, notion_update_content, or notion_update_content_batch for normal page edits.
  6. Fall back to raw JSON tools only when the simplified tools do not cover the Notion API shape you need.

For Developers

These references are mainly for development, customization, and advanced MCP workflows:

  • Configuration: environment variables, command-line arguments, MCP host examples, development commands, and troubleshooting.
  • Tools: complete tool reference grouped by workflow area.
  • Workflows: practical read, write, data source, migration, and error-handling guidance.
  • MCP Apps: interactive Data Source Explorer and Page Workbench details.

Development

This project uses Node.js 22 or newer and pnpm.

pnpm install --frozen-lockfile
pnpm run build
pnpm test

Use the MCP inspector during local development:

pnpm run inspector

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

排名相邻
同类项目