suekou/mcp-notion-server
A TypeScript MCP bridge for agent-driven Notion search, queries, and editing
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
This TypeScript server bridges an MCP host and the Notion API. The host launches the mcp-notion-server CLI with a Notion internal integration token supplied through NOTION_API_TOKEN. The server targets API version 2026-03-11, distinguishes databases from data sources, and exposes tools, prompts, resources, and structured tool results through MCP.
The package lists @modelcontextprotocol/sdk, Zod, yargs, React, and React DOM. Its build scripts include build:apps, and the MCP surface includes two optional apps: Data Source Explorer and Page Workbench. For programmatic use, the main interface is the workflow-oriented toolset, with raw JSON tools available when an operation needs more of the underlying API shape.
Key Capabilities & Differentiators
notion_find locates pages and data sources, while notion_read_page returns compact page content with stable block IDs for subsequent edits. For structured records, the workflow starts with notion_inspect_data_source, then uses notion_query_data_source_by_values or notion_create_data_source_item_from_values to work with simple property values instead of assembling native Notion JSON.
Page editing covers common blocks such as headings, lists, todos, callouts, and code blocks. The toolset includes Markdown append, direct content updates, and batch content updates. Raw tools extend coverage to advanced block, page, database, data source, comment, and user operations; comment access and user information require their own integration capabilities.
Trade-offs & Limitations
Compared with direct Notion API integration, this server saves an agent from repeatedly constructing native filter, property, and block payloads for routine work. The simplified tools cover defined workflows rather than the entire API shape, so unusual operations can still require raw JSON. For a fixed automation with known targets and payloads, direct API calls may be easier to control because they avoid the MCP host and tool-selection layer.
The main operational boundary is the integration token: Notion checks both what the token is allowed to do and which content it can reach. Start with read-only access for lookup and query use, then add insert and update grants only as needed. Review parent-page connections for inherited access to child pages. The runtime adds no local model inference requirement, but end-to-end performance still depends on Notion API calls, payload size, and workload concurrency.
Hardware & Deployment Guide
Use Node.js 22 or newer. Configure the MCP host to run npx -y @suekou/mcp-notion-server with NOTION_API_TOKEN and restart the host. For a source checkout, use pnpm 10.24.0 or newer, install with pnpm install --frozen-lockfile, build with pnpm run build, and point the host at build/index.js. pnpm test and pnpm run inspector cover local testing and MCP inspection.
The MCP process runs locally, but workspace operations require network access to Notion; this is not an offline Notion backend. Create an internal integration and share the intended content explicitly. Version 2.0.0 moved to API 2026-03-11 and the current data source model. Version 2.0.2 fixed an eager-evaluation crash when applying is_empty to non-text properties, a relevant fix for queries over mixed schemas.
2026-03-11 and treats data sources as explicit schema inspection and query targets.notion_find locates targets; notion_read_page returns compact content with stable block IDs for targeted edits.notion_inspect_data_source exposes properties before value-based querying or item creation.Teams wiring an MCP host into selected Notion content for project lookup, schema-aware queries, and controlled page or item updates.
Notion access must work offline, MCP tool calls are not allowed to write to the workspace, or a fixed automation is easier to maintain against the Notion API directly.
Quick Start & Installation
pnpm install --frozen-lockfile pnpm run build pnpm test
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| mcp-notion-server ★ | 925 | — | TypeScript | MIT | A TypeScript MCP bridge for agent-driven Notion search, queries, and editing |
| mcp-for-blender | 37.1k | +1.1k | Python | GPL-3.0 | A local MCP bridge for inspecting and editing live Blender scenes with AI |
| rea | 488.8k | +7.6k | TypeScript | MIT | A local CLI and MCP server for evidence-backed app and binary analysis |
| chrome-devtools-mcp | 60.4k | +760 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/suekou/mcp-notion-server.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about mcp-notion-server
How does the MCP host connect to Notion through this server?
npx -y @suekou/mcp-notion-server with NOTION_API_TOKEN, then restart the host. The token comes from a Notion internal integration, which needs both the relevant capability grants and access to the target content. The host invokes MCP tools; the server translates those operations into Notion API calls.What runtime, hardware, and VRAM does it need?
Can a company self-host or redistribute it under the MIT license?
When is this preferable to calling the Notion API directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy