How to Set Up Notion MCP Server for Claude: Step-by-Step Guide

Learn how to connect Anthropic Claude to Notion using an MCP server. This step-by-step guide covers installation, configuration, automation workflows, and troubleshooting—plus how Apidog streamlines your API development alongside MCP.

Ashley Goolam

Ashley Goolam

20 January 2026

How to Set Up Notion MCP Server for Claude: Step-by-Step Guide

Unlocking seamless productivity requires connecting your AI assistants directly to your favorite tools. This guide covers how to set up a Notion MCP (Model Context Protocol) server, enabling Anthropic's Claude to read, write, and automate workflows in your Notion workspace—all from your desktop. Whether you’re building custom automations or streamlining API development, this tutorial is designed for technical professionals seeking practical, reliable integrations.

If you’re looking to enhance your API workflow while building these integrations, tools like Apidog offer an all-in-one solution for API design, testing, and collaboration, making it easier to manage and document the endpoints that power your Notion MCP connections.

button

Image


What Is MCP Server? (Model Context Protocol Explained)

The Model Context Protocol (MCP), introduced by Anthropic, is a standardized framework that allows large language models (LLMs) to interact directly with external applications. Unlike traditional AI integrations that only generate text-based suggestions, MCP enables two-way, structured communication between AI agents and productivity apps.

Key capabilities when connecting MCP to Notion:

For API developers, this opens the door to advanced automation and workflow orchestration directly from within your AI assistant.


Prerequisites

Before you get started, ensure you have:


Step 1: Clone and Build the Notion MCP Server

To create the bridge between Claude and Notion, clone the MCP Notion server repository:

git clone https://github.com/suekou/mcp-notion-server.git
cd mcp-notion-server
npm install
npm run build

This compiles the server and prepares it for integration.


Step 2: Create a Notion Integration and API Token

Your bridge needs permission to work with your Notion workspace.

  1. Go to the Notion Integrations page.
  2. Click New Integration.
  3. Name it (e.g., "Claude MCP").
  4. Select your target workspace.
  5. Keep the integration type as Internal.
  6. Submit to generate the integration.

Copy the Internal Integration Token—you’ll use this as an environment variable.
Security Note: Never share this token. It grants access to your Notion data.


Step 3: Configure Claude Desktop for the MCP Server

Claude Desktop uses a JSON config file to manage server connections.

  1. Find or create claude_desktop_config.json:
    • macOS: ~/Library/ApplicationSupport/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Open it in a text editor, and configure as follows (replace paths and tokens):
{
  "mcpServers": {
    "notion": {
      "command": "node",
      "args": [
        "/full/path/to/mcp-notion-server/notion/build/index.js"
      ],
      "env": {
        "NOTION_API_TOKEN": "your_notion_api_token"
      }
    }
  }
}

Step 4: Connect Your Integration to Notion Pages

For security, Notion requires you to explicitly connect integrations to specific pages:

  1. Open the target Notion page.
  2. Click the "..." menu (top right), then Add connections.
  3. Select your integration.
  4. To reference a page, copy its ID from the URL (e.g., 1234567890abcdef1234567890abcdef).

Step 5: Restart and Test the Connection

  1. Restart Claude Desktop.
  2. Click the tools (hammer) icon in Claude.
  3. Check if "notion" appears under "From Server".

If it does, your MCP server is live. If not, double-check config paths, environment variables, and token validity.


Practical Use Cases: Claude + Notion Automation

Save Content to Notion

Ask Claude to draft content (e.g., meeting notes or summaries) and say:

I want to save this content to Notion with [your-page-id]

Claude will request permission and, once approved, create a new Notion page with your content.

Image

Query Notion Databases

Connect your integration to a Notion database and ask:

Tell me movies rated ⭐️⭐️⭐️⭐️⭐️ in my movie database

Claude will filter and return matching entries, making data retrieval effortless.


Advanced Configuration Tips

Environment Variables

You can add further environment variables for debugging or environment control:

"env": {
  "NOTION_API_TOKEN": "your_token",
  "NODE_ENV": "production",
  "NOTION_DEBUG": "true"
}

Set NOTION_DEBUG to true for verbose logs.

Multiple MCP Servers

You can connect Claude to several MCP servers (e.g., Notion and SQLite):

{
  "mcpServers": {
    "sqlite": {
      "command": "uvx",
      "args": [
        "mcp-server-sqlite",
        "--db-path",
        "/Users/USERNAME/test.db"
      ]
    },
    "notion": {
      "command": "node",
      "args": [
        "/Users/USERNAME/Desktop/mcp-notion-server/notion/build/index.js"
      ],
      "env": {
        "NOTION_API_TOKEN": "API_TOKEN"
      }
    }
  }
}

Troubleshooting Your Notion MCP Server

If the Server Doesn’t Appear in Claude

API Token Issues

Connection Problems

"command": "/opt/homebrew/bin/node"

Streamline API Development with Apidog

While setting up your Notion MCP server, managing APIs becomes crucial—especially for custom endpoints and integrations. Apidog provides an integrated environment for API design, documentation, debugging, automated testing, and mocking, all in one platform.

button

Image

For teams building and maintaining APIs to interact with your MCP server, Apidog’s powerful request builder, environment variable management, and team collaboration features help ensure your API layer is robust and well-documented. This reduces context-switching and simplifies the lifecycle from design to deployment.

button

Looking Forward: The Future of MCP and Notion Integration

Anthropic is actively developing MCP, and future versions may unlock:

By deploying your own Notion MCP server, you’re future-proofing your productivity stack and gaining granular control over how Claude and Notion interact.


Conclusion

Setting up a Notion MCP server empowers technical teams to automate, query, and organize workspace content through Anthropic's Claude. By following the steps above, you’ll create a secure, flexible bridge between AI and Notion—boosting efficiency and unlocking new automation opportunities.

For API-driven teams, leveraging tools like Apidog alongside your MCP setup ensures your endpoints are reliable, well-documented, and easy to maintain. As MCP adoption grows, mastering these integrations today gives your team a head start on the workflows of tomorrow.

Explore more

Best Suno AI API Alternatives for Developers

Best Suno AI API Alternatives for Developers

Uncover the best Suno API alternatives for 2026, with KIE AI API leading as the top pick for seamless, multi-modal music creation. This guide compares features, benchmarks on latency and quality, and integration tips plus how Apidog streamlines API testing for flawless audio workflows.

20 January 2026

10 Best AI Video APIs for Developers 2026

10 Best AI Video APIs for Developers 2026

Compare top 10 AI video APIs for 2026 with real benchmarks on speed, cost, and quality. Includes Hypereal AI, OpenAI Sora, Google Veo, and integration guides.

20 January 2026

10 Best AI Image APIs for Developers

10 Best AI Image APIs for Developers

Explore the top 10 AI image APIs for 2026, ranked by performance, cost, and reliability. From Hypereal AI's lightning-fast generation to Flux Pro's quality-speed fusion, this guide delivers real benchmarks on latency, pricing, and error rates.

20 January 2026

Practice API Design-first in Apidog

Discover an easier way to build and use APIs