How to Use the Notion MCP in Claude Code
Run terminal commands to query, update, and search Notion pages directly from your shell with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Notion MCP to Claude Code
Create your Vinkius account to connect Notion to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Pipe terminal output to Notion pages
The `create_page` tool lets you generate new database entries or standalone pages directly from a CLI session. Claude Code maps your terminal variables and command outputs into the page properties payload. After creating the page, Claude Code uses `append_block_children` to write logs, build outputs, or test results into the document body. This lets you build automated shell scripts that document deployments without opening a GUI.
Query Notion databases from your terminal
The `query_database` tool allows Claude Code to fetch filtered JSON payloads of your database records directly in the terminal. You can filter by tags, dates, or statuses using simple natural language prompts. Claude Code processes the returned records and can use `update_page` to batch-update properties. It makes scripting workspace updates as simple as running a single terminal command.
Search your workspace using this CLI MCP Server
The `search` tool gives Claude Code immediate access to locate pages and databases by title right from your prompt. No more digging through browser bookmarks to find deployment guides or team wikis. Once found, the agent runs `retrieve_page` to fetch the metadata or `retrieve_block_children` to dump the text. You can pipe this documentation directly into other command-line utilities.
Set up Notion MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seenotion-extended-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Notion transactions." It will automatically discover and invoke the available Notion tools.
claude mcp add --transport http notion-extended-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Notion MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Notion MCP today
We host it, we monitor it, we maintain it. You just paste one token.