Integrates with the Notion API to enable database and page management operations, including listing databases, querying...
Created byApr 23, 2025
Notion MCP Server
A Model Context Protocol (MCP) server that connects Claude and other AI assistants to your Notion workspace. This integration allows AI assistants to interact with your Notion databases, pages, and blocks.
What is this?
This tool acts as a bridge between AI assistants (like Claude) and your Notion workspace. It allows the AI to:
Once downloaded, extract the ZIP file to a location on your computer
Option B: Clone with Git (For users familiar with Git)
Open a command prompt or terminal
Navigate to where you want to store the repository
Clone the repository
Navigate to the Project Directory
After downloading or cloning, you need to navigate to the project folder using the cd (change directory) command:
If you downloaded the ZIP (Option A):
Open a command prompt or terminal
Use the cd command to navigate to where you extracted the ZIP file:For example:
If you cloned with Git (Option B):
The repository should have been cloned into a folder named "notionMCP"
If you're still in the same terminal window after cloning, simply type:
How to know you're in the right directory:
After using the cd command, you can check your current location:
Install Dependencies
Once you're in the notionMCP directory, install the required dependencies:
This will install all the necessary Node.js packages. You should see a progress bar and eventually a message indicating the installation is finished. It might say something along the lines of "X Packages are looking for funding" - this is completely normal and means it worked.
3. Connecting to Notion Pages
For security, Notion requires you to explicitly grant access to each page or database:
Open Notion and navigate to a page or database you want the AI to access
Click the " " (three dots) in the top-right corner
Select "Add connections"
Find and select the integration you created earlier
Repeat for any other pages or databases you want to make accessible
4. Connecting to Claude Desktop
Locate your Claude Desktop configuration file:
Open the file in a text editor. If it doesn't exist, create it with the following content:
Replace:
Save the file and restart Claude Desktop
5. Testing the Connection
Start a new conversation in Claude
Ask Claude to interact with your Notion workspace, for example:
Available Tools
The server provides these tools to AI assistants:
list-databases: View all accessible databases
query-database: Get entries from a database
create-page: Add a new page to a database
update-page: Modify an existing page
create-database: Create a new database
update-database: Modify a database structure
get-page: View a specific page
get-block-children: View content blocks
append-block-children: Add content to a page
update-block: Edit content blocks
get-block: View a specific block
search: Find content across your workspace
Troubleshooting
Common Issues:
"Connection failed" in Claude
"Access denied" when accessing Notion content
Server won't start
Getting Help
If you encounter issues not covered here, please:
Check the console output for error messages
Ensure your Notion API key is valid
Verify that your integration has access to the pages/databases
License
MIT
Notion MCP Server
A Model Context Protocol (MCP) server that connects Claude and other AI assistants to your Notion workspace. This integration allows AI assistants to interact with your Notion databases, pages, and blocks.
What is this?
This tool acts as a bridge between AI assistants (like Claude) and your Notion workspace. It allows the AI to:
Once downloaded, extract the ZIP file to a location on your computer
Option B: Clone with Git (For users familiar with Git)
Open a command prompt or terminal
Navigate to where you want to store the repository
Clone the repository
Navigate to the Project Directory
After downloading or cloning, you need to navigate to the project folder using the cd (change directory) command:
If you downloaded the ZIP (Option A):
Open a command prompt or terminal
Use the cd command to navigate to where you extracted the ZIP file:For example:
If you cloned with Git (Option B):
The repository should have been cloned into a folder named "notionMCP"
If you're still in the same terminal window after cloning, simply type:
How to know you're in the right directory:
After using the cd command, you can check your current location:
Install Dependencies
Once you're in the notionMCP directory, install the required dependencies:
This will install all the necessary Node.js packages. You should see a progress bar and eventually a message indicating the installation is finished. It might say something along the lines of "X Packages are looking for funding" - this is completely normal and means it worked.
3. Connecting to Notion Pages
For security, Notion requires you to explicitly grant access to each page or database:
Open Notion and navigate to a page or database you want the AI to access
Click the " " (three dots) in the top-right corner
Select "Add connections"
Find and select the integration you created earlier
Repeat for any other pages or databases you want to make accessible
4. Connecting to Claude Desktop
Locate your Claude Desktop configuration file:
Open the file in a text editor. If it doesn't exist, create it with the following content:
Replace:
Save the file and restart Claude Desktop
5. Testing the Connection
Start a new conversation in Claude
Ask Claude to interact with your Notion workspace, for example:
Available Tools
The server provides these tools to AI assistants:
list-databases: View all accessible databases
query-database: Get entries from a database
create-page: Add a new page to a database
update-page: Modify an existing page
create-database: Create a new database
update-database: Modify a database structure
get-page: View a specific page
get-block-children: View content blocks
append-block-children: Add content to a page
update-block: Edit content blocks
get-block: View a specific block
search: Find content across your workspace
Troubleshooting
Common Issues:
"Connection failed" in Claude
"Access denied" when accessing Notion content
Server won't start
Getting Help
If you encounter issues not covered here, please:
Check the console output for error messages
Ensure your Notion API key is valid
Verify that your integration has access to the pages/databases