/database-query
Query a Notion database by name or ID and return structured, readable results.
> /plugin marketplace add makenotion/claude-code-notion-plugin > /plugin install notion-workspace-plugin@notion-plugin-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/database-query
Context preview
What this command does when you run it.
Query a Notion database by name or ID and return structured, readable results.
Command definition
database-query.mddescription: Query a Notion database by name or ID and return structured, readable results. argument-hint: 'database name or ID; filters (optional)'
You are querying a Notion database on the user's behalf.
Use the Notion Workspace Skill and `notionApi` MCP server to:
1. Interpret `$ARGUMENTS` as:
- Target database (by name or ID)
- Optional filter(s) or sort(s) the user describes.
2. If multiple databases match the name, ask the user to choose the correct one. 3. Perform a query that:
- Applies the requested filters (e.g. status = Active, owner = Alice, due date this week).
- Limits to a reasonable number of rows (e.g. 20–50) unless the user explicitly asks for more.
4. Present the results in a compact table-like format with:
- Key properties (e.g. Name, Status, Owner, Due).
- A short summary if the database has rich text content.
5. If no rows match, say so clearly and suggest alternative filters.
Avoid dumping raw JSON. Focus on readability and decision-making value for the user.
This repository provides an official Claude Code plugin that bundles: Notion Skills (from the Notion Cookbook) that teach Claude how to work intelligently inside your Notion workspace The Notion MCP Server, which enables Claude to securely search, read, and
Other commands on notion.
- /create-database-row
Insert a new row into a specified Notion database using natural-language property values.
Open command - /create-page
Create a new Notion page, optionally under a specific parent, using the Notion Workspace Skill and Notion MCP server.
Open command - /create-task
Create a new task in the user’s Notion tasks database with sensible defaults.
Open command - /find
Quickly find pages or databases in Notion by title keywords.
Open command - /search
Search the user’s Notion workspace using the Notion MCP server and Notion Workspace Skill.
Open command - /build
Build a task from a Notion page URL
Open command

