Notion MCP Server

by ramidecodes
Verified

query-database

Query and retrieve structured data from Notion databases using custom filters, sorting, and pagination, enabling integration with AI models through the Notion MCP Server.

Input Schema

NameRequiredDescriptionDefault
database_idYesThe ID of the database to query
filterNoJSON string of filter criteria
page_sizeNoNumber of results to return (max 100)
sortsNoJSON string of sort criteria
start_cursorNoPagination cursor

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "database_id": { "description": "The ID of the database to query", "type": "string" }, "filter": { "description": "JSON string of filter criteria", "type": "string" }, "page_size": { "description": "Number of results to return (max 100)", "maximum": 100, "minimum": 1, "type": "number" }, "sorts": { "description": "JSON string of sort criteria", "type": "string" }, "start_cursor": { "description": "Pagination cursor", "type": "string" } }, "required": [ "database_id" ], "type": "object" }

You must be authenticated.

Other Tools from Notion MCP Server

Related Tools

ID: bjc5iac7gt