notion.com
notion.com logo

Notion

Interact with Notion workspaces by searching, reading, creating, and updating pages.

Created byApr 22, 2025

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:

Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • Notion API key
  • MCP-compatible client (e.g., Claude Desktop)

Installation

  1. Clone the repository:
  1. Install dependencies:
  1. Set up your environment:
  1. Build the server:

Configuration

Claude Desktop Setup

  1. Update your Claude Desktop configuration (claude_desktop_config.json):
  1. Restart Claude Desktop to apply changes

Available Tools

Page Operations

Database Operations

Setting Up Notion Access

Creating an Integration

  1. Visit Notion Integrations
  1. Click "New integration"
  1. Configure permissions:

Connecting Pages

  1. Open your Notion page
  1. Click "..." menu "Connections"
  1. Add your integration
  1. Repeat for other pages as needed

Usage Examples

Creating a Page

Querying a Database

Contributing

Contributions are welcome! Please:
  1. Fork the repository
  1. Create a feature branch
  1. 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:

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:

Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • Notion API key
  • MCP-compatible client (e.g., Claude Desktop)

Installation

  1. Clone the repository:
  1. Install dependencies:
  1. Set up your environment:
  1. Build the server:

Configuration

Claude Desktop Setup

  1. Update your Claude Desktop configuration (claude_desktop_config.json):
  1. Restart Claude Desktop to apply changes

Available Tools

Page Operations

Database Operations

Setting Up Notion Access

Creating an Integration

  1. Visit Notion Integrations
  1. Click "New integration"
  1. Configure permissions:

Connecting Pages

  1. Open your Notion page
  1. Click "..." menu "Connections"
  1. Add your integration
  1. Repeat for other pages as needed

Usage Examples

Creating a Page

Querying a Database

Contributing

Contributions are welcome! Please:
  1. Fork the repository
  1. Create a feature branch
  1. 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: