Notion API Claude Desktop Config
Add the Notion API MCP server to Claude Desktop with this ready-to-use configuration.
Setup Instructions
- Open Claude Desktop
- Go to Settings → Developer → Edit Config →
claude_desktop_config.json - Paste the JSON below into the file
- Set your credentials in the
envsection - Restart Claude Desktop
Configuration JSON
Copy the entire block into your claude_desktop_config.json
{
"mcpServers": {
"notion-com": {
"command": "npx",
"args": [
"-y",
"@mcp/notion-com"
],
"env": {
"NOTION_API_API_KEY": "your_notion_api_api_key"
}
}
}
}Environment Variables
NOTION_API_API_KEYReplace your_notion_api_api_key with your actual notion api api key
Endpoints
GET
/v1/blocks/{id}Retrieve a block
DELETE
/v1/blocks/{id}Delete a block
PATCH
/v1/blocks/{id}Update a block
GET
/v1/blocks/{id}/childrenRetrieve block children
PATCH
/v1/blocks/{id}/childrenAppend block children
GET
/v1/commentsRetrieve comments
GET
/v1/databases/{id}Retrieve a database
PATCH
/v1/databases/{id}Update a database
POST
/v1/databases/{id}/queryQuery a database
GET
/v1/pages/{id}Retrieve a Page