notion-memory-mcp
Provides tools to search, read, save, append, and query Notion pages and databases, turning Notion into a persistent memory tier for AI agents.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@notion-memory-mcpsearch my Notion for project notes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Notion Memory MCP ๐ง
A Model Context Protocol server that turns Notion into a programmable memory tier for AI agents.
Give any MCP-compatible agent (Hermes, Claude Desktop, Cursor, custom agents) five clean tools to search, read, save, append, and query your Notion workspace โ making Notion the persistent "disk" layer of an agent's 3-tier memory architecture.
โก L1 cache โ agent built-in memory (always in context)
๐งฎ RAM โ mem0 / vector store (auto recall)
๐พ DISK โ Notion via this MCP โ you are hereWhy
Agent memory solutions (mem0, honcho...) are opaque โ great for reflexive recall, invisible to humans. Notion is the opposite: fully visible and editable by humans, but not natively tool-callable.
This server bridges them: agents get programmatic access; humans keep full visual control.
Related MCP server: Notion MCP Server
Tools exposed
Tool | What it does |
| Find pages/databases by title or content |
| Read a page as structured plain text |
| Upsert page by exact title (markdown-ish โ blocks) |
| Append to a page (running logs) |
| Query database rows with optional select-filter |
Setup
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
Add to your MCP config:
{
"mcpServers": {
"notion-memory": {
"command": "python3",
"args": ["/path/to/server.py"],
"env": { "NOTION_API_TOKEN": "ntn_..." }
}
}
}Design decisions
Upsert-by-title (
notion_save): agents think in names, not UUIDs. Re-saving replaces the body โ idempotent writes.Markdown-ish โ blocks: headings (#), bullets (-), paragraphs map to native Notion blocks. No complex AST.
Read-open, write-scoped: reads hit whatever the integration can see; create/update only. No delete tool by design โ destructive ops stay human-only.
stdlib + httpx + mcp: minimal dependencies, easy audit.
Skills demonstrated
MCP server development ยท async Python (httpx + asyncio) ยท Notion API (search/blocks/databases) ยท protocol design for LLM tool use ยท defensive API error mapping
License
MIT โ built by Shahjalal Shanto
Part of an agent-memory architecture: built-in cache + mem0 RAM + Notion disk.
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