Notion MCP Server
Provides tools for interacting with Notion, enabling workspace search, page and database management (create, read, update, query), and comment handling.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Notion MCP Serversearch Notion for my meeting notes and summarize them"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Notion MCP-Server
Ein Model Context Protocol (MCP)-Server, der Notion mit Claude verbindet – für Claude Desktop, Claude Code und jeden anderen MCP-fähigen Client.
Damit kann Claude direkt in deinem Notion-Workspace suchen, Seiten lesen und erstellen, Datenbanken abfragen und Inhalte bearbeiten.
Funktionen (Tools)
Tool | Beschreibung |
| Workspace nach Seiten und Datenbanken durchsuchen |
| Metadaten und Properties einer Seite abrufen |
| Seiteninhalt als Markdown lesen (inkl. verschachtelter Blöcke) |
| Neue Seite erstellen (als Unterseite oder Datenbank-Eintrag), Inhalt als Markdown |
| Markdown-Inhalt an eine bestehende Seite anhängen |
| Properties ändern, Seite archivieren/wiederherstellen |
| Schema einer Datenbank abrufen (Properties, Optionen) |
| Datenbank-Einträge abfragen (mit Filter und Sortierung) |
| Neue Datenbank unter einer Seite anlegen |
| Kommentar zu einer Seite hinzufügen |
| Kommentare einer Seite lesen |
| Benutzer des Workspace auflisten |
Alle Tools akzeptieren sowohl Notion-IDs als auch vollständige Notion-URLs.
Related MCP server: Notion MCP Server
Voraussetzungen
Node.js 18 oder neuer
Ein Notion-Konto mit einem Workspace
1. Notion-Integration erstellen
Klicke auf „Neue Integration“ und gib ihr einen Namen (z. B. „Claude“)
Wähle deinen Workspace aus und speichere
Kopiere den Internal Integration Token (beginnt mit
ntn_odersecret_)
Wichtig: Die Integration sieht nur Seiten, die du explizit freigibst. Öffne dazu in Notion die gewünschte Seite (oder eine übergeordnete Seite), klicke oben rechts auf ··· → Verbindungen → Verbindung hinzufügen und wähle deine Integration aus. Unterseiten erben die Freigabe automatisch.
2. Server installieren und bauen
git clone https://github.com/loberkehr-art/Code-mcp-Notion-.git
cd Code-mcp-Notion-
npm install
npm run build3. Mit Claude verbinden
Claude Desktop
Trage den Server in die Konfigurationsdatei ein:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"notion": {
"command": "node",
"args": ["/absoluter/pfad/zu/Code-mcp-Notion-/dist/index.js"],
"env": {
"NOTION_API_KEY": "ntn_dein_token_hier"
}
}
}
}Danach Claude Desktop neu starten. Die Notion-Tools erscheinen im Tool-Menü (🔨).
Claude Code (CLI)
claude mcp add notion \
--env NOTION_API_KEY=ntn_dein_token_hier \
-- node /absoluter/pfad/zu/Code-mcp-Notion-/dist/index.jsBeispiele
Sobald der Server verbunden ist, kannst du Claude z. B. bitten:
„Suche in Notion nach meinen Meeting-Notizen“
„Lies die Seite ‚Projektplan‘ und fasse sie zusammen“
„Erstelle in der Aufgaben-Datenbank einen Eintrag ‚Steuererklärung‘ mit Status ‚Offen‘“
„Zeige alle Einträge der Datenbank, deren Status ‚In Arbeit‘ ist“
„Hänge diese Zusammenfassung an meine Wochennotizen an“
Entwicklung
npm run dev # Server direkt aus TypeScript starten (tsx)
npm run watch # TypeScript im Watch-Modus kompilierenDer Server kommuniziert über stdio (Standard-Ein-/Ausgabe) und loggt Statusmeldungen nach stderr, damit das MCP-Protokoll auf stdout ungestört bleibt.
Projektstruktur
src/
├── index.ts # MCP-Server und Tool-Definitionen
├── markdown.ts # Konvertierung Markdown ⇄ Notion-Blöcke
└── properties.ts # Lesen und Schreiben von Seiten-PropertiesHinweise & Grenzen
Die Notion-API erlaubt maximal 100 Blöcke pro Schreibvorgang – längere Inhalte werden automatisch in mehreren Aufrufen angehängt.
Neue Seiten können nur unterhalb einer bestehenden Seite oder Datenbank angelegt werden (API-Einschränkung von Notion).
Berechnete Property-Typen (
formula,rollup,created_time, …) sind nur lesbar, nicht beschreibbar.Der Token gehört in die Umgebungsvariable
NOTION_API_KEY– niemals ins Repository committen (.envist in.gitignore).
Lizenz
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
- platform7nOAuthtech.p7n
Connect Claude to your Platform7n workspaces — chat, links, and tasks. One-click OAuth.
Search, read, create and edit your Memol notes from Claude. Team note-taking with AI search.
One workspace of tools for Claude and ChatGPT: connect 600+ apps, generate media, build tools.
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables interaction with Notion workspaces through the Notion API. Supports creating, retrieving, and updating Notion pages and their properties, allowing users to manage Notion content through natural language.4-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Notion workspaces through the Notion API, allowing users to search, read, comment on, and create pages and databases using natural language commands.122,532 npmMIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI workflows to integrate with Notion workspaces, supporting page and database creation, queries with filters and sorting, content updates, and workspace-wide search operations.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Notion workspaces through the Notion API, allowing them to search, read, create, update pages and databases, and manage comments using natural language commands.122,532 npmMIT