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 "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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
- Alicense-qualityDmaintenanceEnables interaction with Notion workspaces through the Notion API, allowing users to search, read, comment on, and create pages and databases using natural language commands.187,964MIT
- Alicense-quality-maintenanceEnables AI workflows to integrate with Notion workspaces, supporting page and database creation, queries with filters and sorting, content updates, and workspace-wide search operations.
- Alicense-qualityDmaintenanceEnables 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.187,964MIT
Related MCP Connectors
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
Persistent context for Claude. Your AI always knows your projects and next actions across sessions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/loberkehr-art/Code-mcp-Notion-'
If you have feedback or need assistance with the MCP directory API, please join our Discord server