Sponsored by Deepsite.site

Better Notion Mcp

Created By
n24q02m11 days ago
Markdown-First MCP Server for Notion - Composite Actions, Auto-Pagination, Bulk Operations optimized for AI Agents
Content

Better Notion MCP

Markdown-First MCP Server for Notion - Optimized for AI Agents

GitHub stars License: MIT npm version Docker

Why "Better"?

7 mega action-based tools that consolidate Notion's 28+ REST API endpoints into composite operations optimized for AI agents.

vs. Official Notion MCP Server

FeatureBetter Notion MCPOfficial Notion MCP
Content FormatMarkdown (human-readable)Raw JSON blocks (verbose)
OperationsComposite actions (create page + content + properties in 1 call)Atomic operations (2+ separate calls required)
PaginationAuto-pagination (transparent)Manual cursor management
Bulk OperationsNative batch support (create/update/delete multiple items at once)Loop through items manually
Tool Architecture7 mega action-based tools (30+ actions)28+ individual endpoint tools
Database QuerySmart search (auto-detect best match)Manual filters + sorts required
Token EfficiencyOptimized for AI contextStandard API responses
SetupSimple (NOTION_TOKEN only)OAuth flow or token

Installation

Get your Notion token: https://www.notion.so/my-integrations → Create integration → Copy token → Share pages with integration

Quick Start

{
  "mcpServers": {
    "better-notion": {
      "command": "npx",
      "args": ["-y", "@n24q02m/better-notion-mcp@latest"],
      "env": {
        "NOTION_TOKEN": "your_token_here"
      }
    }
  }
}

Docker

{
  "mcpServers": {
    "better-notion": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "NOTION_TOKEN", "n24q02m/better-notion-mcp:latest"],
      "env": {
        "NOTION_TOKEN": "your_token_here"
      }
    }
  }
}

Tools Overview

7 mega tools with 30+ actions:

  • Composite Actions: Combine operations (e.g., create page + content + properties in 1 call)
  • Auto-Pagination: Transparent handling of large datasets
  • Bulk Operations: Process multiple items efficiently
  • Smart Search: Auto-detect best matches in database queries

Development

Build from Source

git clone https://github.com/n24q02m/better-notion-mcp
cd better-notion-mcp
mise trust && mise install  # Install Node.js 22 + pnpm via mise
pnpm build                  # Build the project

Prerequisites: mise for managing Node.js and pnpm versions.

Available Commands

pnpm run dev
pnpm run build
pnpm run test
pnpm run test:watch
pnpm run test:coverage
pnpm run lint
pnpm run format:check
pnpm run type-check
pnpm run check
pnpm run changeset

Contributing

Contributions welcome! See CONTRIBUTING.md for:

  • Development workflow with changesets
  • Commit convention (enforced via git hooks)
  • Testing and code quality standards

License

MIT License - See LICENSE


Star this repo if you find it useful! ⭐

Server Config

{
  "mcpServers": {
    "better-notion": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "NOTION_TOKEN",
        "n24q02m/better-notion-mcp:latest"
      ],
      "env": {
        "NOTION_TOKEN": "your_token_here"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Playwright McpPlaywright MCP server
Tavily Mcp
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
WindsurfThe new purpose-built IDE to harness magic
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Amap Maps高德地图官方 MCP Server
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
CursorThe AI Code Editor
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。