notion_query_database
ActiveTool of Notion_connect
declared in 0.1.0
Query a Notion database with filters and sorting (e.g., status='Done', sort by date). Returns matching rows with property values.
Parameters schema
{
"type": "object",
"examples": [
{
"database_id": "a1b2c3d4e5f641d4a716446655440000"
},
{
"sorts": [
{
"property": "Created",
"direction": "descending"
}
],
"filter": {
"select": {
"equals": "Done"
},
"property": "Status"
},
"page_size": 25,
"database_id": "a1b2c3d4e5f641d4a716446655440000"
}
],
"required": [
"database_id"
],
"properties": {
"sorts": {
"type": "array",
"description": "Array of sort objects (e.g., [{ \"property\": \"Created\", \"direction\": \"descending\" }])"
},
"filter": {
"type": "object",
"description": "Notion filter object (e.g., { \"property\": \"Status\", \"select\": { \"equals\": \"Done\" } })"
},
"page_size": {
"type": "number",
"description": "Number of results to return (default 10, max 100)"
},
"database_id": {
"type": "string",
"description": "Notion database ID to query"
},
"start_cursor": {
"type": "string",
"description": "Pagination cursor for next page of results"
}
}
}Parent server
Notion_connect
https://github.com/pipeworx-io/mcp-notion_connect
1/7 registries