MCP Notion Server

Integrations

  • Provides tools for interacting with Notion databases and pages, enabling CRUD operations on Notion content, querying databases with filters, managing page properties, and working with blocks. Also offers AI-powered tools for content analysis, summarization, and tag suggestion.

mcp-notion-server

A Model Context Protocol server for Notion integration

This TypeScript-based MCP server implements a bridge between Claude and Notion, allowing seamless interaction with Notion's databases and pages. It demonstrates core MCP concepts through:

  • Resource management for Notion pages and databases
  • Tools for CRUD operations on Notion content
  • AI-powered prompts for content analysis

Features

Resources

  • Access Notion pages and databases via URIs
  • Support for plain text and rich text content types
  • Metadata extraction from Notion properties

Tools

Database Operations
  • list_databases - List all accessible Notion databases
  • create_database - Create a new database with custom properties
  • query_database - Search and filter database entries
  • update_database - Modify database properties and schema
Page Operations
  • create_page - Create new pages in databases or as subpages
    • Support for title, properties, and markdown content
  • update_page - Update existing page properties
  • get_page - Retrieve page content and metadata
  • delete_page - Remove pages from databases or parent pages
Block Operations
  • append_blocks - Add new blocks to a page
  • delete_blocks - Remove blocks from a page
  • get_blocks - Retrieve block content
  • update_blocks - Modify existing block content

Prompts

  • summarize_notes - Generate concise summaries of notes
  • analyze_content - Provide insights and analysis of page content
  • suggest_tags - Recommend relevant tags based on content

Setup

Prerequisites

  • Node.js 18 or higher
  • Notion API Key and Integration setup
  • Claude Desktop application

Integration with Claude Desktop

Create a Notion Integration:

  1. Visit the Notion Your Integrations page.
  2. Click "New Integration".
  3. Name your integration and select appropriate permissions (e.g., "Read content", "Update content").
  4. Retrieve the Secret Key:
  5. Copy the "Internal Integration Token" from your integration. This token will be used for authentication.
  6. Add the Integration to Your Workspace:
  7. Open the page or database you want the integration to access in Notion.
  8. Click the navigation button in the top right corner.
  9. Click "Connect to" button and select your integration.

Configuration Setup

Add the server configuration to Claude Desktop:

MacOS:

~/Library/Application Support/Claude/claude_desktop_config.json

Windows:

%APPDATA%/Claude/claude_desktop_config.json

Configuration content:

{ "mcpServers": { "mcp-notion-server": { "command": "npx", "args": [ "-y", "@gabornyerges/mcp-notion-server" ], "env": { "NOTION_API_KEY": "your-notion-api-key" } } } }

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

  1. MCP Inspector
npm run inspector

MIT License - see LICENSE for details

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A bridge between Claude AI and Notion that enables users to interact with Notion databases and pages through natural language, supporting operations like creating, reading, updating, and deleting content.

  1. Features
    1. Resources
    2. Tools
    3. Prompts
  2. Setup
    1. Prerequisites
  3. Integration with Claude Desktop
    1. Configuration Setup
    2. Debugging

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    Enables interaction with Notion through the Notion API by exposing it as tools for LLMs, allowing operations like reading, creating, updating, and deleting Notion pages seamlessly via natural language.
    Last updated -
    41
    17
    TypeScript
  • -
    security
    A
    license
    -
    quality
    Enables Language Models to interact with Notion workspaces through standardized tools for searching, reading, creating, and updating pages and databases.
    Last updated -
    39
    TypeScript
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    A simple server that integrates with Claude to allow querying and manipulating Notion pages and databases through natural language prompts.
    Last updated -
    275
    JavaScript
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.
    Last updated -
    12
    64
    10
    JavaScript
    • Apple

View all related MCP servers

ID: stxohtlgox