Notion MCP Server
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Integrations
Enables interaction with Notion workspaces, providing tools for searching, reading, creating and updating pages, managing comments, performing block-level operations, and working with databases including creating, querying, and updating database items with various property types.
Notion MCP Server
A Model Context Protocol (MCP) server that provides seamless integration with Notion. This server enables Language Models to interact with your Notion workspace through standardized tools for searching, reading, creating, and updating pages and databases.
🌟 Key Features
Page Operations
- 🔍 Search through your Notion workspace
- 📝 Create new pages with rich markdown content
- 📖 Read page content with clean formatting
- 🔄 Update existing pages
- 💬 Add and retrieve comments
- 🧱 Block-level operations (update, delete)
Enhanced Markdown Support
- Multiple heading levels (H1-H3)
- Code blocks with language support
- Interactive todo items with checkbox states
- Blockquotes with multi-line support
- Horizontal dividers
- Images with captions
- Nested bullet points
Database Operations
- Create and manage databases
- Add and update database items
- Query with filters and sorting
- Support for various property types:
- Title, Rich text, Number
- Select, Multi-select
- Date, Checkbox
- And more!
🚀 Getting Started
Prerequisites
- Node.js (v16 or higher)
- Notion API key
- MCP-compatible client (e.g., Claude Desktop)
Installation
- Clone the repository:
- Install dependencies:
- Set up your environment:
- Build the server:
🔧 Configuration
Claude Desktop Setup
- Update your Claude Desktop configuration (
claude_desktop_config.json
):
- Restart Claude Desktop to apply changes
🛠️ Available Tools
Page Operations
Database Operations
🔐 Setting Up Notion Access
Creating an Integration
- Visit Notion Integrations
- Click "New integration"
- Configure permissions:
- Content: Read, Update, Insert
- Comments: Read, Create
- User Information: Read
Connecting Pages
- Open your Notion page
- Click "..." menu → "Connections"
- Add your integration
- Repeat for other pages as needed
📝 Usage Examples
Creating a Page
Querying a Database
🤝 Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Submit a Pull Request
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
This project has been significantly improved by sweir1/notion-server, who has made following updates:
- Enhanced markdown support with more block types
- Comprehensive database operations
- Improved error handling and debugging
- Better property handling for database items
- Cleaner page output formatting
To use sweir1's version, you can clone their repository:
This server cannot be installed
Enables Language Models to interact with Notion workspaces through standardized tools for searching, reading, creating, and updating pages and databases.
- 🌟 Key Features
- 🚀 Getting Started
- 🔧 Configuration
- 🛠️ Available Tools
- 🔐 Setting Up Notion Access
- 📝 Usage Examples
- 🤝 Contributing
- 📜 License
- 🙏 Acknowledgments