Notion MCP Server

Notion MCP Server

notion-mcp-flyer103•byflyer103

An MCP server that connects AI models to Notion's API for working with Notion documents, databases, and data.

License: Apache License 2.0•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Provides page tools to get, update, and create Notion pages.
  • •Provides database tools to get, query, create, and update Notion databases.
  • •Provides block tools to get, update, list children of, append to, and delete Notion blocks.
  • •Provides comment and search tools for Notion objects.

BEST FOR

  • •Enabling AI clients such as Claude for Desktop to create pages and search a Notion workspace.
  • •Web-based integrations that need the server over an SSE transport.
  • •Applications that need programmatic access to Notion pages, databases, and blocks through MCP tools.

ABOUT NOTION-MCP-FLYER103

Notion MCP Server is cataloged as an MCP server attributed to flyer103. An MCP server that connects AI models to Notion's API for working with Notion documents, databases, and data. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Apache License 2.0. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Notion MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What transport methods does the Notion MCP server support?

It supports standard input/output (stdio) as the default mode and Server-Sent Events (SSE) for web-based integrations.

How does the server authenticate with Notion?

You set a Notion API key as the NOTION_API_KEY environment variable and share Notion content with the integration.

Upstream README

View this exact version on GitHub

README.md · ad3571f2d639 · Fetched 2026-11-13 13:55:47 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Notion MCP Server

A Model Context Protocol (MCP) server for interacting with Notion APIs.

Overview

This project implements an MCP server that interfaces with Notion's API, allowing AI models to interact with Notion documents and data. It follows the Model Context Protocol specification and uses the official MCP Python SDK.

Requirements

  • Python 3.12 or higher
  • uv for package management

Installation

# Clone the repository
git clone https://github.com/flyer103/notion-mcp.git
cd notion-mcp

# Install dependencies using uv
uv venv
source .venv/bin/activate
uv pip install -e ".[dev]"

Configuration

Before using the Notion MCP server, you need to set up a Notion integration and get an API key:

  1. Go to https://www.notion.so/my-integrations
  2. Create a new integration
  3. Set the API key as an environment variable:
export NOTION_API_KEY="your_api_key_here"
  1. Share your Notion content with the integration:
    • Open the Notion page you want to access
    • Click the "..." menu in the top-right corner
    • Select "Add connections"
    • Find and select your integration from the list
    • The integration now has access to this page and all its subpages

Usage

The Notion MCP server supports two transport methods:

1. Standard Input/Output (stdio)

This is the default mode, used by Claude for Desktop and other MCP-compatible LLM clients:

python -m notion_mcp.server

2. Server-Sent Events (SSE)

For web-based integrations, you can use the SSE transport:

python -m notion_mcp.server --transport sse --host 0.0.0.0 --port 8000

The server will be available at http://localhost:8000/sse

Available Tools

The Notion MCP server provides the following capabilities as tools:

Page Operations

  • get_page: Get a Notion page by ID
  • update_page: Update a Notion page's properties
  • create_page: Create a new Notion page

Database Operations

  • get_database: Get a Notion database by ID
  • query_database: Query a Notion database
  • create_database: Create a new Notion database
  • update_database: Update a Notion database

Block Operations

  • get_block: Get a Notion block by ID
  • update_block: Update a Notion block's content
  • list_blocks: List a block's children
  • append_blocks: Append blocks to a block's children
  • delete_block: Delete a Notion block

Comment Operations

  • create_comment: Create a new Notion comment
  • get_comment: Get a Notion comment by ID

Search Operations

  • search: Search for Notion objects

Command-Line Options

usage: python -m notion_mcp.server [-h] [--port PORT] [--host HOST] [--transport {stdio,sse}] [--debug]

Notion MCP Server

options:
  -h, --help            show this help message and exit
  --port PORT           Port to listen on for SSE transport
  --host HOST           Host to bind the server to
  --transport {stdio,sse}
                        Transport type (stdio or sse)
  --debug               Enable debug mode

Testing with Claude for Desktop

To use this MCP server with Claude for Desktop, you need to create a configuration file:

  1. Create a file called claude_desktop_config.json in the following location:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Add the following configuration to the file (adjust paths as needed):

{
  "mcpServers": {
    "notion-mcp": {
      "command": "/ABSOLUTE/PATH/TO/YOUR/uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/YOUR/notion-mcp",
        "run",
        "-m",
        "notion_mcp.server"
      ],
      "env": {
        "NOTION_API_KEY": "your_notion_api_key"
      }
    }
  }
}
  1. Replace /ABSOLUTE/PATH/TO/YOUR/uv with the absolute path to your uv executable
  2. Replace /ABSOLUTE/PATH/TO/YOUR/notion-mcp with the absolute path to your notion-mcp installation
  3. Replace your_notion_api_key with your Notion API key (or you can omit the env section if you've set it as a system environment variable)
  4. Save the file and restart Claude for Desktop

You can check Claude's logs for any MCP-related issues:

# Check Claude's logs for errors
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

Claude will now have access to your Notion MCP server and can interact with Notion documents. You can ask Claude to perform actions like "Create a page in Notion" or "Search my Notion workspace."

Verifying Configuration

To verify that Claude is correctly configured to use your Notion MCP server, you can ask Claude: "Can you list the tools you have access to?" or "Can you create a new page in my Notion workspace?"

If there are any connection issues, check that:

  • The configuration file is correctly formatted and in the right location
  • The paths in the configuration are correct
  • Your Notion integration has the proper permissions

Troubleshooting Common Issues

"spawn uv ENOENT" Error

If you encounter this error:

spawn uv ENOENT {"context":"connection","stack":"Error: spawn uv ENOENT\n at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n at onErrorNT (node:internal/child_process:483:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"}

This means Claude Desktop cannot find the uv executable in your PATH. To fix this:

  1. Find the absolute path to your uv executable:

    # On macOS/Linux
    which uv
    
    # On Windows
    where uv
    
  2. Use the full absolute path in your configuration:

    {
      "mcpServers": {
        "notion-mcp": {
          "command": "/ABSOLUTE/PATH/TO/YOUR/uv",
          "args": [
            "--directory",
            "/ABSOLUTE/PATH/TO/YOUR/notion-mcp",
            "run",
            "-m",
            "notion_mcp.server"
          ],
          "env": {
            "NOTION_API_KEY": "your_notion_api_key"
          }
        }
      }
    }
    
  3. Save the file and restart Claude Desktop.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Notion MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/notion-mcp-flyer103)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops