AI-Notion Integration MCP Server
Enables AI assistants to save and manage question-and-answer pairs within a structured Notion database. It provides tools for database setup, entry creation, and querying existing conversation history.
README
Notion MCP Server
AI-powered knowledge management with Notion integration and spaced repetition learning system.
⨠Features
- š Auto-save conversations - Save AI Q&A to Notion with intelligent categorization
- š Advanced search - Query by date, category, tags, and full-text search
- š§ Spaced repetition - Science-based review scheduling (1/2/4/7/15 days)
- š Progress tracking - Track mastery levels (ā-āāāāā) and review counts
š¦ Installation
Option 1: NPM (Recommended)
npm install -g @itsyuimorii/notion-mcp-server
Option 2: From Source
git clone https://github.com/itsyuimorii/notion-mcp-server.git
cd notion-mcp-server
npm install
npm run build
š Quick Start
1. Create Notion Integration
- Go to Notion Integrations and create a new integration

- Give your integration a name (e.g., "AI Learning Tracker") and select the appropriate capabilities (read & write)
- Copy the "Internal Integration Token" and paste it into your
.envfile

- Share your Notion page with the integration
2. Configure Environment
Create a .env file:
NOTION_API_TOKEN=ntn_your_token_here
NOTION_PARENT_PAGE_ID=your_page_id_here
NOTION_DATABASE_ID=your_database_id_here # Optional
3. Configure Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"notion-mcp-server": {
"command": "node",
"args": ["/path/to/notion-mcp-server/dist/index.js"],
"env": {
"NOTION_API_TOKEN": "ntn_your_token",
"NOTION_PARENT_PAGE_ID": "your_page_id",
"NOTION_DATABASE_ID": "your_database_id"
}
}
}
}
4. Restart Claude Desktop
You're ready to use it!
š ļø Available Tools
| Tool | Description |
|---|---|
notion_setup_database |
Create pre-configured database with spaced repetition fields |
notion_ai_save_entry |
Save Q&A with auto-categorization and tags |
notion_query_database |
Search with filters (date/category/tags) |
notion_check_reviews |
Check overdue and upcoming reviews |
notion_update_mastery |
Update mastery level and schedule next review |
š Project Structure
notion-mcp-server/
āāā src/
ā āāā index.ts # Main MCP server
ā āāā config.ts # Configuration
ā āāā types.ts # TypeScript types
āāā docs/
ā āāā images/ # Documentation images
āāā QUICKSTART.md # Detailed setup guide
āāā DEMO_SCENARIOS.md # Usage examples
āāā LICENSE # MIT License
āāā package.json # Dependencies
š Documentation
- QUICKSTART.md - Complete setup guide
- DEMO_SCENARIOS.md - Real-world usage examples
š§ Requirements
- Node.js 18+
- npm 9+
- Notion account with workspace
- Claude Desktop (latest version)
š Troubleshooting
Connection failed?
- Check
.envfile has correct token - Run
npm run buildto generatedist/index.js - Verify path in Claude config
- Restart Claude Desktop
Database permission denied?
- Go to your Notion page
- Click "..." ā "Add connections"
- Select your integration
- Restart Claude Desktop
š License
MIT - see LICENSE
š Links
New to this project? Start with QUICKSTART.md š
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.