@devheerim/notion-mcp-server
Provides tools for interacting with the Notion API, including querying databases with filters, sorting, and pagination; managing pages and databases; searching the workspace; handling comments and users; and moving or duplicating pages.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@devheerim/notion-mcp-server Show me high-priority unfinished tasks in my Notion tasks database, newest first"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@devheerim/notion-mcp-server
Notion 공식 API를 래핑한 MCP(Model Context Protocol) 서버입니다. 기본 제공되는 Notion MCP를 대체하며, 데이터베이스 쿼리 기능이 훨씬 더 강력합니다.
주요 기능
query_database: 필터, 정렬, 페이지네이션을 완벽하게 지원하는 데이터베이스 쿼리프로퍼티 기반 필터링: 복잡한 AND/OR 조건으로 정밀한 데이터 조회
전체 12개 도구: 페이지 CRUD, 댓글, 사용자 관리 등 포괄적인 기능
Related MCP server: Notion MCP Server
설치
npm install -g @devheerim/notion-mcp-server설정
1. Notion Integration 토큰 발급
Notion Integrations에서 새 통합 생성
생성된 Internal Integration Secret 복사 (
ntn_으로 시작)
2. Notion에서 Integration 연결
접근할 페이지/데이터베이스마다:
우측 상단 ... > 연결 클릭
생성한 Integration 선택
3. MCP 클라이언트에 등록
Claude Desktop / Claude Code
claude_desktop_config.json 또는 ~/.claude/settings.json에 추가:
{
"mcpServers": {
"notion": {
"command": "npx",
"args": ["-y", "@devheerim/notion-mcp-server"],
"env": {
"NOTION_API_KEY": "ntn_your_token_here"
}
}
}
}직접 실행
NOTION_API_KEY=ntn_your_token_here notion-mcp-server도구 목록
도구 | 설명 |
| 데이터베이스를 필터, 정렬, 페이지네이션으로 쿼리 |
| 페이지 상세 정보 및 블록 콘텐츠 조회 |
| 워크스페이스 전체 검색 |
| 새 페이지 생성 |
| 기존 페이지 수정 |
| 새 데이터베이스 생성 |
| 데이터베이스 스키마 및 속성 수정 |
| 페이지에 댓글 추가 |
| 페이지의 모든 댓글 조회 |
| 워크스페이스 사용자 조회 |
| 페이지를 다른 위치로 이동 |
| 기존 페이지 복제 |
사용 예시
상태가 "완료"인 작업 조회
query_database:
database_id: "12345678901234567890123456789012"
filter:
property: "Status"
select:
equals: "완료"복합 필터 + 정렬
query_database:
database_id: "12345678901234567890123456789012"
filter:
and:
- property: "Priority"
select:
equals: "높음"
- property: "Status"
select:
equals: "미완료"
sorts:
- property: "Created"
direction: "descending"날짜 기반 필터 + 페이지네이션
query_database:
database_id: "12345678901234567890123456789012"
filter:
property: "Due Date"
date:
before: "2026-02-22"
page_size: 25기술 스택
TypeScript + Node.js
@modelcontextprotocol/sdk - MCP 서버 프레임워크
@notionhq/client - Notion 공식 API 클라이언트
Zod - 입력 스키마 검증
라이선스
MIT
Available Tools
12 toolscreate_commentC
페이지에 댓글을 추가합니다.
Inputs: text (required), page_id (required), discussion_id.
create_databaseC
새 데이터베이스를 생성합니다.
Inputs: title (required), properties (required), parent_page_id (required).
create_pageB
새 페이지를 생성합니다. 데이터베이스 내 항목 또는 독립 페이지 생성 가능.
Inputs: parent_id (required), properties (required), parent_type (required), children.
duplicate_pageC
페이지를 복제합니다.
Inputs: page_id (required), new_title.
fetch_pageB
페이지 또는 데이터베이스의 상세 정보를 조회합니다. 프로퍼티와 콘텐츠(블록)를 함께 반환합니다.
Inputs: page_id (required), max_depth, include_children.
get_commentsC
페이지 또는 블록의 댓글을 조회합니다.
Inputs: block_id (required), page_size, start_cursor.
get_usersB
워크스페이스 사용자 목록을 조회하거나 특정 사용자 정보를 가져옵니다.
Inputs: user_id, page_size, start_cursor.
move_pagesC
페이지를 다른 부모로 이동합니다.
Inputs: page_ids (required), parent_id (required), parent_type (required).
query_databaseC
데이터베이스를 필터, 정렬, 페이지네이션으로 쿼리합니다. 프로퍼티 기반 정밀 필터링이 가능합니다.
Inputs: database_id (required), sorts, filter, page_size, +1 more.
searchB
워크스페이스에서 페이지/데이터베이스를 검색합니다.
Inputs: query, page_size, start_cursor, sort_direction, +1 more.
update_databaseB
데이터베이스의 제목, 설명, 프로퍼티 스키마를 수정합니다.
Inputs: database_id (required), title, properties, description.
update_pageC
기존 페이지의 프로퍼티를 업데이트합니다. 아카이브/복원도 가능합니다.
Inputs: page_id (required), icon, cover, archived, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have clearly distinct resource+action targets: search vs query_database vs fetch_page are separable by scope (workspace vs database items vs single page). Minor overlap exists between fetch_page (returns page content/blocks) and query_database, and between update_page's archive behavior and an implied delete, but descriptions disambiguate adequately.
Consistent snake_case verb_noun pattern throughout (create_page, update_page, create_database, query_database, get_comments). Minor deviations: 'search' is a bare verb with no noun, and read operations mix 'fetch'/'query'/'get' rather than using one retrieval verb.
12 tools is well within the ideal 3-15 range and each one maps to a distinct Notion resource or operation. No filler or redundant tools; the surface is tightly scoped to pages, databases, comments, and users.
Page and database lifecycles are largely covered (create/fetch/update/duplicate/move/query), and comments have create+get. However, there are no block-level content tools (append/update/delete blocks), no database deletion, and no comment deletion/update, which are notable gaps for a Notion authoring surface.
Maintenance
Related MCP Connectors
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Hosted Notion MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Read and write Mission Control state via MCP — projects, tasks, subtasks, templates, status updates.
Search and manage your team's knowledge from MCP clients.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables secure interaction with Notion through a suite of tools for searching, reading, and modifying pages and databases. It features OAuth 2.1 authentication with PKCE and encrypted token storage to provide an enterprise-ready interface for MCP clients.-
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Notion workspaces, allowing users to search, query databases, create/update pages, and manage content via natural language through MCP.-
- AlicenseNot gradedqualityDmaintenanceProvides full access to the Notion API, enabling search, creation, and management of databases, pages, blocks, and users directly from MCP clients.6 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search, read, and query Notion workspaces, databases, and pages through an MCP gateway.102 npmMIT