npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vibe-notion

v0.7.1

Published

Notion API CLI for AI agents

Readme

Vibe Notion

npm version SkillPad - vibe-notion SkillPad - vibe-notionbot

demo

Give your AI agent the power to read and write Notion pages, databases, and more ✨

A full-coverage, agent-friendly CLI for the Notion API. Ships two CLIs — vibe-notion for the unofficial private API (act as yourself) and vibe-notionbot for the official Integration API (act as a bot).

Table of Contents

✨ Why Vibe Notion?

Notion's official API only supports Integration (bot) tokens — your agent can't do things on behalf of you. Vibe Notion solves this by extracting your token_v2 from the Notion desktop app, so your agent operates as you, with your full permissions.

Need official API access instead? vibe-notionbot is included and fully supports Integration tokens via NOTION_TOKEN.

  • 👤 Act as youvibe-notion extracts token_v2 from the Notion desktop app to operate with your own permissions
  • 🤖 Bot support toovibe-notionbot supports official Integration tokens via NOTION_TOKEN
  • 📦 Full API coverage — Pages, databases, blocks, users, search, comments, and workspaces
  • 🧾 Agent friendly — JSON output by default, perfect for LLM tool use
  • 🧠 Agent memory — Remembers workspace IDs, page names, and preferences across sessions
  • 🪙 Token efficient — CLI, not MCP. Load only what you need. (Why not MCP?)

📦 Installation

npm install -g vibe-notion

Or use your favorite package manager.

This installs both the vibe-notion and vibe-notionbot CLI tools.

🧩 Agent Skills

Vibe Notion includes Agent Skills that teach your AI agent how to use the CLI effectively. Two skills are available:

  • vibe-notion — For the unofficial private API (token_v2)
  • vibe-notionbot — For the official Integration API (NOTION_TOKEN)

SkillPad

SkillPad is a GUI app for Agent Skills. See skillpad.dev for more details.

Available on SkillPad Available on SkillPad

Skills CLI

Skills CLI is a CLI tool for Agent Skills. See skills.sh for more details.

npx skills add devxoul/vibe-notion

Claude Code Plugin

/plugin marketplace add devxoul/vibe-notion
/plugin install vibe-notion

OpenCode Plugin

Add to your opencode.jsonc:

{
  "plugins": [
    "vibe-notion"
  ]
}

🚀 Quick Start

vibe-notion (Private API — act as yourself)

# 1. Extract token_v2 from Notion desktop app
vibe-notion auth extract

# 2. List your workspaces
vibe-notion workspace list --pretty

# 3. Search for something
vibe-notion search "Roadmap" --workspace-id <workspace-id> --pretty

# 4. Get page details
vibe-notion page get <page-id> --workspace-id <workspace-id> --pretty

vibe-notionbot (Official API — act as a bot)

# 1. Set your Notion Integration Token
export NOTION_TOKEN=secret_xxx

# 2. Check auth status
vibe-notionbot auth status --pretty

# 3. Search for something
vibe-notionbot search "Roadmap" --filter page --pretty

# 4. Get page details
vibe-notionbot page get <page-id> --pretty

🛠 Command Overview

vibe-notion (Private API)

| Command | Description | |---------|-------------| | auth | Extract token, check status, logout | | workspace | List accessible workspaces | | page | Get, list, create, update, archive pages | | database | Get schema, query, create, update, delete properties, add/update rows, list, manage views | | block | Get, list children, append (with nested markdown support), update, delete blocks | | user | Get current user, get user by ID | | search | Workspace search | | comment | List, create, and get comments (including inline block-level comments) |

All commands that operate within a workspace require --workspace-id. Use vibe-notion workspace list to find yours.

vibe-notionbot (Official API)

| Command | Description | |---------|-------------| | auth | Check authentication status | | page | Get, create, update, archive pages, retrieve properties | | database | Get schema, query, create, update, delete properties, list databases | | block | Get, list children, append (with nested markdown support), update, delete blocks | | user | List users, get user info, get bot info | | search | Global workspace search with filters | | comment | List, create, and get comments (including inline block-level comments) |

Requires NOTION_TOKEN environment variable with an Integration token from the Notion Developer Portal.

💡 Use Cases

🤖 For AI Agents

  • Give Claude, GPT, or your custom agent the ability to manage Notion content
  • Automate documentation and project tracking
  • Build knowledge base integrations with simple CLI commands

👩‍💻 For Developers

  • Quick Notion operations from terminal
  • Scripted page creation and database querying
  • Workspace data extraction for debugging

👥 For Teams

  • Automate report generation in Notion
  • Sync data from other tools to Notion databases
  • Build custom notification and logging pipelines

🧠 Philosophy

Why not MCP? MCP servers expose all tools at once, bloating context and confusing agents. Agent Skills + agent-friendly CLI offer a better approach—load what you need, when you need it. Fewer tokens, cleaner context, better output.

Inspired by agent-browser from Vercel Labs and agent-messenger.

🤝 Contributing

bun install    # Install dependencies
bun link       # Link CLI globally for local testing
bun test       # Run tests
bun run lint   # Lint
bun run build  # Build

See CONTRIBUTING.md for more details.

📄 License

MIT