notion_summary_server
notion_summary_server
AI論文または株式記事の要約をNotionデータベースに自動保存するMCPサーバーです。
ファイル構造
notion_summary_server/
├── server.py # MCP 서버 메인 파일
├── .env # 환경변수 (직접 생성, git 제외)
├── .env.example # 환경변수 템플릿
├── .gitignore
├── requirements.txt
└── README.mdRelated MCP server: notion-mcp-server
ツール (Tool)
ツール | 説明 |
| 要約内容をNotion DBに新規ページとして保存 |
入力パラメータ
パラメータ | 型 | 必須 | 説明 | |
| string | ✅ | ページタイトル | |
| string | ✅ | 要約内容 | |
| string | ✅ | 元の記事または論文のURL | |
|
|
| ✅ | 保存先DBの選択 |
事前準備
1. Notion Integrationの作成
New integration をクリック
名前を入力して作成 → Internal Integration Token をコピー
2. Notion DBへのIntegration接続
それぞれのデータベースで以下を実行:
右上の
...メニュー → Connections → 作成したIntegrationを追加Integrationが接続されていない場合、API呼び出し時に
object_not_foundエラーが発生します
インストール
cd d:\python\notion_summary_server
# 가상환경 생성 (선택)
python -m venv .venv
.venv\Scripts\activate
# 의존성 설치
pip install -r requirements.txt環境変数の設定
.env.example をコピーして .env ファイルを作成:
copy .env.example .env.env ファイルを開いて値を入力:
NOTION_API_KEY=secret_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NOTION_STOCK_DB_ID=33117b872be68187a1b4ddc51261856e
NOTION_PAPER_DB_ID=34617b872be68060a474e18a73510f38DB IDの確認方法: NotionデータベースページのURLにおいて、
notion.so/の後ろ、?の前の32桁の文字列
Claude Code MCP登録
ターミナルで以下のコマンドを実行:
claude mcp add notion_summary_server -- python d:/python/notion_summary_server/server.pyまたは ~/.claude/settings.json に直接追加:
{
"mcpServers": {
"notion_summary_server": {
"command": "python",
"args": ["d:/python/notion_summary_server/server.py"]
}
}
}登録後、Claude Codeを再起動するか /mcp コマンドで確認:
/mcp使用例
Claudeに以下のようにリクエスト:
이 논문을 요약해서 Notion에 저장해줘:
https://arxiv.org/abs/2310.06825오늘 삼성전자 기사 요약해서 주식 DB에 저장해줘MCPツールを直接呼び出す例:
{
"tool": "save_summary_to_notion",
"arguments": {
"title": "Attention Is All You Need",
"content": "Transformer 아키텍처를 제안한 논문. Self-attention 메커니즘만으로 RNN 없이 seq2seq 모델 구현. BLEU 점수에서 SOTA 달성.",
"source_url": "https://arxiv.org/abs/1706.03762",
"category": "paper"
}
}Notionページの構造
保存されるページの形式:
[제목]
┌─────────────────────────────────┐
│ 🔗 원본 링크: {source_url} │
└─────────────────────────────────┘
## 요약
{content}
---
저장일시: 2025-05-09 10:30 UTC | 분류: AI 논문注意事項
Notion DBのtitleプロパティ名が何であっても、自動的に検知して使用します。
要約内容が長い場合は自動的に分割して保存します(Notionブロック制限:2000文字)。
APIキーは絶対にgitにコミットしないでください。
.envファイルは.gitignoreに含まれています。
This server cannot be deployed
Maintenance
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
MCP server for RiverScript, an AI transcription platform - fetches transcripts shared via a link.
An MCP server that integrates with Discord to provide AI-powered features.
Cloud-hosted MCP server for durable AI memory
Related MCP Servers
AlicenseBqualityDmaintenanceAn MCP server that enables AI assistants to interact with the Notion API, allowing them to search, read, comment on, and create content in Notion workspaces through natural language commands.19151,607 npm4,666MIT- AlicenseAqualityCmaintenanceAn MCP server for Notion API with optimized token efficiency and full database property filtering, enabling AI assistants to manage pages, databases, and blocks.3218 npm1MIT
- AlicenseCqualityCmaintenanceAn MCP server that lets AI assistants operate multiple Notion accounts simultaneously.44MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that fetches stock market data, stores it in PostgreSQL, and pushes selected results to Notion.-