Notion MCP Server

by @makenotion

Notion MCP Server

Connect an MCP client to the Notion API to work with pages and data sources. This local server supports Markdown content operations, but Notion now prioritizes its separate remote MCP service.

Memory & Knowledge4,672nodeMIT

Server facts

Notion MCP Server

GitHub stars

4,672

Last commit

Sep 20, 2026

Runtime

node

License

MIT

Tech

Runtime
node
Transports
stdio
Remote access
No

Activity

GitHub stars
4,672
Last commit
Data as of

Tags

  • Data Sources
  • Knowledge Management
  • Markdown
  • Notion

Overview

Notion MCP Server connects compatible AI clients to the Notion API, exposing operations for workspace pages, databases, and data sources. Its database model follows the API migration that made data sources the main unit for querying and schema changes. The README identifies tools for filtered queries, metadata retrieval, template discovery, and moving pages. It also describes reading and editing page content as Markdown, which avoids requiring agents to manipulate block JSON for those tasks. Different operations receive their required Notion API version automatically unless a custom header overrides that behavior.

Setup starts with an internal Notion integration and an explicit choice of which pages and databases it can access. Capabilities can be narrowed to reading content when write access is unnecessary. The package can run through npm or Docker, with standard input/output as the default connection method. Streamable HTTP is also available and normally requires bearer authentication; per-connection Notion token passthrough can serve multiple integrations. The main caveat is project status: Notion says its remote MCP service receives active support, while this local repository may eventually be retired and its issues and pull requests are not actively watched. Existing users should also review renamed database tools when upgrading.

Install & configure

Requirements

  • A Notion internal integration
  • Access granted to the relevant pages or databases
  • An MCP-compatible client
  • npx for the npm launch method
Documented launch / install command
npx -y @notionhq/notion-mcp-server

This configuration launches the local stdio server. HTTP and Docker alternatives are documented. Notion prioritizes support for its separate remote service.

Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Desktop configuration
{
  "mcpServers": {
    "notion-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@notionhq/notion-mcp-server"
      ],
      "env": {
        "NOTION_TOKEN": "<Notion internal integration token>"
      }
    }
  }
}

Read the Claude Desktop setup guide

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.

Cursor configuration
{
  "mcpServers": {
    "notion-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@notionhq/notion-mcp-server"
      ],
      "env": {
        "NOTION_TOKEN": "<Notion internal integration token>"
      }
    }
  }
}

Read the Cursor setup guide

Config file · Workspace: .vscode/mcp.json

For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.

VS Code configuration
{
  "servers": {
    "notion-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@notionhq/notion-mcp-server"
      ],
      "env": {
        "NOTION_TOKEN": "<Notion internal integration token>"
      }
    }
  }
}

Read the VS Code setup guide

Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json

Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.

Windsurf configuration
{
  "mcpServers": {
    "notion-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@notionhq/notion-mcp-server"
      ],
      "env": {
        "NOTION_TOKEN": "<Notion internal integration token>"
      }
    }
  }
}

Read the Windsurf setup guide

Config file · Project scope: .mcp.json at the repository root

The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Code configuration
{
  "mcpServers": {
    "notion-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@notionhq/notion-mcp-server"
      ],
      "env": {
        "NOTION_TOKEN": "<Notion internal integration token>"
      }
    }
  }
}

Read the Claude Code setup guide

Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.

Tools

Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.

ToolWhat it does
query-data-sourceSearch a data source using filters and sort rules.
retrieve-a-data-sourceRead a data source schema and metadata.
update-a-data-sourceChange properties belonging to a data source.
create-a-data-sourceAdd a new data source.
list-data-source-templatesFind templates available within a data source.
move-pageRelocate a page beneath another parent.
retrieve-a-databaseRead database metadata and associated data source identifiers.
retrieve-page-markdownFetch page content as Markdown, optionally including meeting transcripts.
update-page-markdownReplace page Markdown or apply targeted text changes.

Use cases

  • Query Notion data sources with filters and sorting.
  • Read page content as Markdown for an AI workflow.
  • Update page text or move a page to another parent.
  • Inspect database metadata and data source schemas.

Strengths

  • Offers Markdown reading and editing alongside data source operations.
  • Supports scoped integration capabilities and explicit page access.
  • Provides stdio, HTTP, and Docker deployment choices.

Limitations

  • The local repository no longer receives active issue and pull request monitoring.
  • Upgrading can require changes to hardcoded database tool names.

Notion MCP Server setup notes

  • Check NOTION_TOKEN in the Notion MCP Server configuration if startup or authentication fails.
  • Notion MCP Server's stdio example needs a client that launches local processes.

Frequently asked questions

No. The README distinguishes this local repository from Notion MCP remote, which receives active support.

Related MCP servers