Notion logo

Notion

by @n24q02m

Markdown-first MCP access to Notion pages, databases, blocks, and comments over stdio or HTTP.

Install Notion

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "n24q02m-notion": {
      "command": "npx",
      "args": [
        "--yes",
        "@n24q02m/notion@latest"
      ],
      "env": {
        "NOTION_TOKEN": "YOUR_VALUE_HERE",
        "MCP_AUTH_MODE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx --yes @n24q02m/notion@latest

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

@n24q02m/notion connects AI agents to the Notion API through Markdown-oriented tools for pages, databases, blocks, and comments. It provides eight composite tools with 39 actions, automatic pagination, and bulk operations so agents can complete multi-step Notion tasks in fewer calls. Run it locally over stdio with a Notion integration token, or expose it over HTTP with bearer-token authentication modes. Reach for it when an agent needs to read or modify structured Notion workspace content without handling raw block JSON.

Use cases

  • Read and update Notion pages using Markdown
  • Query and modify Notion databases
  • Create or change blocks in bulk
  • Work with Notion comments from an AI agent
  • Run Notion MCP access locally or over HTTP

Key features

  • Markdown input and output
  • Eight composite tools with 39 actions
  • Automatic pagination
  • Bulk operations
  • stdio and HTTP transports
  • On-demand help capability

Tools10

What Notion lets your agent do. Expand a tool for its parameters.

Self-reported~122 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

6/6 checks healthy over the last 20d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @n24q02m/notion@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars38Stargazers on the source repository.
npm downloads5.6kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed10Callable tools this server registers over MCP.

How Notion works

What @n24q02m/notion does

@n24q02m/notion exposes Notion workspace operations through the Model Context Protocol. Its interface is designed around Markdown input and output, making page content easier for an agent or developer to inspect than raw Notion block structures. The covered workspace objects include pages, databases, blocks, and comments.

The package groups functionality into eight composite MCP tools containing 39 actions. It also provides config and help capabilities. Composite operations can combine work that would otherwise require multiple Notion API calls, while bulk operations handle repeated work without requiring the caller to manage each request manually.

How it works

The package supports two transports:

  • stdio, which is the default for local MCP client integrations
  • HTTP, started with the --http option

In stdio mode, an MCP client launches the notion command and communicates through standard input and output. The server authenticates to Notion with an integration token. The package is available through npx, as a Docker image for stdio use, or as a directly installed command-line package.

HTTP authentication is selected with MCP_AUTH_MODE. The supported modes are multi, which is the default, token, and no-auth. The HTTP form is suitable when the MCP endpoint needs to be reached remotely rather than launched inside each client.

The tool layer includes automatic pagination and bulk handling. Tool actions can also be invoked from the command line, using the same handlers as their MCP counterparts. Command-line inputs use the tool schemas, with kebab-case flags, optional JSON output, and support for repeated or comma-separated array values.

Setup and configuration

A local setup requires Node.js 24 or newer and a Notion integration token beginning with ntn_. Create the token through Notion's integrations settings, then add the package to an MCP client's server configuration:

config.json
{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["--yes", "@n24q02m/notion@latest"],
      "env": { "NOTION_TOKEN": "ntn_your_token_here" }
    }
  }
}

The same package can be started directly with NOTION_TOKEN set in the environment. For containerized stdio deployments, the published Docker image accepts the token with -e NOTION_TOKEN=... and must be run interactively so the MCP client can communicate with it.

The command-line package also includes auth, config, status, logout, doctor, and token commands. The legacy better-notion-mcp command remains available as an alias, while the package name is @n24q02m/notion.

Tools and capabilities

The server provides:

  • Markdown-oriented page content input and output
  • Page operations
  • Database operations
  • Block operations
  • Comment operations
  • Eight composite tools with 39 actions
  • Automatic pagination for multi-page API results
  • Bulk operations for repeated changes
  • A help capability for on-demand tool guidance
  • A config capability for configuration-related operations

The repository's client examples cover Claude Code, Codex CLI, OpenCode, Cursor, Windsurf, and Gemini CLI. Any MCP client that supports the relevant stdio or HTTP transport can use the corresponding server configuration.

Limitations and notes

The server depends on the permissions granted to the Notion integration token. Content must be accessible to that integration for the related operations to work. Local stdio mode requires the token in the environment, while HTTP deployments require choosing an authentication mode and configuring the endpoint accordingly.

The tool interface is optimized around Markdown rather than exposing every Notion API detail as a separate low-level operation. Agents that need direct control over raw API request construction may find the composite abstraction less suitable. The package also requires Node.js 24 or newer when run through its Node-based installation path.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Notion

@n24q02m/notion is an MCP server that connects AI agents to the Notion API. Its main tools work with pages, databases, blocks, and comments, using Markdown-oriented input and output. It offers eight composite tools with 39 actions, plus automatic pagination and bulk operations, over local stdio or authenticated HTTP.

Install it with `npx` in your MCP client configuration and set `NOTION_TOKEN` to a Notion integration token. Use `@n24q02m/notion@latest` as the package argument, or run the published Docker image for a stdio deployment. Node.js 24 or newer is required for the Node-based installation.

Yes, @n24q02m/notion works with Cursor through an `mcpServers` JSON configuration. Use the stdio example with `npx`, pass `@n24q02m/notion@latest`, and provide the Notion integration token as `NOTION_TOKEN`.

Run `npx --yes @n24q02m/notion@latest --http` to start HTTP mode. Authentication is selected with `MCP_AUTH_MODE`, which supports `multi` as the default, `token`, or `no-auth`. Configure the resulting HTTP endpoint in an MCP client that supports the transport.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewNotion AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/n24q02m-notion?style=directory)](https://allmcps.com/mcp/n24q02m-notion)
HTML Embed
<a href="https://allmcps.com/mcp/n24q02m-notion"><img src="https://allmcps.com/api/badge/n24q02m-notion?style=directory" alt="Notion on AllMCPs" /></a>