makenotion

Database Query — Data skill for Claude Code

Data community

description: Query a Notion database by name or ID and return structured, readable results.

How to install Database Query

Installs to ~/.claude/skills/makenotion-claude-code-notion-plugin-database-query/SKILL.md

Terminal
mkdir -p ~/.claude/skills/makenotion-claude-code-notion-plugin-database-query && curl -fsSL https://raw.githubusercontent.com/makenotion/claude-code-notion-plugin/HEAD/commands/database-query.md -o ~/.claude/skills/makenotion-claude-code-notion-plugin-database-query/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Database Query does


description: 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

Alternatives in Data

  • Notion Sync — /notion-sync - Push Ranked Jobs and Applications to a Notion Database 36.6k ★
  • OpenViking — Self-evolving Context Database for AI Agents 33.3k ★
  • n8n Workflow Patterns — Workflow patterns for webhook, HTTP, database, and AI tasks 3.6k ★

Full documentation available on GitHub

View Source Repository