Skip to main content
Glama
Notion Agent Memory

Notion Agent Memory

by GoldArowana

Notion Agent Memory

Shared memory for AI agents, backed by a dedicated Notion data source and exposed over MCP. It keeps a local SQLite snapshot and uses FTS5 with BM25 ranking for Chinese, English, and mixed-language queries.

This is an independent open-source project.

Quick start

Install Node.js 24.22.1, the version pinned in .nvmrc, then run:

git clone https://github.com/GoldArowana/notion-agent-memory.git
cd notion-agent-memory
npm ci --ignore-scripts
npm run build

Configure your MCP client to run node /absolute/path/to/notion-agent-memory/dist/index.js over stdio. Connect the client to a dedicated workspace source using the installation guide and Notion schema. Start with read-only access and check memory_status followed by refresh_memory.

Tool

Purpose

memory_status

Inspect configuration, freshness, and coverage.

refresh_memory

Refresh and validate the dedicated source.

search_memory

Rank matching records, optionally within a logical scope.

get_memory

Read a single record and its revision.

create_memory

Create an authorized record with an operation UUID.

revise_memory

Replace a record against its expected revision.

archive_memory

Set a record's status to archived.

Writes are disabled by default and require a dedicated Linux writer authority. Give each MCP server instance its own cache path. This project treats scopes as search filters and stored content as data. See operations for journal ownership, failure handling, and recovery.

Related MCP server: notion-memory-mcp

Verification

npm run check

See validation for offline tests, local package verification, and live checks.

License

MIT.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides a local-first, source-cited memory layer for AI agents, with MCP tools to search, read, explain sources, and propose/apply memory updates.
      52 npm
      13
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to use Notion as a persistent memory tier by providing tools to search, read, save (upsert) pages, append to pages, and query databases.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP-compatible agents to remember, recall, link, and forget durable notes across devices, with local SQLite storage and optional libSQL/Turso sync.
      4
      16 PyPI
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP-compatible AI assistants to save, recall, and reason over a persistent, shared memory vault stored as Notion pages, so conversations, decisions, tasks, and entities survive session resets, new branches, and handoffs between teammates and agents.
      MIT