notion-mpm
Provides tools for interacting with Notion's API, including pages, blocks, databases, users, search, and comments.
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-mpmquery my Projects database for active projects"
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-mpm
Python MCP server + API library for Notion workspace integration.
Provides:
Clean Python API:
from notion_mpm.api import pages; await pages.get_page(token, page_id)MCP server: wraps the API for Claude Desktop (
uv run notion-mpm mcp)20+ tools: pages, blocks, databases, users, search, comments
Setup
cp .env.local.example .env.local
# Add NOTION_API_KEY=secret_...
uv syncCreate a Notion integration at: https://www.notion.so/my-integrations
Then share your pages/databases with the integration inside Notion.
Related MCP server: Notion MCP Server
Run
uv run notion-mpm setup # verify token + workspace
uv run notion-mpm doctor # health check
uv run notion-mpm mcp # start MCP server (for Claude Desktop)Test
uv run pytest
uv run pytest --cov=src --cov-report=htmlClaude Desktop Config
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"notion": {
"command": "uv",
"args": ["run", "--directory", "/path/to/notion-mpm", "notion-mpm", "mcp"]
}
}
}API Overview
src/notion_mpm/
├── api/
│ ├── _client.py # Shared httpx client + NotionAPIError
│ ├── pages.py # get, create, update, archive, restore pages
│ ├── blocks.py # get, append, update, delete blocks + helpers
│ ├── databases.py # get, create, update, query databases
│ ├── users.py # list, get, get_bot_user
│ ├── search.py # search pages and databases
│ └── comments.py # get and create comments
├── auth/ # Token management from .env/.env.local
├── cli/ # Click CLI commands
└── server/ # Thin MCP adapter over api/MCP Tools
Category | Tools |
Pages |
|
Blocks |
|
Databases |
|
Users |
|
Search |
|
Comments |
|
Token Scopes
Your integration needs these capabilities (set in Notion integration settings):
Read content — required for all read operations
Update content — required for create/update/archive
Insert comments — required for
create_commentRead comments — required for
get_comments
Release
make publish # patch bump + PyPI + GitHub Release
make publish-minor # minor bump
make publish-major # major bumpThis 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.
Latest Blog Posts
- 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/bobmatnyc/notion-mpm'
If you have feedback or need assistance with the MCP directory API, please join our Discord server