Notion Agent Memory
by GoldArowana
README.md
# 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:
```sh
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](docs/INSTALL.md) and [Notion schema](docs/NOTION.md). 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](docs/OPERATIONS.md) for journal ownership, failure handling, and recovery.
## Verification
```sh
npm run check
```
See [validation](docs/VALIDATION.md) for offline tests, local package verification, and live checks.
## License
[MIT](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues