---
title: How to connect Notion MCP to Claude Code
description: Run claude mcp add --transport http notion https://mcp.notion.com/mcp, then /mcp to sign in. The plugin, permission rules, team setup and MCP tokens.
canonical: https://mcp1.com/blog/notion-mcp-claude-code
last-updated: 2026-11-25
---

# How to connect Notion MCP to Claude Code

Run claude mcp add --transport http notion https://mcp.notion.com/mcp, then /mcp to sign in. The plugin, permission rules, team setup and MCP tokens.

![](https://avatars.githubusercontent.com/u/1297371?s=96&v=4)Eldad FuxFounder and CEO, Appwrite

 Terminal

$ claude mcp add --transport http notion mcp.notion.com/mcp

notionAuthenticated

 Terminal

$ claude mcp add --transport http notion mcp.notion.com/mcp

notionAuthenticated

To connect Notion to Claude Code, run `claude mcp add --transport http notion https://mcp.notion.com/mcp`, start Claude Code, run `/mcp` and sign in to Notion. Notion hosts the server, so there is nothing to install. Claude Code can then search, read and write your pages and databases as you, next to the code they describe.

## How do I add the Notion MCP server to Claude Code?

1. 1Add the server. It lands in the default `local` scope, so only you see it, in this project only. Add `--scope user` to have it in every project:  
Terminal  
```  
claude mcp add --transport http notion https://mcp.notion.com/mcp  
```
2. 2Start `claude`, run `/mcp`, select `notion` and choose Authenticate. A browser tab opens, Notion asks which workspace to connect, and you approve.
3. 3Back in `/mcp`, `notion` shows as connected. If `claude mcp list` says “Needs authentication”, the server is added but you haven’t finished step 2.

Then ask for something that starts in Notion and ends in your repository:

Prompt

```
Read the "Bulk export" spec in Notion, list what it asks for that
this repo doesn't do yet, and propose a plan. Don't write code yet.
```

This is the work Claude Code is better at than Notion AI or a chat app: it reads the spec, opens the files it refers to, and compares the two before you write anything.

## Should I use Notion’s Claude Code plugin?

Use it if you want Notion’s prompts as well as its tools. Notion publishes a Claude Code plugin that adds the same hosted server plus Skills from the Notion Cookbook (spec to implementation, meeting notes, knowledge capture and others) and slash commands for searching, creating pages and querying databases. Install it from inside Claude Code, then restart:

Claude Code

```
/plugin marketplace add makenotion/claude-code-notion-plugin
/plugin install notion-workspace-plugin@notion-plugin-marketplace
```

If you only want the tools, or you want to share the setup through a file in the repository, the plain `claude mcp add` above is simpler. Don’t install both: you would get two copies of every Notion tool.

## Which Notion tools does Claude Code get?

The connection acts as your Notion account and reaches every page you can reach. Notion has no setting that limits a connection to some pages. The tools a coding session uses most:

ToolWhat it does

`notion-search`

Searches the workspace. Read.

`notion-fetch`

Reads a page or database by URL or ID. Read.

`notion-query-data-sources`

Queries a database with filters, like open tasks for a project. Read.

`notion-create-pages`

Creates pages, for example a release note or a design doc. Write.

`notion-update-page`

Changes a page’s content or properties. Write.

`notion-create-comment`

Comments on a page. Write.

`notion-delete-pages`

Moves pages to Trash. Write.

The exact list depends on your workspace’s plan and settings. Run `/context` in Claude Code to see how many tokens Notion’s tool definitions cost per request.

## How do I stop Claude Code editing Notion without asking?

Allow the readers, make writes ask and deny deletes, in `.claude/settings.json`. Claude Code names the tools `mcp__notion__<tool>`, and Notion’s tool names keep their hyphens:

.claude/settings.json

```
{
  "permissions": {
    "allow": [
      "mcp__notion__notion-search",
      "mcp__notion__notion-fetch",
      "mcp__notion__notion-query-data-sources"
    ],
    "ask": [
      "mcp__notion__notion-create-pages",
      "mcp__notion__notion-update-page",
      "mcp__notion__notion-create-comment"
    ],
    "deny": [
      "mcp__notion__notion-delete-pages"
    ]
  }
}
```

Claude Code then searches and reads Notion without prompting, shows you the arguments before it creates or changes a page, and can’t delete one. Notion has no read-only URL for its hosted server, so these rules are the read-only mode you have. For the general approach, see [how to make an MCP server read-only](https://mcp1.com/blog/read-only-mcp-server).

## How do I share Notion MCP with my team?

Add the server with `--scope project`. Claude Code writes it to `.mcp.json` in the repository root, which holds only the URL and is safe to commit:

Terminal

```
claude mcp add --transport http --scope project notion https://mcp.notion.com/mcp
```

Each teammate who opens the repository approves the project server, runs `/mcp` and signs in to Notion as themselves, so Notion records edits under their own names. Commit the `.claude/settings.json` rules from the section above with it. Two things stop people from connecting:

- Guests in a Notion workspace can’t connect. Only members can, and Notion refuses the authorization for anyone else.
- On Enterprise, a Notion admin can allow only approved MCP clients. Until an admin approves Claude Code, Notion refuses the sign-in.

## Can I use Notion MCP in Claude Code without OAuth?

On Business and Enterprise, yes. A workspace owner creates an MCP token in Notion’s developer portal, and Claude Code sends it as a bearer token with no browser sign-in. Keep it in an environment variable, not in a committed file:

Terminal

```
claude mcp add --transport http notion https://mcp.notion.com/mcp \
  --header "Authorization: Bearer $NOTION_MCP_TOKEN"
```

That suits CI and scheduled jobs (see [how to use MCP servers in CI and headless agents](https://mcp1.com/blog/mcp-in-ci-and-headless-agents)), but every call then acts as the token, not as a person. Older guides use the local `@notionhq/notion-mcp-server` package with an integration token. Notion no longer maintains it and recommends the hosted server.

## What if Notion doesn’t connect?

- Your config points at `https://mcp.notion.com/sse`. That endpoint is deprecated and Notion retires it on February 23, 2027\. Remove the server and add it again with the `/mcp` URL.
- Sign-in loops or fails. Run `/mcp`, clear the server’s authentication, and authenticate again. Check that you are a member of the workspace, not a guest.
- Tools are missing after installing the plugin. Restart Claude Code; the plugin’s server starts with the session.
- `rate_limited`. Notion allows 180 requests a minute per connection, or 600 on Business and Enterprise. Ask Claude to fetch fewer pages at once.

Check what Claude Code sends

Run `claude --debug` to see the full connection error when `/mcp` only says the server failed.

## Notion for the whole team, in every client

Everything above is per person and per client: each teammate connects Notion in Claude Code, again in Cursor, again in ChatGPT, and nobody can see in one place what the agents changed. MCP1 is a gateway that does it once. An admin installs [Notion](https://mcp1.com/servers/notion) in the workspace with one-click OAuth, puts it in a gateway with the team’s other servers, and grants the gateway to groups with full or read-only access. In Claude Code, people add the gateway once:

Terminal

```
claude mcp add --transport http mcp1 https://mcp1.com/mcp/<workspace>/<gateway>
```

Notion’s tools then sit under a `notion__` prefix next to GitHub, Linear and the rest, rules like “Ask first” hold the write tools for everyone, and every call lands in the audit log with the person who made it. The [docs](https://mcp1.com/docs) cover gateways and groups, and the Individual plan is free to [start with](https://mcp1.com/signup). For the same server in Cursor, see [how to connect Notion MCP to Cursor](https://mcp1.com/blog/notion-mcp-cursor).

## Common questions

### Is Notion MCP free?

Notion MCP works on every Notion plan. Business and Enterprise get higher rate limits and MCP tokens for connecting without OAuth.

### Can Claude Code read private Notion pages?

It can read any page your Notion account can read, including private ones. Notion has no setting that limits a connection to some pages.

### Does Notion MCP work in Claude Desktop and claude.ai too?

Yes, as a connector using the same https://mcp.notion.com/mcp URL. Each client keeps its own sign-in, so you connect Notion once per client.

### Why do I see Notion tools twice?

You likely have both Notion’s plugin and a server added with claude mcp add. Remove one with claude mcp remove notion or by uninstalling the plugin.

Give your team one URL

Create a workspace, install your servers and share a gateway with a group. Free for individuals.

[Start with MCP1](https://mcp1.com/signup)[Read the docs](https://mcp1.com/docs)

## More from the blog

[ ProductLinearRead onlyProductboardRead onlyFigmaRead onlyPostHogRead onlyMCP servers for product teams: what to connect firstConnect Linear, a feedback tool (Productboard, Dovetail), analytics (PostHog, Amplitude) and Figma, read-only. Their tools, setup and which writes to hold back.![](https://avatars.githubusercontent.com/u/1297371?s=96&v=4)Eldad FuxFounder and CEO, Appwrite](https://mcp1.com/blog/mcp-servers-for-product-teams)[ Terminal$ gemini mcp add --transport http github https://api.githubcopilot.com/mcp/\-H 'Authorization: Bearer $GITHUB\_MCP\_PAT'githubConnectedHow to connect GitHub MCP to Gemini CLIInstall GitHub’s Gemini CLI extension or add https://api.githubcopilot.com/mcp/ with a token header. Read-only mode, policy rules, headless runs and fixes.![](https://avatars.githubusercontent.com/u/1297371?s=96&v=4)Eldad FuxFounder and CEO, Appwrite](https://mcp1.com/blog/github-mcp-gemini-cli)

---

This is the markdown copy of https://mcp1.com/blog/notion-mcp-claude-code. Site index for agents: https://mcp1.com/llms.txt
