Better Notion MCP

Better Notion MCP

Markdown-first MCP server for Notion that provides 7 composite action-based tools consolidating 28+ REST API endpoints, enabling AI agents to efficiently manage pages, databases, blocks, and content with automatic pagination and bulk operations.

Category
Visit Server

README

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

Feature Better Notion MCP Official Notion MCP
Content Format Markdown (human-readable) Raw JSON blocks (verbose)
Operations Composite actions (create page + content + properties in 1 call) Atomic operations (2+ separate calls required)
Pagination Auto-pagination (transparent) Manual cursor management
Bulk Operations Native batch support (create/update/delete multiple items at once) Loop through items manually
Tool Architecture 7 mega action-based tools (30+ actions) 28+ individual endpoint tools
Database Query Smart search (auto-detect best match) Manual filters + sorts required
Token Efficiency Optimized for AI context Standard API responses
Setup Simple (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

NPX (Recommended)

{
  "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

Limitations

Supported Block Types (Markdown Conversion):

  • ✅ Headings (H1-H3), Paragraphs, Lists (bulleted/numbered)
  • ✅ Code blocks, Quotes, Dividers
  • ✅ Inline formatting (bold, italic, code, strikethrough, links)

Unsupported Block Types:

  • ❌ Tables, Toggles, Callouts, Columns
  • ❌ Databases, Embeds, Images, Files
  • ❌ Synced blocks, Templates

Build from Source

git clone https://github.com/n24q02m/better-notion-mcp
cd better-notion-mcp
pnpm install
pnpm build                  # Build the project

Prerequisites: Node.js 22+ and pnpm.

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

Contributing

Contributions welcome! See CONTRIBUTING.md for:

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

License

MIT License - See LICENSE


Star this repo if you find it useful! ⭐

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured