by Notion
Search the workspace
Finds pages and data sources that match a query.
Updated Sep 29, 2026
search-workspace.md
Search the workspace
Finds pages and data sources that match a query.
Note: Over the API, matches only the titles of pages and data sources the token can reach; notion-search on the MCP server also searches page content.
Set up
Use the first option your agent supports.
MCP (official, remote)
Add this server to your agent's MCP settings, then sign in when asked.
{ "mcpServers": { "notion": { "url": "https://mcp.notion.com/mcp" } } }
Call the MCP tool notion-search.
Server URL: https://mcp.notion.com/mcp
CLI (official)
Install the command, then confirm it runs.
npm install --global ntn
ntn --version
Run ntn api v1/search.
Set $NOTION_API_TOKEN in your environment first (get a key: https://www.notion.so/developers/tokens).
API (official)
- Base URL: https://api.notion.com
- Endpoint:
POST /v1/search - Auth: send the header
Authorization: Bearer $NOTION_API_KEY - Get a key: https://www.notion.so/developers/tokens
- Docs: https://developers.notion.com/reference/intro
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
Ways in
Workflows using Search the workspace
SContributed by shipgtmAnswer a GTM question from Notion, Slack and HubSpotSearches your docs, past conversations and CRM for the answer, drafts a cited response with Claude, and posts it back in Slack.
N
S
H+1
TContributed by thedogwiththedataonitCheck drafts against your style guide before they publishReads drafts marked ready in your Notion content calendar, checks each against your style rules with Jev, and flags the ones that fail.
N
T
S