stdio productivityknowledge

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

  1. Ensure Node.js 18+ is installed on your system.
  2. Copy the config block above into your claude_desktop_config.json file (typically at ~/.config/claude/claude_desktop_config.json on macOS/Linux or %APPDATA%\Claude\claude_desktop_config.json on Windows).
  3. Set the OPENAI_API_KEY environment variable: OpenAI API key used by the Notion MCP server for semantic search functionality.
  4. Restart your AI client to apply the config.