{"type":"mcp_server","name":"notion-server","description":"This repository provides a Model Context Protocol (MCP) server for Notion, enabling Language Models to interact with Notion workspaces through standardized tools for page and database operations. This repository provides","category":"Productivity","language":"TypeScript","stars":119,"forks":12,"owner":"v-3","github_url":"https://github.com/v-3/notion-server","homepage":null,"setup":"## Setup\n\n### Prerequisites\n- Node.js (v16 or higher)\n- Notion API key\n- MCP-compatible client (e.g., Claude Desktop)\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/v-3/notion-server.git\ncd notion-server\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Set up your environment:\n```bash\n# Create .env file\necho \"NOTION_API_KEY=your_notion_api_key_here\" > .env\n\n# Or export directly\nexport NOTION_API_KEY=your_notion_api_key_here\n```\n\n4. Build the server:\n```bash\nnpm run build\n```\n\n### Claude Desktop Setup\n\n1. Update your Claude Desktop configuration (`claude_desktop_config.json`):\n```json\n{\n    \"mcpServers\": {\n        \"notion\": {\n            \"command\": \"node\",\n            \"args\": [\"/absolute/path/to/notion-server/build/index.js\"],\n            \"env\": {\n                \"NOTION_API_KEY\": \"your_notion_api_key_here\"\n            }\n        }\n    }\n}\n```\n\n2. Restart Claude Desktop to apply changes\n\n### Setting Up Notion Access\n\n1. Visit [Notion Integrations](https://www.notion.so/my-integrations)\n2. Click \"New integration\"\n3. Configure permissions:\n   - Content: Read, Update, Insert\n   - Comments: Read, Create\n   - User Information: Read\n\n### Connecting Pages\n\n1. Open your Notion page\n2. Click \"...\" menu â \"Connections\"\n3. Add your integration\n4. Repeat for other pages as needed","tools":"## Available Tools\n\n1.  Search through your Notion workspace (allows searching through your Notion workspace).\n2.  Create new pages with rich markdown content (allows creating new pages with rich markdown content).\n3.  Read page content with clean formatting (allows reading page content with clean formatting).\n4.  Update existing pages (allows updating existing pages).\n5.  Add and retrieve comments (allows adding and retrieving comments).\n6.  Block-level operations (update, delete) (allows updating and deleting blocks).\n7.  Create and manage databases (allows creating and managing databases).\n8.  Add and update database items (allows adding and updating database items).\n9.  Query with filters and sorting (allows querying databases with filters and sorting).\n","faq":null,"created_at":"2024-12-16T08:27:01+00:00","updated_at":"2025-03-28T16:53:15+00:00","source_url":"https://model-context-protocol.com/servers/notion-language-model-workspace-server-mcp","related_articles":[]}