Skip to main content
Glama

Notion MCP

Begriff-MCP

Ein einfacher Model Context Protocol (MCP)-Server, der sich in die API von Notion integrieren lässt, um meine persönliche To-Do-Liste zu verwalten.

Demo

Demo

Visuelle Anleitung

Notion MCP-Abfrage 1

Notion MCP-Abfrage 1

Notion MCP-Abfrage 2

Notion MCP-Abfrage 1

Notion MCP-Abfrage 3

Notion MCP-Abfrage 1

Voraussetzungen

  • Python 3.11 oder höher
  • Ein Notion-Konto mit API-Zugriff
  • Ein Notion-Integrationstoken
  • Eine Notion-Seite, auf der Sie Ihre To-Do-Liste verwalten möchten
  • Claude Desktop Clint

Aufstellen

Installation über Smithery

So installieren Sie Notion MCP für Claude Desktop automatisch über Smithery :

npx -y @smithery/cli install @Badhansen/notion-mcp --client claude
  1. Klonen Sie das Repository:
git clone https://github.com/Badhansen/notion-mcp.git cd notion-mcp
  1. Python-Umgebung einrichten:
uv venv source .venv/bin/activate uv pip install -e .
  1. Erstellen Sie eine Notion-Integration:
  2. Geben Sie Ihre Datenbank/Seite mit der Integration frei:
    • Öffnen Sie Ihren Notion-Arbeitsbereich mit einer vorhandenen Datenbank/Tabelle oder einer Seite.
    • Klicken Sie auf das Menü „…“ → „Verbindungen hinzufügen“
    • Wählen Sie Ihre Integration aus (Suche nach Namen)

Konfiguration

  1. Erstellen Sie .env Datei:
cp .env.example .env
  1. Konfigurieren Sie Notion-Anmeldeinformationen in .env :
NOTION_TOKEN=<your-notion-api-token> PAGE_ID=<your-notion-page-id> NOTION_VERSION="2022-06-28" NOTION_BASE_URL="https://api.notion.com/v1"
  1. Um es wie vorgesehen mit Claude Desktop zu verwenden, müssen Sie Ihre Datei claude_desktop_config.json anpassen. Gehen Sie zu Claude Desktop -> Settings -> Developer -> Edit Config . Fügen Sie nun die Notion -Serverkonfiguration hinzu.
{ "mcpServers": { "notion-mcp": { "command": "uv", "args": [ "--directory", "/Users/username/Projects/Python/notion-mcp/src" /* Path to your project */, "run", "server.py" ] } } }

Entwicklung

Projektstruktur:

notion-mcp/ ├── docs/ ├── src/ │ └── server.py ├── .env ├── .python-version ├── README.md ├── pyproject.toml └── uv.lock

Supportfunktionen

Aufgaben anzeigen

Um alle Aufgaben aus Ihrem Notion-Arbeitsbereich anzuzeigen, verwenden Sie die Funktion show_all_todos :

{ "name": "show_all_todos", "arguments": {} }
Aufgabe hinzufügen

Um Ihrem Notion-Arbeitsbereich eine neue Aufgabe hinzuzufügen, verwenden Sie die Funktion add_todo :

{ "name": "add_todo", "arguments": { "task": "Your task description" } }
Update-Aufgabe

Um eine vorhandene Aufgabe in Ihrem Notion-Arbeitsbereich zu aktualisieren, verwenden Sie die Funktion complete_todo :

{ "name": "complete_todo", "arguments": { "task_id": "your-task-id" } }

Beitragen

  1. Forken Sie das Repository
  2. Feature-Zweig erstellen
  3. Pull-Anfrage senden

Lizenz

MIT-Lizenz. Weitere Informationen finden Sie in der Datei LICENSE.

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Ein Model Context Protocol-Server, der sich in die API von Notion integrieren lässt, um persönliche To-do-Listen zu verwalten, sodass Benutzer Aufgaben direkt von Claude aus anzeigen, hinzufügen und aktualisieren können.

  1. Demo
    1. Visuelle Anleitung
      1. Notion MCP-Abfrage 1
      2. Notion MCP-Abfrage 2
      3. Notion MCP-Abfrage 3
    2. Voraussetzungen
      1. Aufstellen
        1. Installation über Smithery
      2. Konfiguration
        1. Entwicklung
          1. Supportfunktionen
            1. Aufgaben anzeigen
            2. Aufgabe hinzufügen
            3. Update-Aufgabe
          2. Beitragen
            1. Lizenz

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                A simple Model Context Protocol (MCP) server that integrates with Notion's API to manage my personal todo list through Claude.
                Last updated -
                117
                Python
                MIT License
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that provides a standardized interface for interacting with Notion's API, enabling users to list databases, create pages, and search across their Notion workspace.
                Last updated -
                95
                Python
                MIT License
                • Apple
              • -
                security
                A
                license
                -
                quality
                A Model Context Profile server that enables Claude to interact with Todoist, allowing users to create, retrieve, update, and manage tasks through natural language commands.
                Last updated -
                1
                Python
                MIT License
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that bridges Claude with Google Tasks, allowing users to manage task lists and tasks directly through Claude interface.
                Last updated -
                5
                TypeScript
                MIT License
                • Apple

              View all related MCP servers

              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/Badhansen/notion-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server