Notion MCP Server
by shck-devio.github.shck-dev/notion-mcpv0.5.2
Notion MCP server — search, export, and import pages as markdown
context tax
queued
security
queued
cold start
queued
freshness
Slowing4mo ago
Install Notion MCP server
Install in Claude Code
claude mcp add notion-shck-dev -e NOTION_TOKEN='<notion-token>' -e NOTION_USER_ID='<notion-user-id>' -e NOTION_SPACE_ID='<notion-space-id>' -- npx -y @shck-dev/notion-mcpInstall in Cursor
{
"mcpServers": {
"notion-shck-dev": {
"command": "npx",
"args": [
"-y",
"@shck-dev/notion-mcp"
],
"env": {
"NOTION_TOKEN": "<notion-token>",
"NOTION_USER_ID": "<notion-user-id>",
"NOTION_SPACE_ID": "<notion-space-id>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"notion-shck-dev": {
"command": "npx",
"args": [
"-y",
"@shck-dev/notion-mcp"
],
"env": {
"NOTION_TOKEN": "<notion-token>",
"NOTION_USER_ID": "<notion-user-id>",
"NOTION_SPACE_ID": "<notion-space-id>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"notion-shck-dev": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@shck-dev/notion-mcp"
],
"env": {
"NOTION_TOKEN": "<notion-token>",
"NOTION_USER_ID": "<notion-user-id>",
"NOTION_SPACE_ID": "<notion-space-id>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"notion-shck-dev": {
"command": "npx",
"args": [
"-y",
"@shck-dev/notion-mcp"
],
"env": {
"NOTION_TOKEN": "<notion-token>",
"NOTION_USER_ID": "<notion-user-id>",
"NOTION_SPACE_ID": "<notion-space-id>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| NOTION_TOKEN | yes | yes | Notion token_v2 cookie value from browser DevTools |
| NOTION_USER_ID | yes | — | Notion user ID from x-notion-active-user-header |
| NOTION_SPACE_ID | yes | — | Notion workspace ID from API request body |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-06-23 · 4mo ago · GitHub
Latest release
2026-05-30 · 4mo ago · GitHub · v0.4.0
Package published
no data · npm/PyPI
Registry entry updated
2026-06-23 · 4mo ago · official registry · v0.5.2
FAQ
›How do I install the Notion MCP server in Claude Code?
Run: claude mcp add notion-shck-dev -e NOTION_TOKEN='<notion-token>' -e NOTION_USER_ID='<notion-user-id>' -e NOTION_SPACE_ID='<notion-space-id>' -- npx -y @shck-dev/notion-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Notion require an API key?
Yes. It expects NOTION_TOKEN, NOTION_USER_ID, NOTION_SPACE_ID, of which 1 is a secret.
›Can I use Notion as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Notion in the official MCP registry?
Yes, as io.github.shck-dev/notion-mcp.
Alternatives to Notion
Other notes & knowledge MCP servers.