sargonpiraev/notion-mcp-server
If you are the rightful owner of notion-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Notion API MCP Server is a tool designed to facilitate seamless integration of AI assistants with the Notion API, enabling automated workflows and real-time data access.
Notion API MCP Server 🔧
Features
- 🔌 Seamless AI Integration: Direct Notion API API access from Claude, Cursor, and VS Code
- 🤖 Automated Workflows: Automate Notion API operations and data access
- 📊 Complete API Coverage: 19+ tools covering all major Notion API features
- ⚡ Real-time Access: Access Notion API data instantly from AI assistants
- 🔧 Professional Integration: Error handling, validation, and comprehensive logging
Get Your Credentials
Before installation, you'll need a Notion API API key:
- Open Notion API app or web interface
- Go to Settings → Account → API Access
- Generate new API key or copy existing one
- Save this key for the installation steps below
Requirements
- Node.js >= v18.0.0
- Notion API API key
- Cursor, VS Code, Claude Desktop or another MCP Client
Installation
Installing via Smithery
To install Notion API MCP Server for any client automatically via Smithery:
npx -y @smithery/cli@latest install @sargonpiraev/notion-mcp-server --client <CLIENT_NAME>
Install in Cursor
Cursor One-Click Installation
Manual Configuration
Add to your Cursor ~/.cursor/mcp.json
file:
{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": ["-y", "@sargonpiraev/notion-mcp-server"],
"env": {
"NOTION_API_TOKEN": "your-notion_api_token"
}
}
}
}
Install in VS Code
Or add manually to your VS Code settings:
"mcp": {
"servers": {
"notion-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@sargonpiraev/notion-mcp-server"],
"env": {
"NOTION_API_TOKEN": "your-notion_api_token"
}
}
}
}
Install in Claude Desktop
Add to your claude_desktop_config.json
:
{
"mcpServers": {
"notion-mcp-server": {
"command": "npx",
"args": ["-y", "@sargonpiraev/notion-mcp-server"],
"env": {
"NOTION_API_TOKEN": "your-notion_api_token"
}
}
}
}
Available Tools
get-user
: Retrieve a userget-users
: List all usersget-self
: Retrieve your token's bot userpost-database-query
: Query a databasepost-search
: Search by titleget-block-children
: Retrieve block childrenpatch-block-children
: Append block childrenretrieve-a-block
: Retrieve a blockupdate-a-block
: Update a blockdelete-a-block
: Delete a blockretrieve-a-page
: Retrieve a pagepatch-page
: Update page propertiespost-page
: Create a pagecreate-a-database
: Create a databaseupdate-a-database
: Update a databaseretrieve-a-database
: Retrieve a databaseretrieve-a-page-property
: Retrieve a page property itemretrieve-a-comment
: Retrieve commentscreate-a-comment
: Create comment
Total: 19 tools available 🎯
Support This Project
Hi! I'm Sargon, a software engineer passionate about AI tools and automation. I create open-source MCP servers to help developers integrate AI assistants with their favorite services.
Your support helps me continue developing and maintaining these tools, and motivates me to create new integrations that make AI assistants even more powerful! 🚀
Connect with Author
- 🌐 Visit sargonpiraev.com
- 📧 Email: sargonpiraev@gmail.com
- 💬 Join Discord