Borrowing it
Nothing to install: this file belongs to chat-prompt/notion-mcp-fast. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/chat-prompt/notion-mcp-fast/main/CLAUDE.mdgit clone --depth 1 https://github.com/chat-prompt/notion-mcp-fastWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/chat-prompt/notion-mcp-fast/claude-md)<a href="https://agentmods.dev/instructions/chat-prompt/notion-mcp-fast/claude-md"><img src="https://agentmods.dev/badge/instructions/chat-prompt/notion-mcp-fast/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/chat-prompt/notion-mcp-fast/claude-md"><img src="https://agentmods.dev/badge/instructions/chat-prompt/notion-mcp-fast/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01013 | $0.01013 |
| Opus 5 | $0.00507 | $0.00507 |
| Sonnet 5 | $0.00203 | $0.00203 |
| Haiku 4.5 | $0.00101 | $0.00101 |
Grade A, and why
notion-mcp-fast CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
notion-mcp-fast
Notion 데스크톱 앱의 로컬 SQLite 캐시를 읽어 API 호출 없이 Notion 데이터에 접근하는 MCP 서버.
핵심 정보
- DB 경로:
~/Library/Application Support/Notion/notion.db - 캐시 TTL: 5분 (메타데이터만 캐시, 블록 내용은 온디맨드)
- 사용자 감지:
meta_user_id로 가장 많은 블록을 가진 사용자 자동 감지
프로젝트 구조
src/notion_mcp_fast/
├── __init__.py # 패키지 exports
├── __main__.py # 진입점
├── server.py # MCP 도구 9개 (FastMCP)
├── reader.py # NotionLocalReader (SQLite + TTL 캐싱)
└── block_parser.py # 리치 텍스트 → 플레인 텍스트 변환
MCP 도구
| 도구 | 설명 |
|---|---|
list_pages |
페이지 목록 (workspace, parent_type 필터) |
get_page |
페이지 상세 + 내용 |
search_pages |
제목 검색 |
full_text_search |
페이지 내용까지 검색 |
list_databases |
데이터베이스 목록 |
get_database |
DB 상세 + 스키마 |
query_database |
DB 레코드 조회 |
list_workspaces |
워크스페이스 목록 |
get_summary |
캐시 요약 정보 |
개발 명령어
# 설치
uv sync
# 테스트 실행
uv run python -c "from notion_mcp_fast.reader import NotionLocalReader; print(NotionLocalReader().get_summary())"
# MCP 서버 실행
uv run notion-mcp-fast
핵심 테이블 (SQLite)
| 테이블 | 용도 | 주요 컬럼 |
|---|---|---|
block |
모든 블록 (페이지 포함) | id, type, properties, parent_id, meta_user_id, created_by_id, last_edited_by_id |
space |
워크스페이스 | id, name, icon |
collection |
데이터베이스 스키마 | id, name, schema |
notion_user |
사용자 | id, name, email |
페이지 메타데이터
각 페이지는 다음 메타데이터를 포함:
| 필드 | 설명 | 예시 |
|---|---|---|
id |
페이지 ID | 2eaa024d-f4dc-... |
title |
페이지 제목 | SKT Design Camp |
created_time |
생성 시간 (timestamp) | 1737001260000 |
last_edited_time |
수정 시간 (timestamp) | 1737877980000 |
created_by_id |
생성자 ID | 7af5870b-... |
created_by_name |
생성자 이름 | 한가경 |
last_edited_by_id |
최종 수정자 ID | 7af5870b-... |
last_edited_by_name |
최종 수정자 이름 | 윤누리 |
parent_id |
상위 페이지/DB ID | - |
parent_table |
상위 타입 | collection, space, block |
icon |
아이콘 | 이모지 또는 URL |
cover |
커버 이미지 URL | - |
블록 타입별 렌더링
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 107 lines · 1,013 tokens per session scan A ccdaed9dc3dd
notion-mcp-fast CLAUDE.md is an instructions file published in the GitHub repository chat-prompt/notion-mcp-fast (11 stars, last pushed 1mo ago), licensed MIT. It adds 1,013 tokens to every session, about $0.0051 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.