notion-agent-hub
AI Agent Hub for Notion — orchestrate AI agents through Notion databases with human-in-the-loop approval. Built with MCP.
Install / Use
claude mcp add tysoncung -- npx -y github:tysoncung/notion-agent-hubIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Data & AnalyticsSupported Platforms
Our assessment of notion-agent-hub
notion-agent-hub scores 78/100 on our quality scale, 541st of 599 Data & Analytics skills we index.
Its MCP Server is 6.1 KB long, well organised into 28 sections with 13 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 91/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-31. Automated pattern scan on 2026-10-31. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
notion-agent-hub compared with similar skills
All 4 of these similar skills score higher than notion-agent-hub; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| notion-agent-hub (this skill)by tysoncung | 78 | 10 | 8mo ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 107.1k | 6d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.4k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.7k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 90.7k | today | MCP Server |
Frequently asked questions
- How do I install notion-agent-hub?
- Run
claude mcp add tysoncung -- npx -y github:tysoncung/notion-agent-hub. The install tabs above show the steps for each supported agent. - Which AI agents does notion-agent-hub work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is notion-agent-hub safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 91/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is notion-agent-hub still maintained?
- The repository was last updated about 8 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
Skill content
View source on GitHub🤖 Notion Agent Hub
<!-- Hero Banner --> <div align="center">AI Agent Hub for Notion — orchestrate AI agents through Notion databases with human-in-the-loop approval. Built with MCP.
Turn your Notion workspace into an AI command center.
Quick Start · Architecture · Tools · Agents · Setup Guide
</div>✨ What It Does
Notion Agent Hub is an MCP server that connects AI assistants (Claude, GPT, etc.) to your Notion workspace. It provides:
- 🔍 Research Agent — Search the web, compile findings, and write structured research pages to Notion
- 🔄 GitHub Tracker — Monitor GitHub PRs and sync their status to a Notion database
- 📝 Content Pipeline — Read outlines from Notion, generate drafts, and submit for human review
All tasks flow through a Notion-native task queue with human-in-the-loop approval — you stay in control.
🏗 Architecture
graph TB
subgraph "AI Assistant"
C[Claude / GPT / etc.]
end
subgraph "MCP Server — notion-agent-hub"
direction TB
S[Server Entry Point]
subgraph "Tools Layer"
NR[📖 notion-read]
NW[✏️ notion-write]
NQ[🔎 notion-query]
WS[🌐 web-search]
CR[💻 code-run]
end
subgraph "Agent Layer"
RA[🔬 Research]
GT[🔄 GitHub Tracker]
CP[📝 Content Pipeline]
end
TQ[📋 Task Queue]
end
subgraph "Your Notion Workspace"
TD[(Task Database)]
RP[Research Pages]
DP[Draft Pages]
PR[(PR Tracker DB)]
end
C <-->|MCP Protocol| S
S --> NR & NW & NQ & WS & CR
TQ -->|Poll| TD
RA -->|Write| RP
GT -->|Sync| PR
CP -->|Write| DP
TD -->|Human creates tasks| TQ
🚀 Quick Start
1. Clone & Install
git clone https://github.com/tysoncung/notion-agent-hub.git
cd notion-agent-hub
npm install
2. Configure
cp .env.example .env
Edit .env with your keys:
NOTION_API_KEY=ntn_…[redacted]
NOTION_DATABASE_ID=your_task_database_id
OPENAI_API_KEY=sk-y…[redacted] # Optional
📖 See the Setup Guide for detailed instructions on creating a Notion integration and task database.
3. Build & Run
npm run build
npm start
4. Connect to Claude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"notion-agent-hub": {
"command": "node",
"args": ["/path/to/notion-agent-hub/dist/index.js"],
"env": {
"NOTION_API_KEY": "ntn_your_key",
"NOTION_DATABASE_ID": "your_db_id"
}
}
}
}
🛠 Tools
notion-read
Read pages, databases, and blocks from Notion.
Input: { page_id?: string, database_id?: string, block_id?: string }
Output: Page content with properties and child blocks
notion-write
Create or update Notion pages with rich content.
Input: { action: "create" | "update" | "append", parent_id?, page_id?, title?, blocks? }
Output: { id, url, created/updated/appended: true }
Supported block types: paragraph, heading_1/2/3, bulleted_list_item, numbered_list_item, toggle, quote, callout, divider, code
notion-query
Query databases with filters and sorting.
Input: { database_id, filter?, sorts?, page_size? }
Output: { results: [...pages], has_more, next_cursor }
web-search
Search the web using Brave Search (or DuckDuckGo fallback).
Input: { query: string, count?: number }
Output: { results: [{ title, url, snippet }], source }
code-run
Execute JavaScript in a sandboxed environment (Node.js vm module).
Input: { code: string, timeout_ms?: number }
Output: { success, result?, stdout, stderr }
🤖 Agent Workflows
🔬 Research Agent
Input: Topic + parent page ID
Process: Web search → compile sources → create structured Notion page
Output: Research page with sources, findings, and review checklist
🔄 GitHub Tracker
Input: GitHub repo + Notion database ID
Process: Fetch PRs → compare with existing entries → create/update pages
Output: Synced PR database in Notion
📝 Content Pipeline
Input: Outline page ID + parent page ID
Process: Read outline → (optional research) → generate draft → create page
Output: Draft page with review checklist, ready for human editing
🔄 Human-in-the-Loop
The task queue uses your Notion database as the control plane:
You create a task → Status: Pending
Agent picks it up → Status: Running
Agent writes results → Status: Done ✅
Something went wrong? → Status: Failed ❌ (with error details)
You're always in control. Tasks only run when you create them. Results are always written back to Notion for your review.
Task Database Schema
| Property | Type | Description | |----------|--------|---------------------------------| | Name | Title | Task description | | Status | Status | Pending → Running → Done/Failed | | Type | Select | research / github-tracker / content-pipeline | | Input | Text | JSON input parameters | | Output | Text | JSON results | | Error | Text | Error message (if failed) |
📸 Demo
<!-- TODO: Add demo GIF showing the workflow -->
🧪 Development
# Run tests
npm test
# Watch mode
npm run test:watch
# Type checking
npm run lint
# Build
npm run build
# Dev mode (watch + rebuild)
npm run dev
📜 License
MIT — see LICENSE.
<div align="center">
Built for the Notion MCP Challenge 🏆
Powered by Model Context Protocol
</div>Related Skills
Agent-Reach
107.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.4kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.7kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
90.7k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
