Notion MCP Server
Search, read, and update Notion pages and databases. Uses OpenAI for semantic search.
claude_desktop_config.json
{
"mcpServers": {
"server-notion": {
"command": "npx",
"args": [
"-y",
"@notionhq/notion-mcp-server"
],
"env": {
"OPENAI_API_KEY": "your-openai-api-key"
}
}
}
} Environment Variables
| Variable | Required | Description |
|---|---|---|
OPENAI_API_KEY | ✓ Required | OpenAI API key used by the Notion MCP server for semantic search functionality. |
Setup Instructions
- Ensure Node.js 18+ is installed on your system.
-
Copy the config block above into your
claude_desktop_config.jsonfile (typically at~/.config/claude/claude_desktop_config.jsonon macOS/Linux or%APPDATA%\Claude\claude_desktop_config.jsonon Windows). - Set the
OPENAI_API_KEYenvironment variable: OpenAI API key used by the Notion MCP server for semantic search functionality. - Restart your AI client to apply the config.