A Model Context Protocol (MCP) server implementation for Notion integration, providing a standardized interface for interacting with Notion's API. Compatible with Claude Desktop and other MCP clients.
- List and query Notion databases
- Create and update pages
- Search across Notion workspace
- Get database details and block children
- Full async/await support with httpx
- Type-safe with Pydantic v2 models
- Proper error handling with detailed logging
- Compatibility with MCP 1.6.0
To install Notion Integration Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @ccabanillas/notion-mcp --client claude- Clone the repository:
git clone https://github.com/ccabanillas/notion-mcp.git
cd notion-mcp- Create a virtual environment and install dependencies (using uv):
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .Alternatively, using standard venv:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e .- Create a
.envfile in the project root:
NOTION_API_KEY=your_notion_integration_token