Notion MCP Server
Notion MCP サーバー
Claude やその他の AI アシスタントを Notion ワークスペースに接続する Model Context Protocol (MCP) サーバー。この統合により、AI アシスタントは Notion のデータベース、ページ、ブロックとやり取りできるようになります。
これは何ですか?
このツールは、AIアシスタント(Claudeなど)とNotionワークスペースをつなぐ橋渡しとして機能します。AIは以下のことが可能になります。
Notionデータベースの表示と検索
ページの作成と更新
コンテンツブロックを管理する
その他にも多数あります!
Related MCP server: Notion MCP Server
ステップバイステップのセットアップガイド
前提条件
Node.js (バージョン 14 以上)
Notionアカウント
Claude デスクトップ アプリ (Claude と併用する場合)
1. Notion APIキーの取得
https://www.notion.so/my-integrationsにアクセスしてください。
青い**「+新しい統合」**ボタンをクリックします
詳細を入力してください:
名前: 「Claude Assistant」や「AI Helper」などの名前を選択します
ロゴ: オプション
関連ワークスペース: Notionワークスペースを選択してください
**「送信」**をクリック
次のページで、 **「内部統合トークン」**セクションを見つけます
**「表示」**をクリックしてトークンをコピーします(
secret_で始まります)。
2. このサーバーの設定
このリポジトリをコンピュータにダウンロードします
Gitをお持ちの場合:
git clone [repository-url]またはZIPファイルをダウンロードして解凍してください
コマンドプロンプトまたはターミナルを開きます
Windows:
Win+Rを押して、cmdと入力し、Enter を押します。Mac: アプリケーション > ユーティリティからターミナルを開きます
このリポジトリをダウンロードしたフォルダに移動します。
cd path/to/notion-mcp-server必要な依存関係をインストールします。
npm install設定ファイルを作成します。
.env.exampleのコピーを作成し、.envという名前を付けます。テキストエディタで
.envファイルを開きますyour_notion_api_key_here先ほどコピーしたトークンに置き換えますファイルを保存する
3. Notionページへの接続
セキュリティ上の理由から、Notion では各ページまたはデータベースへのアクセスを明示的に許可する必要があります。
Notionを開き、AIにアクセスさせたいページまたはデータベースに移動します
右上隅の**「•••」** (3つの点)をクリックします
**「接続を追加」**を選択
先ほど作成した統合を見つけて選択します
アクセス可能にしたい他のページやデータベースについても繰り返します
4. Claude Desktopへの接続
Claude Desktop 構成ファイルを見つけます。
Windows:
%APPDATA%\Claude\claude_desktop_config.json(このパスをファイルエクスプローラーのアドレスバーに入力してください)Mac:
~/Library/Application Support/Claude/claude_desktop_config.json(Finder で、Cmd+Shift+G を押してこのパスを貼り付けます)
テキストエディタでファイルを開きます。ファイルが存在しない場合は、以下の内容で作成してください。
{ "mcpServers": { "notion": { "command": "node", "args": [ "C:\\path\\to\\notion-mcp-server\\server.js" ], "env": { "NOTION_API_KEY": "your_notion_api_key_here" } } } }交換する:
C:\\path\\to\\notion-mcp-server\\server.jsserver.js ファイルへの実際のパスに置き換えます。Windows: パスに二重のバックスラッシュ (\\) を使用します
Mac: スラッシュ (/) を使用する
your_notion_api_key_hereに Notion API キーを入力します
ファイルを保存し、Claude Desktopを再起動します。
5. 接続のテスト
クロードで新しい会話を始める
Claude に Notion ワークスペースを操作するように依頼します。例:
「Notionデータベースのリストを表示」
「タスクデータベースに「テストタスク」というタイトルの新しいページを作成します」
利用可能なツール
サーバーは AI アシスタントに次のツールを提供します。
list-databases : アクセス可能なすべてのデータベースを表示する
query-database : データベースからエントリを取得する
create-page : データベースに新しいページを追加する
update-page : 既存のページを変更する
create-database : 新しいデータベースを作成する
update-database : データベース構造を変更する
get-page : 特定のページを表示する
get-block-children : コンテンツブロックを表示する
append-block-children : ページにコンテンツを追加する
update-block : コンテンツブロックを編集する
get-block : 特定のブロックを表示する
検索: ワークスペース全体のコンテンツを検索
トラブルシューティング
よくある問題:
クロードの「接続に失敗しました」
claude_desktop_config.json のサーバーパスが正しいことを確認してください
Notion APIキーが有効であることを確認してください
Node.jsが正しくインストールされていることを確認する
Notionコンテンツにアクセスすると「アクセスが拒否されました」
ページ/データベースを統合で共有していることを確認してください
APIキーに必要な権限があることを確認してください
サーバーが起動しません
すべての依存関係がインストールされていることを確認する(
npm install)APIキーを含む.envファイルが存在することを確認してください
ヘルプの取得
ここに記載されていない問題が発生した場合は、次の手順に従ってください。
コンソール出力でエラーメッセージを確認します
Notion APIキーが有効であることを確認してください
統合がページ/データベースにアクセスできることを確認します
ライセンス
マサチューセッツ工科大学
Available Tools
12 toolsappend-block-childrenC
Append blocks to a parent block
Inputs: block_id (required), children (required), after.
create-databaseC
Create a new database
Inputs: parent_id (required), properties (required), title (required), cover, +1 more.
create-pageC
Create a new page in a database
Inputs: parent_id (required), properties (required), children.
get-blockC
Retrieve a block by its ID
Inputs: block_id (required).
get-block-childrenC
Retrieve the children blocks of a block
Inputs: block_id (required), page_size, start_cursor.
get-pageC
Retrieve a page by its ID
Inputs: page_id (required).
list-databasesB
List all databases the integration has access to
Inputs: no named parameters.
query-databaseC
Query a database
Inputs: database_id (required), filter, page_size, sorts, +1 more.
searchC
Search Notion for pages or databases
Inputs: filter, page_size, query, sort, +1 more.
update-blockC
Update a block's content or archive status
Inputs: block_id (required), block_type (required), content (required), archived.
update-databaseC
Update an existing database
Inputs: database_id (required), description, properties, title.
update-pageC
Update an existing page
Inputs: page_id (required), properties (required), archived.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool has a clearly distinct purpose targeting specific Notion resources and actions, with no overlap that would cause confusion. For example, 'get-block' retrieves a single block, 'get-block-children' retrieves child blocks, and 'append-block-children' adds new blocks, making them easily distinguishable.
All tools follow a consistent verb-noun pattern with hyphens separating words, such as 'create-database', 'update-page', and 'query-database'. This predictable naming convention enhances readability and agent usability without any deviations or mixed styles.
With 12 tools, this server is well-scoped for managing Notion's core resources like pages, blocks, and databases. Each tool earns its place by covering essential CRUD operations and specific functionalities like searching and querying, avoiding both bloat and thin coverage.
The tool set provides complete CRUD and lifecycle coverage for Notion's domain, including creation, retrieval, updating, and querying of pages, blocks, and databases. There are no obvious gaps, as it supports all major workflows from basic operations to advanced features like searching and appending blocks.
Maintenance
Related MCP Connectors
Hosted Notion MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Hosted Airtable MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Official Fibery MCP server: query and update your workspace from any AI client via OAuth.
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that enables Claude and other LLMs to interact with Notion workspaces, providing capabilities like searching, retrieving, creating and updating pages, as well as managing databases.103ISC
- AlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server that exposes the official Notion SDK, allowing AI models to interact with Notion workspaces.1735 npm10Apache 2.0
- AlicenseBqualityDmaintenanceA Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.12011MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides a standardized interface for AI models to access, query, and modify content in Notion workspaces.4MIT