npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@btm-ai/notion-query-mcp

v0.1.0

Published

MCP server that gives AI agents filtered, paginated query access to Notion databases.

Readme

@btm-ai/notion-query-mcp

An MCP server that gives AI agents filtered, paginated query access to Notion databases — the database query and schema capability the hosted Notion MCP (mcp.notion.com) does not provide. It runs alongside the hosted MCP, not as a replacement.

Tools

| Tool | Purpose | |---|---| | notion_query_database | Query a database with optional Notion filter/sorts; auto-paginates and returns each page flattened to id, url, and its properties (up to page_size, max 200). | | notion_query_database_schema | Return a database's title and every property's name/type, including select/multi_select option names. | | notion_get_page | Fetch a single page by ID and return its id, url, and full property values. |

Requirements

  • Node.js 24 LTS or newer.
  • A Notion internal integration token.

Environment variables

| Name | Required | Description | |---|---|---| | NOTION_TOKEN | Yes | Notion internal integration token used for all outbound Notion API calls. Never commit this; set it as an environment variable / platform secret. | | PORT | No | HTTP listen port for the Streamable HTTP transport (defaults to 3000 locally; injected by the platform in production). |

Connecting from Claude.ai

The production server exposes the MCP Streamable HTTP transport. Add it as a custom MCP connector using the deployed HTTPS endpoint:

https://<your-railway-service>.up.railway.app/mcp

A health check is available at GET /healthz.

Running locally (stdio)

For local clients such as Claude Desktop or Claude Code, run the stdio entrypoint via npx:

NOTION_TOKEN=secret_xxx npx @btm-ai/notion-query-mcp@latest

Use the @latest tag to avoid running a stale npx-cached version.

Or from a checkout of this repo:

npm install
cp .env.example .env   # then set NOTION_TOKEN
npm run dev:stdio      # stdio transport
npm run dev:http       # Streamable HTTP on http://localhost:3000

Distribution

Published to npm for npx support (see package.json bin). Install with npx @btm-ai/notion-query-mcp@latest.

TODO: MCPB packaging — post-MVP — bundling as an .mcpb package (@anthropic-ai/mcpb + manifest.json with tool descriptions, auth fields, and icon assets) for the Anthropic curated MCP directory is deferred until those assets exist.