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

improved-notion-mcp

v1.0.0

Published

Enhanced Notion MCP server with better markdown conversion and composite tools

Readme

Improved Notion MCP Server

An enhanced Notion MCP server with better markdown conversion and composite tools for AI agents.

Features

  • Token Optimization - All read operations return markdown instead of raw JSON (~80% token reduction)
  • Composite Tools - Batch operations, append content, create pages with content in one call
  • Full Notion API Coverage - Search, CRUD operations, database queries, user listing
  • TypeScript - Full type safety and modern tooling

Installation

npm install improved-notion-mcp

Configuration

Set your Notion API token:

export NOTION_TOKEN=your_notion_integration_token

Or use NOTION_API_KEY as an alternative.

Usage

CLI

npx improved-notion-mcp

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "improved-notion-mcp": {
      "command": "npx",
      "args": ["-y", "improved-notion-mcp"],
      "env": {
        "NOTION_TOKEN": "your_token_here"
      }
    }
  }
}

Cursor

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "improved-notion-mcp": {
      "command": "npx",
      "args": ["-y", "improved-notion-mcp"],
      "env": {
        "NOTION_TOKEN": "your_token_here"
      }
    }
  }
}

Tools

Search & Discovery

  • notion_search - Search pages and databases
  • notion_list_databases - List all accessible databases
  • notion_list_users - List workspace users

Read Operations (Token-Optimized)

  • notion_get_page - Get page content as markdown (~80% fewer tokens)
  • notion_get_database_schema - Get database schema/properties
  • notion_query_database - Query database with filters

Write Operations

  • notion_create_page - Create a new page (optionally with content)
  • notion_create_database_entry - Create database entry
  • notion_update_page - Update page properties or content
  • notion_append_content - Append markdown to existing page

Batch Operations

  • notion_batch_create - Create multiple pages at once

Delete Operations

  • notion_delete_page - Archive a page

Token Optimization

The official Notion MCP returns raw JSON from the API, which includes lots of metadata that AI agents don't need. This server:

  1. Converts all page content to markdown
  2. Formats properties as readable key-value pairs
  3. Strips unnecessary metadata

Result: ~80% reduction in token usage for typical operations.

Comparison

| Feature | Official Notion MCP | This Server | |---------|-------------------|-------------| | Token usage | High (raw JSON) | Low (markdown) | | Composite tools | Limited | Batch create, append | | Block types | 15 | 20+ | | Tools | ~20 auto-generated | 12 focused |

Development

npm run dev    # Development mode
npm run build  # Build for production
npm start      # Run production build

License

MIT