Notion Api Mcp
A Python-based MCP for use in exposing Notion functionality to LLMs (Claude)
Rating
Votes
0
score
Downloads
0
total
Price
Free
API key required
Works With
About
Notion API MCP
A Model Context Protocol (MCP) server that provides advanced todo list management and content organization capabilities through Notion's API. MCP enables AI models to interact with external tools and services, allowing seamless integration with Notion's powerful features.
MCP Overview
Python-based MCP server that enables AI models to interact with Notion's API, providing:
- Todo Management: Create, update, and track tasks with rich text, due dates, priorities, and nested subtasks
- Database Operations: Create and manage Notion databases with custom properties, filters, and views
- Content Organization: Structure and format content with Markdown support, hierarchical lists, and block operations
- Real-time Integration: Direct interaction with Notion's workspace, pages, and databases through clean async implementation
Quick Start
# Clone and setup
git clone https://github.com/yourusername/notion-api-mcp.git
cd notion-api-mcp
uv venv && source .venv/bin/activate
# Install and configure
uv pip install -e .
cp .env.integration.template .env
# Add your Notion credentials to .env:
# NOTION_API_KEY=ntn_your_integration_token_here
# NOTION_PARENT_PAGE_ID=your_page_id_here # For new databases
# NOTION_DATABASE_ID=your_database_id_here # For existing databases
# Run the server
python -m notion_api_mcpGetting Started
1. Create a Notion Integration
- 1.Go to https://www.notion.so/my-integrations
- 2.Click "New integration"
- 3.Name your integration (e.g., "My MCP Integration")
- 4.Select the workspace where you'll use the integration
- 5.Copy the "Internal Integration Token" - this will be your
NOTION_API_KEY
- Should start with "ntn_"
2. Set Up Notion Access
You'll need either a parent page (for creating new databases) or an existing database ID:
#### Option A: Parent Page for New Databases
- 1.Open Notion in your browser
- 2.Create a new page or open an existing one where you want to create databases
- 3.Click the ••• menu in the top right
- 4.Select "Add connections" and choose your integration
- 5.Copy the page ID from the URL - it's the string after the last slash and before the question mark
- Example: In
https://notion.so/myworkspace/123456abcdef..., the ID is123456abcdef... - This will be your
NOTION_PARENT_PAGE_ID
#### Option B: Existing Database
- 1.Open your existing Notion database
- 2.Make sure it's connected to your integration (••• menu > Add connections)
- 3.Copy the database ID from the URL
- Example: In
https://notion.so/myworkspace/123456abcdef...?v=..., the ID is123456abcdef... - This will be your
NOTION_DATABASE_ID
3. Install the MCP Server
- 1.Create virtual environment:
cd notion-api-mcp
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate- 1.Install dependencies:
uv pip install -e .Don't lose this
Three weeks from now, you'll want Notion Api Mcp again. Will you remember where to find it?
Save it to your library and the next time you need Notion Api Mcp, it’s one tap away — from any AI app you use. Group it into a bench with the rest of the team for that kind of task and you can pull the whole stack at once.
⚡ Pro tip for geeks: add a-gnt 🤵🏻♂️ as a custom connector in Claude or a custom GPT in ChatGPT — one click and your library is right there in the chat. Or, if you’re in an editor, install the a-gnt MCP server and say “use my [bench name]” in Claude Code, Cursor, VS Code, or Windsurf.
a-gnt's Take
Our honest review
This plugs directly into your AI and gives it new abilities it didn't have before. A Python-based MCP for use in exposing Notion functionality to LLMs (Claude). Once connected, just ask your AI to use it. It's completely free and works across most major AI apps. This one just landed in the catalog — worth trying while it's fresh.
Tips for getting started
Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.
Heads up: this needs an API key to work. You'll get one from the service's website (usually free). The setup guide tells you exactly where.
What's New
Imported from GitHub
Ratings & Reviews
0.0
out of 5
0 ratings
No reviews yet. Be the first to share your experience.