Labsco
Shameerpc5029 logo

Notion

from Shameerpc5029

Connects AI assistants to your Notion workspace, allowing you to search, create, and manage content using natural language.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedAccount requiredNeeds API keys

πŸš€ Notion MCP Server

A powerful Model Context Protocol (MCP) server that connects AI assistants like Claude to your Notion workspace. Seamlessly search, create, and manage your Notion content through natural language conversations!

✨ What This Does

Transform your AI assistant into a Notion powerhouse! With this MCP server, you can:

  • πŸ” Search through all your Notion pages and databases
  • πŸ“ Create new pages, databases, and content
  • ✏️ Update existing pages and properties
  • πŸ“Š Query databases with complex filters
  • πŸ”— Manage your entire Notion workspace through conversation

πŸ› οΈ Available Tools

ToolDescriptionExample Use
notion_searchSearch across all content"Find pages about project planning"
notion_get_databaseGet database info"Show me my tasks database structure"
notion_query_databaseQuery with filters"Show incomplete tasks due this week"
notion_create_databaseCreate new databases"Create a CRM database with contacts"
notion_get_pageGet page details"Show me the content of my meeting notes"
notion_create_pageCreate new pages"Add a new task to my project database"
notion_update_pageUpdate existing pages"Mark this task as completed"
notion_get_block_childrenGet page content"Read the content of this page"
notion_append_blocksAdd content to pages"Add meeting notes to this page"
notion_get_current_userGet integration info"Check my Notion connection status"

πŸ’¬ Example Conversations with Claude

Once configured, you can have natural conversations like:

Task Management

Copy & paste β€” that's it
You: "Show me all my incomplete tasks"
Claude: [Queries your tasks database and shows open items]

You: "Create a new task called 'Review MCP integration' due next Friday"
Claude: [Creates the task with proper due date]

You: "Mark the first task as completed"
Claude: [Updates the task status to Done]

Content Creation

Copy & paste β€” that's it
You: "Create a meeting notes page for today's standup"
Claude: [Creates a new page with meeting template]

You: "Add action items from our discussion to that page"
Claude: [Appends bullet points with the action items]

Research & Organization

Copy & paste β€” that's it
You: "Search for all pages mentioning 'API documentation'"
Claude: [Finds and lists relevant pages]

You: "Create a new database to track our API endpoints"
Claude: [Creates a structured database with relevant properties]

πŸ”’ Security Notes

  • Never commit your .env file to version control
  • Keep your Nango secret key secure
  • Only share Notion pages that the integration needs access to
  • Regularly review your integration's access in Notion settings

πŸ“ File Structure

Copy & paste β€” that's it
notion-mcp/
β”œβ”€β”€ main.py    # Main MCP server
β”œβ”€β”€ pyproject.toml        # Python dependencies  
β”œβ”€β”€ .env.example
β”œβ”€β”€ .env                   # Your credentials (don't commit!)
β”œβ”€β”€ README.md              # This file

πŸ†˜ Getting Help

  1. Check the logs - Look for error messages in Claude Desktop or terminal
  2. Verify permissions - Ensure your integration can access the pages
  3. Test manually - Run the server directly to isolate issues
  4. Check Notion status - Sometimes Notion API has outages

πŸŽ‰ What's Next?

Once you're up and running:

  • Try creating complex database queries
  • Set up automated content creation workflows
  • Use Claude to help organize and restructure your Notion workspace
  • Explore advanced filtering and sorting options

πŸ“„ License

This project is open source. Feel free to modify and adapt for your needs!


Happy Notion-ing with Claude! 🎊

Made with ❀️ for the AI-powered productivity enthusiasts