Notion MCP
Allows interaction with Notion via the Notion API, providing tools to create pages, edit content, manage calendars, track expenses, and more.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Notion MCP
Interact with your Notion by prompting Claude. Add your own tools and manage Notion with more comfort :)
Introduction
I created this project since I really enjoy using Notion, however, it seemed like a lot of stuff can be simplified by just creating MCP server over Notion API and letting the LLM manage the content there.
Example: If I want to add multiple entries to my expense tracker, I have to repeatedly click multiple buttons, sending one short message to the LLM solves it.
You can also simplify your workflow by adding your own tools. I tried to keep the code as modular as possible so that adding new tools is pretty straightforward. Below I share the steps that have to be done in order to do so.
Related MCP server: Notion MCP Server
Getting Started
1. Clone this repository
git clone https://github.com/dkoterwa/notion_mcp.git
cd notion_mcp2. Install uv
Install uv if you don’t already have it.
3. Sync dependencies
Reproduce the environment by executing uv sync.
4. Add server to Claude config
First, in the Claude app, go to the Developer settings and click Edit Config button.
You will be taken to claude_desktop_config.json file. Open it and paste the Notion MCP config:
{
"mcpServers": {
"notion_mcp": {
"command": "<path to uv, e.g. /Users/user/.local/bin/uv>",
"args": [
"--directory",
"<path to the repository root directory>",
"run",
"notion_mcp/run.py"
],
"env": {
"PYTHONPATH": "<path to the repository root directory>"
}
}
}
}5. Create .env file and place your Notion API key inside
In the root directory of repository execute:
echo NOTION_TOKEN=<your API key> > .envPlease go there and follow the steps to set up your Notion integration and get your API key if you don't know how to do it.
At the end, you should see that Claude has access to your local notion_mcp server. Make sure it's turned on:
Adding Your Tools
Adding your own tools is really simple. Just go to /tools and then to the specific Notion data structure that you would like to implement new tool in. Then, add a new tool method to the function responsible for registering the tools of given data structure.
Let's assume I would like to add a tool returning current time. To do this, I add a method under register_util_tools in /tools/utils.py:
def register_util_tools(mcp, calls):
@mcp.tool()
async def get_today() -> str:
"""
Get today's date in ISO format (YYYY-MM-DD).
"""
from datetime import date
return date.today().isoformat()
+ @mcp.tool()
+ async def get_current_time() -> str:
+ """
+ Get the current local time in HH:MM:SS format.
+ """
+ from datetime import datetime
+ return datetime.now().strftime("%H:%M:%S")That's it! Now Claude should have access to the get_current_time tool.
You can always turn off the tools I designed by changing the enable argument in the @mcp.tool decorator:
@mcp.tool(enabled=False)
def maintenance_tool():
"""This tool is currently under maintenance."""
return "This tool is disabled."Read more in the FastMCP documentation.
Current functionalities
Contribution
Please feel free to create an issue and ask if anything is not understandable for you. Contributions are welcome via pull requests. I plan to expand this project further only when I decide to automate additional Notion functionality that I use frequently.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Notes and actions in one app. Let Claude or ChatGPT read and update them.
Lets Claude, ChatGPT, and Muse read and update your beckett tasks, notes, calendar, and lists.
Build and run agents and automations across hundreds of apps using natural language.
Notes, tasks, habits, journal and 6 more tools Claude can read and change, with undo. Free.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Notion through the Notion API by exposing it as tools for LLMs, allowing operations like reading, creating, updating, and deleting Notion pages seamlessly via natural language.13 npm21MIT
- AlicenseBqualityDmaintenanceEnables interaction with Notion workspaces through the Notion API. Supports creating, retrieving, and updating Notion pages and their properties, allowing users to manage Notion content through natural language.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Notion workspaces through the Notion API, allowing users to search, read, comment on, and create pages and databases using natural language commands.260,037 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Notion databases and pages via the Notion API. Allows searching, reading, and writing to Notion through natural language.MIT