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

@better-notes/cli

v0.2.8

Published

A powerful notes management system with MCP server integration, full-text search, and git sync

Readme

Better Notes

A powerful notes management system with MCP (Model Context Protocol) integration for Claude, full-text search, and automatic git sync.

Features

  • MCP Integration: Use Claude to create, search, and manage notes naturally
  • Full-Text Search: SQLite-powered search across all notes
  • Git Auto-Sync: Automatic commits and pushes with smart debouncing
  • Entity Extraction: Automatically tracks @mentions for people
  • Background Daemon: File watching and syncing runs in the background
  • Human-Readable Storage: Markdown files organized by date

Installation

npm install -g @better-notes/cli

Quick Start

  1. Initialize:

    better-notes init
  2. Start the daemon (optional, for file watching and git sync):

    better-notes daemon start
  3. Add to Claude Code (one-liner):

    claude mcp add-json better-notes '{"command":"npx","args":["@better-notes/cli","serve"]}' --scope user

    Or if globally installed:

    claude mcp add-json better-notes '{"command":"better-notes","args":["serve"]}' --scope user

    Note: The --scope user flag makes the MCP server available globally across all projects. Omit it for project-local configuration.

  4. Or configure Claude Desktop manually:

    {
      "mcpServers": {
        "better-notes": {
          "command": "better-notes",
          "args": ["serve"]
        }
      }
    }

CLI Commands

Setup & Configuration

# Interactive setup
better-notes init

# Show configuration
better-notes config

Daemon Management

# Start background daemon
better-notes daemon start

# Stop daemon
better-notes daemon stop

# Check status
better-notes daemon status

# Run in foreground
better-notes daemon start --foreground

Note Management

# Create a note
better-notes note create --title "Meeting with team" --content "Discussed roadmap"

# View today's note
better-notes note today

# List recent notes
better-notes note recent --days 7

Search

# Full-text search
better-notes search "project timeline"

# Search with filters
better-notes search "@hannah past week"

Index Management

# Rebuild search index
better-notes index rebuild

# Show index stats
better-notes index stats

Service Installation

# Show instructions for systemd/launchd
better-notes install-service

MCP Tools

When used with Claude, the following tools are available:

| Tool | Description | |------|-------------| | create_note | Create a new note entry | | append_note | Append to today's note | | search_notes | Natural language search with filters | | search_by_person | Find notes mentioning a person | | search_by_topic | Full-text topic search | | get_daily_summary | Get summary for a day | | list_recent_notes | List notes from past N days | | get_note | Get full note content | | list_categories | List available categories | | list_tags | List all tags | | list_people | List mentioned people | | search_by_category | Filter by category | | search_by_tag | Filter by tag |

File Structure

Notes are stored in markdown format:

~/notes/
├── 2024/
│   ├── 01/
│   │   ├── 2024-01-15.md
│   │   └── 2024-01-16.md
│   └── 02/
│       └── ...
├── .index/
│   ├── notes.db      # SQLite search index
│   ├── daemon.pid    # Daemon PID file
│   └── daemon.log    # Daemon log
└── .gitignore

Note Format

Notes use YAML frontmatter:

---
title: Notes for 2024-01-15
created: 2024-01-15T09:00:00.000Z
updated: 2024-01-15T14:30:00.000Z
tags:
  - project
  - meeting
mentions:
  - hannah
  - bob
---

## 09:00 - Morning standup

Discussed sprint progress with @hannah and @bob.

Tags: #meeting #standup

## 14:30 - Project review

Reviewed Q1 roadmap. Key decisions:
- Launch feature X by Feb
- Prioritize performance work

Tags: #project #planning

Configuration

Config file: ~/.better-notes.json

{
  "notesDirectory": "~/notes",
  "categories": ["work", "meeting", "personal", "idea", "task"],
  "defaultCategory": "personal",
  "gitSync": {
    "enabled": true,
    "debounceSeconds": 30,
    "autoCommit": true,
    "autoPush": true
  },
  "daemon": {
    "enabled": true,
    "watchFiles": true
  },
  "search": {
    "enableEntityExtraction": true,
    "maxResults": 20
  }
}

License

MIT