Skip to content

Menu

Notion MCP Server logo

Notion MCP Server

Published · Updated

At a glance

Watch out for
Notion states the repository is no longer actively maintained; the hosted Remote Notion MCP is the supported option.

The repository listed here, makenotion/notion-mcp-server, is Notion's open-source local MCP server, published on npm as @notionhq/notion-mcp-server. The most important thing to know before installing it is that Notion itself now says it is no longer actively maintained and recommends its hosted Remote Notion MCP instead.

The two are quite different. The local server is a fairly direct mapping of the Notion REST API into tools: search, read and update pages, query databases, add comments. You create an integration in Notion, copy its token, and share each page or database with that integration before the model can see it. The hosted server uses OAuth, respects each person's existing Notion permissions, searches semantically across the workspace, and returns page content as Markdown, which Notion says uses far fewer tokens.

So who should still use the local server? Mainly people who need to run it themselves, for example inside a locked-down network, or who want a token with deliberately narrow, read-only access. For everyone else, the hosted server at developers.notion.com/docs/mcp is the better starting point, and that is Notion's own advice.

How it connects

Your AI app

An assistant or agent that supports MCP

Notion MCP Server

Runs as

  • npx (Node.js)
  • Docker
  • Remote (HTTP)

Gives the agent

  • Pages as Markdown
  • Data sources (databases)
  • Page management
  • HTTP transport with auth

Notion

Signs in with

  • Token
Your AI app talks to Notion MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Pages as Markdown
retrieve-page-markdown reads a whole page as Markdown, optionally with meeting-note transcripts, and update-page-markdown replaces or edits page content with Markdown.
Data sources (databases)
Since version 2.0, database tools use Notion's data source model: query-data-source with filters and sorts, retrieve-a-data-source for the schema, and create- and update-a-data-source.
Page management
Tools for searching, retrieving and updating pages and their properties, adding comments, and move-page for changing a page's parent.
HTTP transport with auth
Besides stdio, the server can run over Streamable HTTP with --transport http, which requires a bearer token unless you explicitly disable it.

Setting it up

Create an internal integration in Notion's integration settings and copy its token (it starts with ntn_). Then run npx -y @notionhq/notion-mcp-server with NOTION_TOKEN set in the server's env, or use the Docker image with -e NOTION_TOKEN. Before the model can read anything, open each page or database in Notion and add your integration under Connections; pages you have not shared are invisible to it. For a safer setup, give the integration only Read content access in its Configuration tab. If you run the HTTP transport, keep authentication on: the README warns that --unsafe-disable-auth can expose the server to web pages via DNS rebinding.

Run in a terminal
claude mcp add notion -- npx -y @notionhq/notion-mcp-server

Runs the @notionhq/notion-mcp-server package from npm. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Self-hosting Notion access where a hosted service is not allowed
  • Giving an assistant read-only access to a handful of specific pages, such as team specs
  • Querying a Notion database with filters, for example open tasks for one project
  • Appending meeting notes or decisions to an existing page from a chat

Limitations and things to watch

  • Notion states the repository is no longer actively maintained; the hosted Remote Notion MCP is the supported option.
  • Search is keyword-based, unlike the hosted server's semantic search.
  • Every page must be shared with the integration by hand, which is easy to forget and confusing when results come back empty.
  • Version 2.0 renamed the database tools to data source tools; older prompts and examples that use post-database-query will fail.
  • Notion notes there is still risk to workspace data when exposing it to a model, even though destructive operations such as deleting databases are not exposed.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…