notion_search
Pack: notion_connect · Endpoint: https://gateway.pipeworx.io/notion_connect/mcp
Search your Notion workspace by keyword. Returns matching page/database titles, IDs, and types to locate content quickly.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Search query text |
filter | string | no | Filter by object type: “page” or “database” (optional) |
page_size | number | no | Number of results to return (default 10, max 100) |
start_cursor | string | no | Pagination cursor for next page of results |
Example call
Arguments
{
"query": "project timeline"
}
curl
curl -X POST https://gateway.pipeworx.io/notion_connect/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"notion_search","arguments":{"query":"project timeline"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('notion_search', {
"query": "project timeline"
});
More examples
{
"query": "meeting notes",
"filter": "page",
"page_size": 20
}
Response shape
| Field | Type | Description |
|---|---|---|
object | string | Always ‘list’ |
results | array | Array of matching pages and databases |
next_cursor | string | null | Pagination cursor for next page |
has_more | boolean | Whether more results exist |
Full JSON Schema
{
"type": "object",
"properties": {
"object": {
"type": "string",
"description": "Always 'list'"
},
"results": {
"type": "array",
"description": "Array of matching pages and databases",
"items": {
"type": "object",
"properties": {
"object": {
"type": "string",
"enum": [
"page",
"database"
],
"description": "Type of result"
},
"id": {
"type": "string",
"description": "Notion object ID"
},
"title": {
"type": "array",
"description": "Title content blocks",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Block type"
},
"text": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "Title text"
}
}
}
}
}
}
}
}
},
"next_cursor": {
"type": [
"string",
"null"
],
"description": "Pagination cursor for next page"
},
"has_more": {
"type": "boolean",
"description": "Whether more results exist"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"notion_connect": {
"url": "https://gateway.pipeworx.io/notion_connect/mcp"
}
}
}
See Getting Started for client-specific install steps.