notion-mcp-fast
Fast, read-only MCP server for Notion that reads directly from local SQLite cache, enabling instant access to Notion pages, databases, and users without API calls or rate limits.
README
notion-mcp-fast
Fast, read-only MCP server for Notion - reads directly from local SQLite cache, no API calls needed.
Why?
The official Notion MCP makes API calls for every read operation:
- Slow: Network latency on every request
- Rate limited: API quotas apply
- Context heavy: Verbose responses consume AI context window
notion-mcp-fast reads directly from Notion's local SQLite cache:
- Instant: No network calls, <10ms response times
- Unlimited: No API rate limits
- Minimal: Clean, concise responses
Requirements
- macOS only (Notion stores SQLite cache at a macOS-specific path)
- Notion desktop app installed and logged in
- Python 3.10+
Installation
git clone https://github.com/lucid-jin/notion-mcp-fast.git
cd notion-mcp-fast
Setup
Claude Code
# Add MCP server (use absolute path)
claude mcp add notion-fast -- uvx --from /path/to/notion-mcp-fast notion-mcp-fast
# Example with home directory
claude mcp add notion-fast -- uvx --from ~/notion-mcp-fast notion-mcp-fast
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"notion-fast": {
"command": "uvx",
"args": ["--from", "/path/to/notion-mcp-fast", "notion-mcp-fast"]
}
}
}
Recommended: Use with Official Notion MCP
For a complete setup, use both:
- notion-fast: Fast reads from local cache
- Official Notion MCP: Writes and real-time data
{
"mcpServers": {
"notion-fast": {
"command": "uvx",
"args": ["notion-mcp-fast"]
},
"notion": {
"command": "npx",
"args": ["-y", "@notionhq/notion-mcp-server"],
"env": {
"NOTION_API_KEY": "your-api-key"
}
}
}
}
Available Tools
| Tool | Description |
|---|---|
list_pages |
List pages with optional search and filtering |
get_page |
Get a page with its child blocks |
list_databases |
List all databases (collections) |
get_database |
Get database schema and details |
query_database |
Query rows from a database |
list_users |
List all users |
get_user |
Get user details |
list_spaces |
List all workspaces |
search |
Search across all pages by title |
get_summary |
Get counts of all cached entities |
How It Works
┌─────────────────────────────────────┐
│ Notion Desktop App │
│ │
│ Syncs data → SQLite database │
└─────────────────────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ ~/Library/Application Support/ │
│ Notion/notion.db │
│ │
│ SQLite with 162K+ blocks │
└─────────────────────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ notion-mcp-fast │
│ │
│ • Reads SQLite directly │
│ • 5-minute TTL cache │
│ • MCP protocol interface │
└─────────────────────────────────────┘
│
▼
┌─────────────────────────────────────┐
│ Claude / AI Assistant │
│ │
│ Instant access to Notion data! │
└─────────────────────────────────────┘
Limitations
- Read-only: Cannot create or modify Notion content
- macOS only: SQLite path is macOS-specific
- Cache lag: Data reflects last Notion app sync (usually <1 min)
- Requires Notion app: Desktop app must be installed and logged in
Troubleshooting
"Notion database not found"
- Ensure Notion desktop app is installed
- Open Notion app and let it sync
- Check if file exists:
ls ~/Library/Application\ Support/Notion/notion.db
Stale data
Notion caches data locally with frequent syncs. If data seems stale:
- Open Notion app
- Navigate to the page/database
- Wait a few seconds for sync
- Re-query via MCP
License
MIT
Inspired By
- linear-mcp-fast - Same concept for Linear
한국어
Notion용 초고속 읽기 전용 MCP 서버 - API 호출 없이 로컬 SQLite 캐시에서 직접 읽습니다.
왜 만들었나요?
공식 Notion MCP는 매번 API를 호출합니다:
- 느림: 매 요청마다 네트워크 지연
- 제한: API 호출 제한 적용
- 무거움: 응답이 커서 AI 컨텍스트 윈도우 소모
notion-mcp-fast는 로컬 SQLite 캐시에서 직접 읽습니다:
- 즉시 응답: 네트워크 호출 없음, <10ms 응답
- 무제한: API 제한 없음
- 가벼움: 깔끔하고 간결한 응답
요구사항
- macOS 전용 (Notion이 macOS 특정 경로에 SQLite 캐시 저장)
- Notion 데스크톱 앱 설치 및 로그인 필요
- Python 3.10+
설치
git clone https://github.com/lucid-jin/notion-mcp-fast.git
cd notion-mcp-fast
설정
Claude Code
# MCP 서버 추가 (절대 경로 사용)
claude mcp add notion-fast -- uvx --from /path/to/notion-mcp-fast notion-mcp-fast
# 홈 디렉토리 예시
claude mcp add notion-fast -- uvx --from ~/notion-mcp-fast notion-mcp-fast
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json 편집:
{
"mcpServers": {
"notion-fast": {
"command": "uvx",
"args": ["--from", "/path/to/notion-mcp-fast", "notion-mcp-fast"]
}
}
}
제공 도구
| 도구 | 설명 |
|---|---|
list_pages |
페이지 목록 (검색/필터 지원) |
get_page |
페이지 상세 + 하위 블록 |
list_databases |
데이터베이스 목록 |
get_database |
데이터베이스 스키마 조회 |
query_database |
데이터베이스 행 조회 |
list_users |
사용자 목록 |
get_user |
사용자 상세 |
list_spaces |
워크스페이스 목록 |
search |
제목으로 전체 검색 |
get_summary |
캐시 통계 |
작동 원리
Notion 데스크톱 앱
↓ (로컬 동기화)
~/Library/Application Support/Notion/notion.db (SQLite)
↓ (직접 읽기)
notion-mcp-fast (5분 TTL 캐시)
↓ (MCP 프로토콜)
Claude / AI 어시스턴트 → 즉시 응답!
성능
| 상황 | 응답 시간 |
|---|---|
| Cold cache (첫 요청) | ~5초 |
| Warm cache (이후 요청) | <1ms |
제한사항
- 읽기 전용: Notion 콘텐츠 생성/수정 불가
- macOS 전용: SQLite 경로가 macOS 고정
- 캐시 지연: Notion 앱 동기화 후 반영 (보통 <1분)
- 앱 필요: Notion 데스크톱 앱 설치 필수
문제 해결
"Notion database not found" 오류
- Notion 데스크톱 앱 설치 확인
- Notion 앱 열고 동기화 대기
- 파일 존재 확인:
ls ~/Library/Application\ Support/Notion/notion.db
데이터가 오래됨
- Notion 앱 열기
- 해당 페이지/데이터베이스로 이동
- 몇 초 대기 (동기화)
- MCP로 다시 조회
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。