Notion MCP server — search, export, and import pages as markdown
Connect Runs on your machine
claude mcp add notion-mcp -e NOTION_TOKEN=<NOTION_TOKEN> -e NOTION_USER_ID=<NOTION_USER_ID> -e NOTION_SPACE_ID=<NOTION_SPACE_ID> -- npx -y @shck-dev/[email protected]
{
"mcpServers": {
"notion-mcp": {
"command": "npx",
"args": [
"-y",
"@shck-dev/[email protected]"
],
"env": {
"NOTION_TOKEN": "<NOTION_TOKEN>",
"NOTION_USER_ID": "<NOTION_USER_ID>",
"NOTION_SPACE_ID": "<NOTION_SPACE_ID>"
}
}
}
}
{
"mcpServers": {
"notion-mcp": {
"command": "npx",
"args": [
"-y",
"@shck-dev/[email protected]"
],
"env": {
"NOTION_TOKEN": "<NOTION_TOKEN>",
"NOTION_USER_ID": "<NOTION_USER_ID>",
"NOTION_SPACE_ID": "<NOTION_SPACE_ID>"
}
}
}
}
{
"servers": {
"notion-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@shck-dev/[email protected]"
],
"env": {
"NOTION_TOKEN": "<NOTION_TOKEN>",
"NOTION_USER_ID": "<NOTION_USER_ID>",
"NOTION_SPACE_ID": "<NOTION_SPACE_ID>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
NOTION_TOKENRequired, secret | Notion token_v2 cookie value from browser DevTools |
NOTION_USER_IDRequired | Notion user ID from x-notion-active-user-header |
NOTION_SPACE_IDRequired | Notion workspace ID from API request body |
Details
| Package | @shck-dev/[email protected] (NPM, stdio) |
| First published | 23 Jun 2026 |
| Last updated | 23 Jun 2026 |
| Registry name | io.github.shck-dev/notion-mcp |
More productivity servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
