# better-notion [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/ai-aviate/better-mcp-notion  
**GitHub Stars:** 2  
**npm Downloads (last month):** 277  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/better-notion

## Description
Operate Notion with a single Markdown document — read, create, and update pages in one call.

## Tools
Capabilities this server exposes over MCP:

- **read** — Read a Notion page as Markdown with frontmatter. Supports recursive child page reading with `depth`.
- **write** — Create or update pages from Markdown. Supports batch operations and append/prepend.
- **search** — Search the workspace by keyword. Returns a Markdown-formatted list.
- **list** — List database records as a table or child pages as a list. Supports natural language filter & sort.
- **update** — Quick property update without rewriting content. Just pass page + key-value pairs.
- **schema** — View or modify database schema — add, remove, or rename columns.
- **comment** — Add or read comments on a page.
- **delete** — Archive (soft-delete) a page.
- **move** — Move a page to a different parent page or database.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "better-notion": {
    "command": "npx",
    "args": ["-y","better-mcp-notion"],
    "env": {
      "NOTION_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `NOTION_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What better-notion does

The better-notion MCP server exposes Notion workspace operations through nine MCP tools. Its main interface is a Markdown document containing optional YAML frontmatter and a page body. This format represents titles, parent pages, database targets, icons, covers, and database properties alongside the page content.

The server supports both ordinary pages and database records. It can retrieve a page as Markdown, create or replace page content, append or prepend content, and process multiple documents in one write request. It also provides workspace search, database and child-page listing, property-only updates, schema administration, comments, archival, and page moves.

## How it works

Reading a page returns frontmatter with identifiers, URLs, titles, parent or database information, properties, and timestamps, followed by the page body. A read can include nested child pages by setting a depth value; the default reads only the requested page.

Writing uses frontmatter to identify the operation. New pages need either a parent or a database, while updates use an existing page ID. Database properties are matched against the database schema. Multiple pages can be separated with `===` in a single batch request.

The `list` tool can return database rows as a table or child pages as a list. Its filter syntax supports equality, inequality, multi-select membership, checkbox values, numeric comparisons, and date comparisons, with conditions combined using `AND`. Sort expressions can order results by a property in ascending or descending order.

## Setup and configuration

Create a Notion integration from the Notion integrations page and copy its API key. The required environment variable is `NOTION_API_KEY`. Each page or database that the integration should access must be shared with it through Notion's page connection controls.

For a package-based setup, configure an MCP client to run `npx -y better-mcp-notion` and provide the API key in the server's environment. Claude Code can add the server with `claude mcp add better-notion -- npx better-mcp-notion`. From source, clone the repository, run `npm install && npm run build`, and point the MCP configuration to the resulting `build/index.js` file.

## Tools and capabilities

The better-notion MCP server provides these tools:

- `read`: Return a page as Markdown and optionally include descendants.
- `write`: Create or update pages, append or prepend content, and batch multiple documents.
- `search`: Find workspace content by keyword and return Markdown-formatted results.
- `list`: Show database records or child pages with filtering and sorting support.
- `update`: Change page properties without rewriting the body.
- `schema`: View, add, rename, or remove database columns.
- `comment`: Read existing comments or add a comment to a page.
- `delete`: Archive a page rather than permanently deleting it.
- `move`: Change a page's parent page or database.

## Limitations and notes

The better-notion MCP server requires a Notion integration and appropriate sharing permissions; the API key alone does not grant access to every workspace page. Updates through `write` replace existing body blocks unless append or prepend is selected. Some fields returned by `read`, including URLs, timestamps, formulas, and other read-only values, are ignored when supplied to `write`.

The project is licensed under Elastic License 2.0. It may be used, modified, and distributed, but it cannot be offered as a managed or hosted service.

_Full upstream README: https://allmcps.com/mcp/better-notion/readme_

