Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

notion-hub

Skill by OpenMinis

Reads and writes Notion pages, databases, blocks and comments through the notion-client Python SDK. Built for users who want an AI assistant to work with data in their Notion workspace through the API.

  • Score 76
  • 628 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install notion-hub

Built from the published package, never by AI.

git clone --depth 1 https://github.com/OpenMinis/MinisSkills /tmp/MinisSkills && mkdir -p ~/.claude/skills && cp -r /tmp/MinisSkills/notion-hub ~/.claude/skills/notion-hub

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install notion-hub in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

notion-hub is an agent skill that reads and writes Notion data using Python and the notion-client SDK. All operations run through a single CLI script that authenticates with the NOTION_API_KEY environment variable. It supports search, page create, read, write and update, database schema, query, create and add-row, block append, update and delete, and comments.

Page content converts between Markdown and Notion blocks in both directions, so pages can be read as Markdown and written from Markdown text or files. The integration must be connected to each target page or database in Notion before it can access them. The skill suits users who want an AI assistant to work with Notion pages, databases and comments through the API.

Written from the project's SKILL.md and checked against it.

What it can do

  • SearchSearches pages and databases the integration can access, with filters, sorting and a limit.
  • Read pages as MarkdownReads page content as Markdown, optionally saving the output to a file.
  • Write pages from MarkdownWrites Markdown to a page, converted to Notion blocks, with an option to replace existing content.
  • Create and update pagesCreates pages under a parent page or in a database, and updates properties, icon or archive state.
  • Query databasesReads a database schema and queries rows with filters and sorts.
  • Create and update databasesCreates a database with typed properties and updates its title or schema.
  • Add database rowsAdds a row to a database, with property types detected from the database schema.
  • Block operationsGets, appends, updates and deletes blocks on a page, including recursive block trees.
  • CommentsLists comments on a page and adds comments or replies in a discussion thread.

What you need

  • Notion Internal Integration Token set as NOTION_API_KEY
  • uv to run the Python script
  • Notion integration connected to the target pages or databases

Try asking

  • Search my Notion workspace for pages about Q1 planning
  • Read my meeting notes page in Notion as Markdown
  • Add a High priority row to my Task Tracker database

Good to know

  • Rate limited requests (429) are not retried automatically.
  • Page reading and recursive block fetching cap depth at 10.
  • The users command masks email addresses.
  • The integration can only access pages and databases it is connected to.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: notion-hub/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to notion-hub

All alternatives →

Compare with ask-user-question, beads or google_tasks

notion-hub: common questions

Does notion-hub need a Notion API token?

Yes. It authenticates with the NOTION_API_KEY environment variable, which should hold a Notion Internal Integration Token.

Why can't the assistant see one of my Notion pages?

The integration must be connected to that page or database in the Notion UI through Share, then Connections. Requests to pages without a connection return a 403 error.

Can notion-hub convert Markdown to Notion blocks?

Yes. Writing a page converts Markdown into Notion blocks, and reading a page converts blocks back into Markdown.

How do I install notion-hub?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is notion-hub free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is notion-hub safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to notion-hub?

Similar skills: ask-user-question, beads, google_tasks, recall.

notion-hub Install

Add to stack

Loading.