Notion MCP Server logo

Notion MCP Server

MostafaSwaisy/notion-mcp-server
0 starsUpdated 2025-07-09Community
Deploy on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →SearchsearchView on GitHubGitHub repositoryReport an issue

Is this your server?

Add your score badge to your README and get your server in front of 45k+ builders a month.

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Provides AI assistants with secure access to Notion workspaces, enabling page management, search, block operations, and user management.

README.md

Notion MCP Server

A Model Context Protocol (MCP) server for Notion integration, providing AI assistants with secure access to Notion workspaces.

Features

  • Page Management: Create, read, update, and archive Notion pages
  • Search: Search across your Notion workspace
  • Block Operations: Append blocks and manage page content
  • User Management: Access workspace users and permissions
  • Resource Providers: Expose Notion content as MCP resources

Setup

  1. Install dependencies:
   npm install
  1. Set up Notion API:
  1. Configure environment:
   cp .env.example .env
   # Edit .env with your Notion API key
  1. Share pages with integration:
  • Go to your Notion pages
  • Share → Add people → Find your integration → Invite

Usage

Development

npm run dev

Production

npm run build
npm start

Testing with MCP Inspector

npx @modelcontextprotocol/inspector

Tools Available

  • notion_get_page: Retrieve a page by ID
  • notion_create_page: Create a new page
  • notion_update_page: Update an existing page
  • notion_search: Search workspace content
  • notion_append_blocks: Add blocks to a page
  • notion_get_users: Get workspace users
  • notion_archive_page: Archive a page

Resources

  • notion://pages: Recent pages in workspace
  • notion://page/{id}: Specific page content

Integration with Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "notion": {
      "command": "node",
      "args": ["path/to/notion-mcp-server/dist/index.js"],
      "env": {
        "NOTION_API_KEY": "your_token_here"
      }
    }
  }
}

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.