Notion MCP — Knowledge Base Server for AI Agents
MCP server that connects AI agents to Notion workspaces. Search pages, read content, create documents, and manage databases through natural language. 2,000+ stars.
这个资产会安全暂存
这个资产会先安全暂存。复制的指令会要求 Agent 读取暂存文件,并在激活脚本、MCP 配置或全局配置前先确认。
npx -y tokrepo@latest install 75851c68-2e1c-4041-876c-c7f8f5cc87d6 --target codex先暂存文件;激活前需要读取暂存 README 和安装计划。
What it is
Notion MCP is a Model Context Protocol server that connects AI agents like Claude Code to Notion workspaces. It enables searching pages, reading content, creating documents, and managing databases through natural language commands. Once configured, your AI agent can query your entire Notion knowledge base as context for its work.
It is designed for developers and teams who store documentation, specs, and knowledge in Notion and want their AI tools to access that context directly.
How it saves time or tokens
The token estimate for this workflow is 2,400 tokens. Instead of manually copying Notion content into prompts, the MCP server lets your agent pull the relevant pages on demand. This keeps context fresh and avoids stale copy-paste. The search functionality means the agent finds the right page without you specifying exact URLs.
How to use
- Create a Notion integration at notion.so/my-integrations and get your API key
- Share relevant pages with your integration
- Add the MCP server config to your
.mcp.json - Restart your AI tool
Example
{
"mcpServers": {
"notion": {
"command": "npx",
"args": ["-y", "@anthropic/mcp-notion"],
"env": {
"NOTION_API_KEY": "ntn_your_integration_token"
}
}
}
}
Once configured, ask your agent:
'Search my Notion for the API design spec'
'Create a new page in the Engineering database with today\'s standup notes'
'Read the onboarding checklist and summarize the steps'
Related on TokRepo
- MCP Notion Integration -- Deep dive into Notion MCP capabilities
- AI Tools for Documentation -- Documentation tools for AI workflows
Common pitfalls
- Pages must be explicitly shared with your integration; the agent cannot access pages that have not been shared
- The integration token has workspace-level scope; do not share it in public repositories
- Large Notion databases with thousands of rows may hit API rate limits; use filters to narrow queries
常见问题
The server supports searching pages, reading page content, creating new pages, updating existing pages, querying databases with filters, and managing database properties. It covers the most common Notion API operations.
No. The Notion API is available on all plans, including the free tier. However, the free plan has limitations on the number of integrations and API requests per minute.
In Notion, open a page, click the three-dot menu, select 'Connections', and add your integration. All child pages under a shared parent page are also accessible to the integration.
Yes. The MCP server has both read and write access. The agent can create new pages, update content, and modify database entries. Review the integration permissions if you want read-only access.
Any MCP-compatible AI tool works with Notion MCP, including Claude Code, Claude Desktop, Cursor, Windsurf, and other tools that support the Model Context Protocol.
引用来源 (3)
- MCP Notion GitHub— Notion MCP is an official Anthropic MCP server for Notion
- Notion Developer Docs— Notion API and integrations
- MCP Specification— Model Context Protocol specification
来源与感谢
Built on Notion API. Licensed under MIT.
mcp-notion — ⭐ 2,000+
讨论
相关资产
Notion MCP — Connect AI Agents to Your Knowledge Base
Official MCP server for Notion workspace access. Search pages, read content, create and update databases, and manage tasks in Notion through Claude Code tool calls.
Notion MCP Server — Official Notion Integration
Official Notion MCP server. Search, read, create, and update Notion pages, databases, and blocks from Claude Code, Cursor, or any MCP client. By Notion. 4.1K+ stars.
WhatsApp MCP Server — Chat with WhatsApp via AI Agents
MCP server connecting Claude and AI agents to your personal WhatsApp. Search contacts, read messages, send replies and media via natural language.
Apify MCP Server — 8,000+ Web Scrapers for Agents
Apify MCP Server connects agents to Apify Actors via a hosted endpoint (mcp.apify.com) or local run, turning thousands of web scrapers into callable tools.