Notion MCP Server
Allows accessing, querying, and modifying content in Notion workspaces, including retrieving database schemas, listing database contents, reading page content, monitoring workspace updates, and performing operations like creating and updating pages and tasks.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Notion MCP Serverwhat tasks are due today in my workspace?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Notion MCP Server
A Model Context Protocol (MCP) server for integrating with Notion workspaces. This server provides a standardized interface for AI models to access, query, and modify content in Notion.
Prerequisites
Node.js (v16 or higher)
Notion API Key (from your Notion integrations)
Connected Notion workspace with appropriate permissions
Related MCP server: Notion MCP Server
Installation
Clone this repository:
git clone https://github.com/yourusername/notion-mcp-server.git cd notion-mcp-serverInstall dependencies:
npm installCreate a
.envfile in the root directory with your Notion API key:# Required NOTION_API_KEY=your_notion_api_key_here # Optional settings DEBUG=false REQUIRE_CONFIRMATION_FOR_CREATE=true REQUIRE_CONFIRMATION_FOR_UPDATE=true REQUIRE_CONFIRMATION_FOR_DELETE=true UPDATE_POLLING_INTERVAL=60000 MAX_BLOCK_DEPTH=3 BACKUP_DIR=./backups BACKUP_RETENTION_DAYS=30 MAX_BACKUPS_PER_PAGE=5Build the project:
npm run buildStart the server:
npm start
Using with Claude for Desktop
To use this Notion MCP server with Claude for Desktop:
Ensure Claude for Desktop is installed and updated to the latest version
Open Claude for Desktop's configuration file:
On macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonOn Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the server configuration:
{ "mcpServers": { "notion": { "command": "node", "args": ["/path/to/notion-mcp-server/build/index.js"], "env": { "NOTION_API_KEY": "your_notion_api_key_here" } } } }Save the file and restart Claude for Desktop
Resources
The server exposes the following resources:
Resource URI | Description |
| Lists all databases in the workspace |
| Retrieves the schema of a specific database |
| Retrieves all pages/items from a specific database |
| Retrieves the content of a specific page |
| Retrieves recent updates and changes in the workspace |
Tools
The server provides the following tools:
Prompts
The server includes these pre-configured prompts:
Prompt Name | Description |
| Get a list of upcoming deadlines |
| Summarize the status of a project |
| Get a list of tasks for today |
Example Queries
Once connected to Claude, you can ask natural language questions about your Notion workspace:
"What tasks are due today in my workspace?"
"Show me the status of Project X"
"Create a new page in my 'Ideas' database with title 'New Feature Concept'"
"Update the status of task Y to 'Completed'"
"What changes were made to my workspace in the last 24 hours?"
"Summarize the upcoming deadlines for the next week"
"Show me all backups for page abc123"
"Restore page abc123 from the backup file page_abc123_2023-01-01.json"
Extending the Server
To add new functionality:
Add Resources: Extend the resource handlers in
index.tsAdd Tools: Create new tool definitions in
index.tsAdd Prompts: Define new prompt templates in
index.tsEnhance API Integration: Add new API functions in
notion-api.ts
Logs
Check server logs for detailed error information:
Claude for Desktop Logs: Look in the Claude logs directory for MCP-related logs
Server Output: Check standard output and error streams for server logs
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseDqualityDmaintenanceA Model Context Protocol server that enables Claude and other LLMs to interact with Notion workspaces, providing capabilities like searching, retrieving, creating and updating pages, as well as managing databases.Last updated101,6843MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides a standardized interface for interacting with Notion's API, enabling users to list databases, create pages, and search across their Notion workspace.Last updated111MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server that exposes the official Notion SDK, allowing AI models to interact with Notion workspaces.Last updated177610Apache 2.0
- AlicenseBqualityDmaintenanceA Model Context Protocol server that connects Claude and other AI assistants to your Notion workspace, allowing AIs to interact with databases, pages, and blocks.Last updated12011MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ghubnerr/Notion-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server