Supports conversion of markdown-like content into Notion blocks, enabling seamless transformation of formatted text into Notion's native format.
Provides tools for creating, updating, and searching Notion pages, converting plain text and markdown-like content into Notion blocks, and supporting append/replace operations on existing Notion content.
NotionMCP Server
A Python server that integrates MCP with Notion to automate documentation workflows and manage Notion via LLMs.
Features
- Exposes MCP tools for creating, updating, and searching Notion pages
- Converts plain text and markdown-like content into Notion blocks
- Supports appending and replacing content in Notion pages
- Provides debug information for troubleshooting
Requirements
- Python 3.10+
- Notion integration token and parent page ID
- MCP server and CLI
- See requirements.txt for Python dependencies
Setup
- Clone the repository and navigate to the project directory.
- Install dependencies:
- Configure environment variables:
- Find the related API key and parent page ID from your Notion
- API key is the integration key
- Parent page ID is the target page we use to interact with LLMs prompt
- Set
NOTION_API_KEY
andNOTION_PARENT_ID
in.env
file
- Run the server:
- Edit LLMs config file to recognize MCP server:
- In this project, I used Claude desktop, here is how to edit the config
- Find
claude_desktop_config.json
and edit as follows:
- Use
which python
to find the executable python file running your server
License
MIT License
This server cannot be installed
A Python server that integrates MCP with Notion to automate documentation workflows and manage Notion pages via LLMs, supporting operations like creating, updating, and searching Notion content.
Related MCP Servers
- AsecurityAlicenseAqualityMCP Server for the Notion API, enabling Claude to interact with Notion workspaces.Last updated -181,797799TypeScriptMIT License
- AsecurityFlicenseAqualityA high-performance MCP server that integrates Notion into AI workflows, enabling interaction with Notion pages, databases, and comments through a standardized protocol.Last updated -842922TypeScript
- AsecurityAlicenseAqualityNotion MCP Server is a MCP server implementation that enables AI assistants to interact with Notion's API.Last updated -13643129TypeScriptMIT License
Notion MCP Serverofficial
AsecurityAlicenseAqualityAn MCP server that enables AI assistants to interact with the Notion API, allowing them to search, read, comment on, and create content in Notion workspaces through natural language commands.Last updated -1913,9192,791TypeScriptMIT License