Skip to main content
Glama

Notion MCP Server

by Sjotie

query-database

Extract and organize data from Notion databases using customizable filters, sorts, and pagination to streamline AI-driven interactions with your workspace.

Instructions

Query a database

Input Schema

NameRequiredDescriptionDefault
database_idYesID of the database to query
filterNoOptional filter criteria
page_sizeNoNumber of results per page
sortsNoOptional sort criteria
start_cursorNoOptional cursor for pagination

Input Schema (JSON Schema)

{ "properties": { "database_id": { "description": "ID of the database to query", "type": "string" }, "filter": { "description": "Optional filter criteria", "type": "object" }, "page_size": { "default": 100, "description": "Number of results per page", "type": "number" }, "sorts": { "description": "Optional sort criteria", "type": "array" }, "start_cursor": { "description": "Optional cursor for pagination", "type": "string" } }, "required": [ "database_id" ], "type": "object" }

You must be authenticated.

Other Tools from Notion MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sjotie/notionMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server