mcp-notion
БесплатноБез исполняемых скриптовНе проверенOperates a Notion workspace through the official Notion MCP over Code Mode, filling its API gaps with direct Notion API calls.
от MichelKerkmeester★ 40 звёзд на GitHubОб этом скилле
mcp-notion Skill
Notion workspace operations via the official Notion MCP (@notionhq/notion-mcp-server, 24 tools) over Code Mode, plus direct Notion API calls for the five capabilities the MCP does not expose. It knows Notion's data model at the schema layer — data sources, 22 property types, relations, rollups, Formulas 2.0 — so an agent can create, query, and extend a workspace without guessing.
1. MARKDOWN + DATA-SOURCE CONTRACT: READ BEFORE ANY NOTION WRITE
Two shape rules cause most Notion write failures:
- Page bodies vs page properties are different surfaces. A page's content is a tree of blocks (append/update via block tools, or the markdown round-trip tools). A page's metadata is properties typed by its parent data source's schema. Writing prose into a property, or a property value into a block, fails or silently truncates.
- API 2.0 replaced "databases" with "data sources" (API version
2025-09-03). A database is now a container of one or more data sources; queries, schema, relations, and rollups all target a data source id, not a database id. Using a database id where a data-source id is required is the most common 400.
Markdown round-trip tools (retrieve-page-markdown / update-page-markdown) require API version 2026-03-11 and are the token-efficient path for AI. Full detail: references/database-model.md and references/mcp-tools.md.
Failure symptom: a validation_error naming data_source_id, or property writes that vanish, means a database id was used where a data-source id was required, or content was routed to the wrong surface.
2. WHEN TO USE
Activation Triggers (explicit user phrases)
- "notion", "notion mcp", "notion api", "mcp-notion"
- "notion page", "notion database", "notion data source", "query notion"
- "create a notion page", "add a row", "notion property", "notion relation", "notion rollup", "notion formula"
- "notion token", "notion integration", "ntn_", "notion search"
- "upload a file to notion", "notion view", "notion async task"
Automatic Triggers (keyword patterns)
notion+ any action verb (create, read, update, query, search, append, archive)- "data source" / "property" / "rollup" / "relation" in a Notion context
- MCP tool names:
create-a-page,query-data-source,retrieve-a-page(namespacednotion.notion_<name>)
When NOT to Use
- Community Notion MCP servers (suekou/mcp-notion-server, awkoy/notion-mcp-server) — this mode uses the official
@notionhq/notion-mcp-serveronly. - Notion→Obsidian migration mechanics (running the importer itself) — the importer runs inside the Obsidian desktop app, not here; this mode is the read-side inventory enabler (
references/migration-inventory.md), not the importer. - Generic markdown authoring with no Notion workspace — use
@markdown/sk-doc. - Non-Notion knowledge apps (Obsidian, ClickUp docs) — wrong surface (
mcp-obsidian,mcp-click-up).
3. SMART ROUTING
The mcp-tooling hub routes a Notion request here when the prompt names Notion or one of its surfaces (a page, a database or data source, a property, a relation, a token) and the hub's mcp-notion signal selects this packet.
The router makes two decisions: the official 24-tool MCP carries page, block, data-source, comment, user and search work while direct Notion API calls fill the five gaps, and the backend is the headless local stdio server, with the remote OAuth server only for an interactive session.
references/mcp-tools.md is the default reference and the fallback suggestion, references/database-model.md and references/property-types.md load for schema intent, references/api-gap-tools.md for a gap, references/troubleshooting.md for install or an error, and references/migration-inventory.md for a migration inventory.
A request that scores no intent returns UNKNOWN_FALLBACK with its disambiguation checklist, never a silent default.
Read ROUTER.md before selecting skill-local resources; open only the matched files.
4. HOW IT WORKS
Backend Comparison
| Dimension | Local stdio (default, headless) | Remote MCP (interactive) |
|---|---|---|
| Transport | stdio via npx -y @notionhq/notion-mcp-server |
Streamable HTTP at https://mcp.notion.com/mcp |
| Auth | NOTION_TOKEN (ntn_… internal-integration token) |
OAuth (browser) |
| Headless? | Yes — the only Code-Mode-capable backend | No — interactive only |
| Tool names | create-a-page, retrieve-a-page, … |
notion-create-pages, … + async tasks |
| Status | Deprecated by Notion, still functional | Recommended by Notion |
| Used by | Code Mode / automation | Human-in-the-lo |
Установить mcp-notion в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashEditGlobGrepmcp__code_mode__call_tool_chainReadWriteВложенные файлы
FAQ
Что делает скилл mcp-notion?
Operates a Notion workspace through the official Notion MCP over Code Mode, filling its API gaps with direct Notion API calls.
Как установить скилл mcp-notion?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcp-notion запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic