notion-memory-mcp
Notion Memory MCP 🧠
NotionをAIエージェント向けのプログラム可能なメモリ層に変えるModel Context Protocolサーバー。
あらゆるMCP互換エージェント(Hermes、Claude Desktop、Cursor、カスタムエージェント)に、Notionワークスペースを検索・読み取り・保存・追記・クエリするための5つのクリーンなツールを提供します。これにより、Notionはエージェントの3層メモリアーキテクチャにおける永続的な「ディスク」層になります。
⚡ L1 cache → agent built-in memory (always in context)
🧮 RAM → mem0 / vector store (auto recall)
💾 DISK → Notion via this MCP ← you are hereなぜ
エージェントメモリソリューション(mem0、honcho...)は不透明です。反射的な想起には優れていますが、人間には見えません。Notionはその逆で、人間には完全に見えて編集可能ですが、ネイティブにはツール呼び出しできません。
このサーバーは両者を橋渡しします:エージェントはプログラムによるアクセスを得て、人間は完全な視覚的コントロールを維持します。
Related MCP server: Notion MCP Server
公開ツール
ツール | 機能 |
| タイトルまたはコンテンツでページ/データベースを検索 |
| ページを構造化されたプレーンテキストとして読み取り |
| 正確なタイトルでページをアップサート(マークダウン風 → ブロック) |
| ページに追記(実行ログ) |
| オプションのセレクトフィルター付きでデータベース行をクエリ |
セットアップ
pip install -r requirements.txt
export NOTION_API_TOKEN=ntn_your_integration_token # notion.so/my-integrations
python3 server.py # stdio transportHermes Agent
hermes mcp add notion-memory -- python3 /path/to/server.py
# with env: NOTION_API_TOKEN set in ~/.hermes/.envClaude Desktop / Cursor
MCP設定に追加:
{
"mcpServers": {
"notion-memory": {
"command": "python3",
"args": ["/path/to/server.py"],
"env": { "NOTION_API_TOKEN": "ntn_..." }
}
}
}設計上の決定
タイトルによるアップサート(
notion_save):エージェントはUUIDではなく名前で考えます。再保存で本文が置き換わります — 冪等な書き込みです。マークダウン風 → ブロック:見出し(#)、箇条書き(-)、段落はネイティブのNotionブロックにマッピングされます。複雑なASTは不要です。
読み取りはオープン、書き込みはスコープ付き:読み取りは統合が参照できるものすべてにアクセスします。作成/更新のみ。設計上、削除ツールはありません — 破壊的操作は人間のみに限定されます。
stdlib + httpx + mcp:最小限の依存関係、監査が容易。
実証されたスキル
MCPサーバー開発 · 非同期Python(httpx + asyncio) · Notion API(search/blocks/databases) · LLMツール利用のためのプロトコル設計 · 防御的なAPIエラーマッピング
ライセンス
MIT — Shahjalal Shanto によって構築
エージェントメモリアーキテクチャの一部:組み込みキャッシュ + mem0 RAM + Notionディスク。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Notion through the Notion API by exposing it as tools for LLMs, allowing operations like reading, creating, updating, and deleting Notion pages seamlessly via natural language.1121MIT
- AlicenseNot gradedqualityDmaintenanceEnables Language Models to interact with Notion workspaces through standardized tools for searching, reading, creating, and updating pages and databases.119MIT
- AlicenseBqualityDmaintenanceEnables AI agents to interact with Notion workspaces through the Notion API. Supports reading, writing, commenting, and managing Notion pages and databases with optimized token consumption for AI agents.19141,622MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Notion workspaces through the Notion API, allowing them to search, read, create, and comment on pages and databases with optimized token consumption.MIT
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shahjalal2313/notion-memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server