notion-enhanced
Enhanced Notion MCP server supporting all 24 property types, auto-pagination, block operations, and markdown conversion for database and page operations.
README
Notion Enhanced MCP
Enhanced Notion MCP server with full property type support for database operations.
Features
- Full Property Type Support: Create and update database rows with all 24 Notion property types
- Auto-Pagination: Query functions automatically fetch ALL results by default (no 100-item limit)
- Block Operations: Append any block type (tables, callouts, code, etc.) to pages
- Markdown Conversion: Convert markdown to Notion blocks
- Schema Introspection: Get database schemas with property definitions
Tools
Database Operations
get_database_schema(database_id)- Get database schema with property types and optionsquery_database(database_id, filter, sorts, page_size, start_cursor, fetch_all)- Query database with filtersfetch_all=True(default): Auto-paginates to fetch ALL resultsfetch_all=False: Returns single page withnext_cursorfor manual pagination
create_database_row(database_id, properties, content)- Create row with any property typesupdate_database_row(page_id, properties)- Update row properties
Page Operations
get_page(page_id, include_content)- Get page with properties and content (auto-paginates content blocks)search_pages(query, filter_type, page_size, start_cursor, fetch_all)- Search pages and databasesfetch_all=True(default): Auto-paginates to fetch ALL resultsfetch_all=False: Returns single page withnext_cursorfor manual pagination
append_blocks(page_id, blocks)- Append blocks to pageappend_markdown(page_id, markdown)- Append markdown content
Property Types Supported
| Type | Example Value |
|---|---|
| title | "My Title" |
| rich_text | "Some text" |
| number | 42 or 3.14 |
| select | "Option A" |
| multi_select | ["Tag1", "Tag2"] |
| date | "2024-01-15" or {"start": "...", "end": "..."} |
| checkbox | true or false |
| url | "https://example.com" |
"user@example.com" |
|
| phone_number | "+1234567890" |
| status | "In Progress" |
| files | ["https://url1.com", "https://url2.com"] |
| relation | ["page_id_1", "page_id_2"] |
| people | ["user_id_1"] |
Installation
uv tool install .
Configuration
Add to ~/.claude.json:
{
"mcpServers": {
"notion-enhanced": {
"type": "stdio",
"command": "notion-enhanced-mcp",
"args": [],
"env": {
"NOTION_TOKEN": "your_notion_token"
}
}
}
}
Pagination
By default, query_database and search_pages automatically paginate through ALL results. The Notion API limits responses to 100 items per request, but this MCP handles pagination transparently.
# Fetch ALL rows (auto-pagination, default behavior)
result = query_database(database_id="abc123...")
print(f"Total tools: {result['total_count']}") # e.g., 500
# Manual pagination (for large datasets or streaming)
result = query_database(database_id="abc123...", fetch_all=False)
while result.get('has_more'):
# Process current batch
process(result['results'])
# Fetch next page
result = query_database(
database_id="abc123...",
start_cursor=result['next_cursor'],
fetch_all=False
)
Usage Example
# Create a tool row with full properties
create_database_row(
database_id="abc123...",
properties={
"Tool Name": "Morph LLM",
"URL": "https://morphllm.com",
"Tags": ["Coding", "AI", "Developers"],
"Rating": 2,
"Description": "Fast code editing AI"
}
)
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.