MCP Notion Server

MCP Notion Server

A bridge between Claude AI and Notion that enables users to interact with Notion databases and pages through natural language, supporting operations like creating, reading, updating, and deleting content.

gabornyergesX

Note Taking
Databases
Local
JavaScript
Visit Server

Tools

query_database

Query a database with filters and sorting

search

Search pages and databases

list_databases

List all accessible databases

create_database

Create a new database

create_page

Create a new page

update_page

Update an existing page

append_blocks

Append blocks to a page

delete_blocks

Delete blocks from a page

get_page

Retrieve a page by ID

get_database

Retrieve a database by ID

README

mcp-notion-server

A Model Context Protocol server for Notion integration

This TypeScript-based MCP server implements a bridge between Claude and Notion, allowing seamless interaction with Notion's databases and pages. It demonstrates core MCP concepts through:

  • Resource management for Notion pages and databases
  • Tools for CRUD operations on Notion content
  • AI-powered prompts for content analysis

Features

Resources

  • Access Notion pages and databases via URIs
  • Support for plain text and rich text content types
  • Metadata extraction from Notion properties

Tools

Database Operations

  • list_databases - List all accessible Notion databases
  • create_database - Create a new database with custom properties
  • query_database - Search and filter database entries
  • update_database - Modify database properties and schema

Page Operations

  • create_page - Create new pages in databases or as subpages
    • Support for title, properties, and markdown content
  • update_page - Update existing page properties
  • get_page - Retrieve page content and metadata
  • delete_page - Remove pages from databases or parent pages

Block Operations

  • append_blocks - Add new blocks to a page
  • delete_blocks - Remove blocks from a page
  • get_blocks - Retrieve block content
  • update_blocks - Modify existing block content

Prompts

  • summarize_notes - Generate concise summaries of notes
  • analyze_content - Provide insights and analysis of page content
  • suggest_tags - Recommend relevant tags based on content

Setup

Prerequisites

  • Node.js 18 or higher
  • Notion API Key and Integration setup
  • Claude Desktop application

Integration with Claude Desktop

Create a Notion Integration:

  1. Visit the Notion Your Integrations page.

  2. Click "New Integration".

  3. Name your integration and select appropriate permissions (e.g., "Read content", "Update content").

  4. Retrieve the Secret Key:

  5. Copy the "Internal Integration Token" from your integration. This token will be used for authentication.

  6. Add the Integration to Your Workspace:

  7. Open the page or database you want the integration to access in Notion.

  8. Click the navigation button in the top right corner.

  9. Click "Connect to" button and select your integration.

Configuration Setup

Add the server configuration to Claude Desktop:

MacOS:

~/Library/Application Support/Claude/claude_desktop_config.json

Windows:

%APPDATA%/Claude/claude_desktop_config.json

Configuration content:

{
  "mcpServers": {
   "mcp-notion-server": {
      "command": "npx",
      "args": [
        "-y",
        "@gabornyerges/mcp-notion-server"
      ],
      "env": {
        "NOTION_API_KEY": "your-notion-api-key"
      }
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

  1. MCP Inspector
npm run inspector

MIT License - see LICENSE for details

Recommended Servers

Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Excel MCP Server

Excel MCP Server

A Model Context Protocol server that enables AI assistants to read from and write to Microsoft Excel files, supporting formats like xlsx, xlsm, xltx, and xltm.

Featured
Local
Go
Playwright MCP Server

Playwright MCP Server

Provides a server utilizing Model Context Protocol to enable human-like browser automation with Playwright, allowing control over browser actions such as navigation, element interaction, and scrolling.

Featured
Local
TypeScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
Apple MCP Server

Apple MCP Server

Enables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.

Featured
Local
TypeScript
Supabase MCP Server

Supabase MCP Server

A Model Context Protocol (MCP) server that provides programmatic access to the Supabase Management API. This server allows AI models and other clients to manage Supabase projects and organizations through a standardized interface.

Featured
JavaScript
@kazuph/mcp-gmail-gas

@kazuph/mcp-gmail-gas

Model Context Protocol server for Gmail integration. This allows Claude Desktop (or any MCP client) to interact with your Gmail account through Google Apps Script.

Featured
JavaScript
MCP DuckDB Knowledge Graph Memory Server

MCP DuckDB Knowledge Graph Memory Server

A memory server for Claude that stores and retrieves knowledge graph data in DuckDB, enhancing performance and query capabilities for conversations with persistent user information.

Featured
TypeScript
dbt Semantic Layer MCP Server

dbt Semantic Layer MCP Server

A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.

Featured
TypeScript
Metabase MCP Server

Metabase MCP Server

Enables AI assistants to interact with Metabase databases and dashboards, allowing users to list and execute queries, access data visualizations, and interact with database resources through natural language.

Featured
JavaScript