Enables deployment on Cloudflare Workers for serverless hosting with global CDN distribution for fast response times
Integrates with Notion API to provide knowledge management features including smart search, automatic code snippet saving, and statistical analysis of knowledge base content
Notion Knowledge MCP Server
🚀 基於 Cloudflare Workers 的 Notion 知識庫 MCP 服務器,專為程式開發知識管理設計
✨ 特色功能
- 🔍 智能搜索 - 在 Notion 知識庫中快速找到相關內容
- 📝 自動記錄 - Claude Code Hooks 自動保存代碼片段
- 📊 統計分析 - 知識庫內容統計和趨勢分析
- 🌐 全球加速 - Cloudflare CDN 確保極速響應
- 🔒 安全可靠 - 環境變數加密存儲,API Token 安全管理
🚀 快速開始
1. 部署到 Cloudflare Workers
方法一:一鍵部署
方法二:手動部署
2. 配置 Notion
- 前往 Notion Integrations
- 創建新的 Integration
- 複製 Integration Token
- 創建或選擇一個 Notion 資料庫作為知識庫
- 複製資料庫 ID(從資料庫 URL 中獲取)
- 在你的知識庫頁面授權 Integration
2.1 部署到 Cloudflare Workers(可選)
如果要部署到 Cloudflare Workers:
3. 配置 AI 客戶端
Claude Desktop
Claude Code
Gemini CLI
📖 使用指南
基本操作
搜索知識:
添加知識:
查看統計:
API 端點
GET /health
- 健康檢查GET /tools
- 工具列表POST /call
- MCP 工具調用
🛠️ 開發
本地開發
測試
部署
📝 配置
環境變數
NOTION_TOKEN
- Notion Integration Token (必須)NOTION_DATABASE_ID
- Notion 資料庫 ID (必須)
自定義配置
編輯 wrangler.toml
來自定義部署設定
🤝 貢獻
歡迎提交 Issue 和 Pull Request!
- Fork 這個倉庫
- 創建你的功能分支 (
git checkout -b feature/AmazingFeature
) - 提交你的修改 (
git commit -m 'Add some AmazingFeature'
) - 推送到分支 (
git push origin feature/AmazingFeature
) - 打開一個 Pull Request
📄 授權
這個專案使用 MIT 授權 - 查看 LICENSE 文件了解詳情
🙏 致謝
- Cloudflare Workers - 提供無服務器運行環境
- Notion API - 提供強大的知識庫 API
- Claude MCP - 提供模型上下文協議
📞 支援
如有問題請:
Live Demo: https://notion-knowledge.etjang10.workers.dev
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Cloudflare Workers-based service that enables intelligent searching, automatic code snippet recording, and statistical analysis of programming knowledge stored in Notion databases.
Related MCP Servers
- -securityAlicense-qualityA Cloudflare Worker that analyzes source code to provide comprehensive explanations including architecture diagrams, core functionality analysis, and component breakdowns across multiple programming languages.Last updated -4TypeScriptApache 2.0
- -securityFlicense-qualityA Cloudflare Workers-based server implementing the Model Context Protocol that enables AI assistants like Claude to securely access external tools through OAuth authentication.Last updated -14TypeScript
- -securityFlicense-qualityAn authless Cloudflare Workers server that provides tools to scrape, analyze, and answer questions about websites using Cloudflare's Browser Rendering and AI capabilities.Last updated -6TypeScript
- -securityFlicense-qualityA Cloudflare Workers-based Model Context Protocol server that enables AI assistants like Claude to access external tools via OAuth authentication.Last updated -14TypeScript