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

mcp-ob-ts

v0.2.0

Published

OB3 MCP Server — exposes Open Badges 3.0 vocabulary to coding agents

Readme

OB3 MCP Server

A local Model Context Protocol server that exposes the Open Badges 3.0 specification as queryable tools for coding agents.

Built on sql.js (pure-WASM SQLite) for zero-native-dependency portability — no platform-specific binaries, works everywhere Node runs. The OB3 spec corpus is small enough that the WASM overhead is negligible.

Quick Start

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "ob3": {
      "command": "npx",
      "args": ["-y", "mcp-ob-ts"]
    }
  }
}

Cursor

Add to your Cursor MCP configuration:

{
  "mcpServers": {
    "ob3": {
      "command": "npx",
      "args": ["-y", "mcp-ob-ts"]
    }
  }
}

Claude Code

claude mcp add ob3 -- npx -y mcp-ob-ts

Kiro

Add to .kiro/settings/mcp.json:

{
  "mcpServers": {
    "ob3": {
      "command": "npx",
      "args": ["-y", "mcp-ob-ts"]
    }
  }
}

Tools

The server exposes tools for querying the OB3 specification:

| Tool | Description | | ------------------------------- | ---------------------------------------------- | | ping | Health check | | list_classes | List all OB3 classes | | get_class | Get full details for a class | | list_properties | List properties (optionally filtered by class) | | get_property | Get full details for a property | | get_section | Retrieve a spec section by heading | | list_sections | List all spec sections | | search_spec | Full-text search across the spec | | get_examples | Get JSON-LD examples for a class | | get_context | Retrieve the OB3 JSON-LD context | | resolve_term | Resolve a JSON-LD term to its IRI | | cross_reference | Find relationships between classes | | find_conformance_requirements | List conformance/validation rules | | validate_credential | Validate a credential against the OB3 schema |

Development

pnpm install
pnpm build
pnpm test

See CONTRIBUTING.md for the full development guide, release process, and CI details.

Architecture

src/
├── cli.ts          # CLI entry point (bin)
├── server.ts       # MCP server setup
├── config.ts       # Configuration / paths
├── tools/          # One file per MCP tool
├── spec/           # SQLite-backed spec index (sql.js)
├── context/        # JSON-LD context loader
├── vocab/          # RDF vocabulary (N3)
└── validate/       # JSON Schema + JSON-LD validation

Spec data lives in data/snapshots/<version>/ as versioned snapshots. The SQLite index (data/index.db) is rebuilt from snapshots via pnpm data:ingest.

Why sql.js?

This server uses sql.js (SQLite compiled to WASM) instead of native bindings like better-sqlite3. The OB3 spec corpus is small (~hundreds of rows with FTS), so the WASM overhead is imperceptible. The trade-off buys universal portability: no node-gyp, no platform-specific prebuild downloads, no broken installs on CI or in containers.

License

MIT