Notion AI Chatbot + MCP Server
Enables AI agents to search, query, create, update, and read pages in a Notion workspace.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Notion AI Chatbot + MCP Serversummarize the project roadmap page"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Notion AI Chatbot + MCP Server
A sellable AI chatbot and MCP server that supercharges any Notion workspace. Bundle it with your Notion templates and agents to drive more sales — customers get an AI assistant that talks to their Notion data.
What This Does
Two products in one:
Web Chatbot — Beautiful chat UI where users talk to their Notion workspace
MCP Server — Connect your Notion agents (like AGENT ZERO) to AI-powered tools via the Custom MCP server dialog
Related MCP server: Notion MCP Server
Features
Notion Tools (read/write your workspace)
Search across all pages and databases
Query databases with filters and sorts
Create new pages/rows in any database
Update existing page properties
Read full page content
AI-Powered Tools (what makes this valuable)
Chat with AI — Multi-turn conversations with memory
Summarize Pages — AI summaries (brief, detailed, or bullets)
Generate Content — Blog posts, reports, emails, descriptions
Analyze Databases — Ask questions about your data, get insights
Smart Search — Search + AI summarization of results
Draft from Template — Generate meeting notes, project briefs, SOPs, proposals
Quick Start
1. Get your API keys
Notion Integration Token: notion.so/my-integrations
Claude API Key: console.anthropic.com
2. Share databases with your integration
In Notion: open each database → "..." menu → "Connections" → Add your integration.
3. Configure
cp .env.example .envEdit .env:
ANTHROPIC_API_KEY=sk-ant-your-key
NOTION_API_KEY=ntn_your-key
PORT=3000
BOT_NAME=My Notion Assistant4. Install & Run
npm install
npm startYou'll see:
✦ My Notion Assistant is running!
Chat UI: http://localhost:3000
MCP Server: http://localhost:3000/mcpConnecting to Your Notion Agent
This is the key feature — connect your custom Notion agent to this MCP server.
Step 1: Deploy your server
Deploy to any hosting provider (see Deployment section) so you have a public URL like https://your-app.railway.app.
Step 2: Connect in Notion
Open your Notion agent (e.g., AGENT ZERO)
Click "Add connection" → "+ Add custom MCP"
Enter your MCP Server URL:
https://your-app.railway.app/mcpClick Connect
Step 3: Your agent now has superpowers
Your Notion agent can now:
Have AI conversations via
chat_with_aiSummarize any page via
summarize_pageGenerate content via
generate_contentAnalyze database data via
analyze_databaseSmart search with AI summaries via
smart_searchDraft documents from templates via
draft_from_templatePlus all Notion CRUD tools (search, query, create, update)
Customization
Bot personality
Edit prompts/system.md to customize the AI's behavior and tone.
Branding
Edit CSS custom properties in public/index.html:
:root {
--primary: #000000; /* Your brand color */
--accent: #2563eb; /* Accent color */
}Bot name
Change BOT_NAME in your .env file.
All 14 MCP Tools
Tool | Type | Description |
| Notion | Search across all pages and databases |
| Notion | List all accessible databases |
| Notion | Get column structure of a database |
| Notion | Query database rows with filters |
| Notion | Get page properties |
| Notion | Get full page content as text |
| Notion | Create a new page in a database |
| Notion | Update page properties |
| AI | Multi-turn AI conversation with memory |
| AI | AI-powered page summarization |
| AI | Generate any type of content |
| AI | Ask questions about your data |
| AI | Search + AI summarization |
| AI | Generate docs from templates |
Using with Claude Desktop / Claude Code
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"notion-assistant": {
"command": "node",
"args": ["path/to/notion-chatbot/server.js", "--mcp-stdio"],
"env": {
"NOTION_API_KEY": "ntn_your-key",
"ANTHROPIC_API_KEY": "sk-ant-your-key"
}
}
}
}Claude Code
Add to your .claude/settings.json:
{
"mcpServers": {
"notion-assistant": {
"command": "node",
"args": ["path/to/notion-chatbot/server.js", "--mcp-stdio"],
"env": {
"NOTION_API_KEY": "ntn_your-key",
"ANTHROPIC_API_KEY": "sk-ant-your-key"
}
}
}
}Deployment
For your Notion agent to connect, the MCP server needs a public URL.
Platform | Command | Free tier |
Railway |
| Yes |
Render | Connect repo | Yes |
Fly.io |
| Yes |
VPS |
| N/A |
Example: Deploy to Railway
npm i -g @railway/cli
railway login
railway init
railway upCopy the URL and paste it into your Notion agent's MCP server field.
API Endpoints
Endpoint | Method | Description |
| ALL | Streamable HTTP MCP endpoint (for Notion agents) |
| GET | Legacy SSE MCP endpoint |
| POST | Legacy SSE message endpoint |
| POST | Chat API for the web UI |
| DELETE | Reset a conversation |
| GET | List available databases |
| GET | Check API connectivity |
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Clickdzpro1/notion-mcp-chatbot'
If you have feedback or need assistance with the MCP directory API, please join our Discord server