NO

notion

Open Source ProductivityDocumentation

Full-featured Notion integration for managing databases, pages, blocks, and comments through the official Notion API

notion database pages wiki knowledge-base

Quick Install

npm install @openpets/notion
pnpm add @openpets/notion

Required Environment Variables

  • NOTION_INTERNAL_INTEGRATION_SECRET

    Notion Internal Integration Token from https://www.notion.so/my-integrations

Example Queries

list all databases in Notion
search for pages containing 'meeting notes'
get the contents of my project database
create a new page in my workspace
add a comment to a page
find all pages modified today
query my tasks database for incomplete items

Usage Scenarios

database workflow

  1. 1 list all databases
  2. 2 query the tasks database
  3. 3 create a new entry in tasks

page management

  1. 1 search for project pages
  2. 2 get page content
  3. 3 update page properties

content creation

  1. 1 create a new page
  2. 2 add text blocks to the page
  3. 3 add a comment for review

Use notion with Your AI Assistant

This open source plugin works with OpenCode-compatible AI assistants including ChatGPT, Claude, Perplexity, and other LLM-powered coding tools. Install the plugin and start using natural language to interact with notion.

Works with ChatGPT Works with Claude Works with Perplexity MCP Compatible