Notion MCP Server

by ramidecodes
Verified

query-database

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" }