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

@nostrbook/mcp

v0.5.2

Published

This is an [MCP](https://modelcontextprotocol.io/) implementation that allows AI agents to access Nostr documentation.

Readme

Nostr MCP

This is an MCP implementation that allows AI agents to access Nostr documentation.

Tools

When enabled, agents will gain access to the following tools.

  • read_nip(nip): Fetches and reads a NIP in markdown from the official Nostr NIPs repository
  • fetch_event(identifier): Fetches a Nostr event using a nip19 identifier (npub, nprofile, naddr, note, nevent). For npub/nprofile, returns the user's profile (kind 0). For naddr, returns the addressable event. Special handling for kind 30817 (NIP documents) returns just the content, while other kinds return the full event JSON.
  • read_kind(kind): Fetches and reads a kind doc from nostrbook.dev
  • read_tag(tag): Fetches and reads a tag doc from nostrbook.dev
  • read_protocol(doc): Fetches and reads a a protocol doc ("event", "filter", "client", "relay", etc) from nostrbook.dev
  • read_nips_index(): Fetches and reads the NIPs README to fill in any missing blanks
  • generate_kind(range): Generates an unused Nostr event kind number in the specified range (regular: 1000-9999, replaceable: 10000-19999, ephemeral: 20000-29999, addressable: 30000-39999)

Installation

VSCode

In your project, create .vscode/mcp.json:

{
  "servers": {
    "nostr": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@nostrbook/mcp@latest"]
    }
  }
}

Now the MCP will be available to Copilot. For more information, see Use MCP servers in VS Code.

Goose

To install as a Goose extension:

  1. Run goose configure
  2. Choose "Add Extension"
  3. Choose "Command-line Extension"
  4. Enter "nostr" as the name
  5. Enter npx -y @nostrbook/mcp@latest as the command

Architecture

Nostr MCP is built with:

License

AGPL v3.0