Notion MCP Server

Notion MCP Server

notion-mcp-server-grainne-b•bygrainne-b

A Python Model Context Protocol server that uses the Notion API to work with Notion pages, configured for use in Claude.

License: Not specified•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Runs as an MCP server via server.py, which can be launched in development or installed into Claude.
  • •Authenticates to the Notion API with a Notion API key stored in an environment variable.
  • •Uses the notion-client package to interact with Notion.

BEST FOR

  • •Interacting with Notion pages from Claude through an MCP server.
  • •Developers who want to create, run, and iterate on a Python MCP server connected to a Notion workspace.

ABOUT NOTION-MCP-SERVER-GRAINNE-B

Notion MCP Server is cataloged as an MCP server attributed to grainne-b. A Python Model Context Protocol server that uses the Notion API to work with Notion pages, configured for use in Claude. 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: Not specified. 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

How does the server authenticate with Notion?

It uses a Notion API key supplied through the NOTION_API_KEY environment variable.

What is needed to give the integration access to a Notion page?

The page must be shared with the integration by inviting it in the page's Share menu.

Upstream README

View this exact version on GitHub

README.md · caffbb7052ea · Fetched 2026-11-13 11:14:35 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.

Setting Up Notion API Key and Permissions

Creating a Notion API Key

  1. Go to Notion Integrations:

  2. Create a New Integration:

    • Click on "New Integration" and fill out the required fields such as the name of the integration, and select the workspace you want to connect to.
  3. Save the Integration:

    • After filling out the details, click "Submit" to create the integration. You will be provided with an API key.
  4. Copy the API Key:

    • Copy the API key and store it securely. You will use this key to authenticate your requests to the Notion API.

Giving a Page Permissions to Use the Integration

  1. Open Notion:

    • Navigate to the page you want to give permissions to.
  2. Share the Page:

    • Click on the "Share" button at the top right of the page.
  3. Invite the Integration:

    • In the "Invite" field, type the name of your integration and select it from the dropdown. This will give the integration access to the page.
  4. Set Permissions:

    • Ensure the integration has the necessary permissions (e.g., read, write) to perform the actions you need.

Code update

In notion_sdk.py , update the PAGE_ID, with the PAGE_ID of the page you created above. The page id can be retrieved by copying the page link

Setting Up uv for Python

  1. Install uv using Homebrew:

    • Ensure you have Homebrew installed on your system.
    • Run the following command to install uv:
      brew install uv
      
  2. Verify Installation:

    • Check if uv is installed correctly by running:
      uv --version
      
  3. Basic Usage:

    • You can run a Python script using uv with:
      uv run <your_script.py>
      

Notion parent page id

https://www.notion.so/MCP-Parent-Page-1d21f7216bdb80789f88fccd964b5031

Curl example

curl --location --request POST 'https://api.notion.com/v1/pages' \
--header 'Authorization: Bearer $NOTION_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Notion-Version: 2021-05-13' \
--data '{
"parent": { "page_id": "1d21f7216bdb80789f88fccd964b5031" },
"properties": {
    "title": [
        {
            "text": {
                "content": "Curl example"
            }
        }
    ]
}
}'

Notes

When installing in Claude, the key needs to be hardcoded

How to run

uv run mcp dev server.py

To use in Claude

uv run mcp install server.py

Will add to claude_desktop_config.json

{
  "mcpServers": {
    "Notion MCP Server": {
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "run",
        "/Users/UBHREGR/Documents/repos/experiments/notion_mcp_server/server.py"
      ],
      "env": {
        "NOTION_API_KEY": "REPLACE_ME"
      }
    }
  }
}
{
  "mcpServers": {
    "Notion MCP Server": {
"command": "bash",
"args": [
  "-c",
  "source /Users/UBHREGR/Documents/repos/experiments/notion_mcp_server/.venv/bin/activate && uv run mcp run /Users/UBHREGR/Documents/repos/experiments/notion_mcp_server/server.py"
      ],
      "env": {
        "NOTION_API_KEY": "TODO"
      }
    }
  }
}

Notion package

notion-client

Prompt to LLM to create docstrings

I am building an MCP (Model Context Protocol) server in Python.
The functions I provide will be registered as tools using @mcp.tool() from FastMCP.

Please generate a concise and informative docstring for each function I give you, following this structure:
	•	A one-line summary describing the function’s purpose.
	•	A section called Args: listing each argument with its type and purpose.
	•	A section called Returns: describing the return value and its type.

The docstring should help both humans and LLMs understand how and when to use the tool.

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-server-grainne-b)

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