Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

notion-mcp-server

local MCP server

notion-mcp-server is a local MCP server: Token-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents. Install it from npm as notion-mcp-server.

Installation

Terminal

claude mcp add notion-mcp-server -e NOTION_TOKEN=... -e NOTION_PAGE_ID=... -- npx -y notion-mcp-server

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

{
  "mcpServers": {
    "notion-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "notion-mcp-server"
      ],
      "env": {
        "NOTION_TOKEN": "...",
        "NOTION_PAGE_ID": "..."
      }
    }
  }
}

Fill in the environment variables with your own credentials.

What you need

  • Runtime: Node.js 18+ (runs with npx).
  • MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
  • Environment variables: NOTION_TOKEN, NOTION_PAGE_ID

Summary

Token-auth Notion MCP: pages, databases, blocks, comments, files. Runs headless in CI and agents.

notion-mcp-server vs similar servers

ServerStarsTypeAPI keyRuntime
notion-mcp-server171LocalYesnpm
Repomix29KLocalNonpm
dbx21KLocalNonpm
jCodemunch MCP2,716LocalNopypi
Magic Cloud1,197LocalYesoci

Questions

It reads 2 environment variables: NOTION_TOKEN, NOTION_PAGE_ID. Set them in your MCP config before starting the server.

Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.

notion-mcp-server is a local MCP server distributed as the npm package notion-mcp-server.

Run: claude mcp add notion-mcp-server -e NOTION_TOKEN=... -e NOTION_PAGE_ID=... -- npx -y notion-mcp-server

Run: codex mcp add notion-mcp-server --env NOTION_TOKEN=... --env NOTION_PAGE_ID=... -- npx -y notion-mcp-server

Similar MCP servers

NameStars
  1. Repomixio.github.yamadashy/repomix29K
  2. dbxio.github.t8y2/dbx21K
  3. jCodemunch MCPio.github.jgravelle/jcodemunch-mcp2,716
  4. Magic Cloudio.github.polterguy/magic1,197
  5. ref-tools-mcpio.github.ref-tools/ref-tools-mcp1,176
  6. ref-tools-mcptools.ref/ref-tools-mcp1,176
  7. fortressio.github.tiliondev/fortress665
  8. Hex Lineio.github.levnikolaevich/hex-line-mcp565