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

kontexted

v0.1.18

Published

CLI tool for Kontexted - MCP proxy, workspaces management, and local server

Readme

Kontexted CLI

The official CLI for Kontexted—provides Disk Sync, MCP proxy, server management, and workspace operations for AI-assisted development.

Installation

npm install -g kontexted

Overview

Kontexted provides three ways for AI assistants to access your notes:

| Method | Best For | Setup Difficulty | |--------|----------|------------------| | Disk Sync | Direct file access, all AI tools | ★☆☆ Easy | | MCP Server | Claude Desktop, MCP-compatible tools | ★★☆ Medium | | CLI Skills | Scripted operations, custom workflows | ★★★ Advanced |


Disk Sync (Recommended)

Sync your Kontexted workspace to disk as markdown files. This is the recommended method for AI coding agents to access your notes.

Quick Start

# In your project directory
kontexted sync init --alias my-workspace --dir .
kontexted sync start --daemon

Your notes are now available at .kontexted/folder/note.md

How It Works

  • Notes sync to .kontexted/ as markdown files
  • Real-time bidirectional sync with file watching
  • Directory is gitignored; .ignore file allows AI tools to reference files
  • Works with opencode, Claude Code, Cursor, Windsurf, and any AI that reads files

Commands

| Command | Description | |---------|-------------| | sync init --alias <name> --dir . | Initialize sync in current directory | | sync start --daemon | Start background sync with file watching | | sync start --foreground | Start sync in foreground | | sync stop | Stop sync daemon | | sync status | Check sync status | | sync force-pull | Pull all notes from server | | sync force-push | Push all local changes to server | | sync conflicts list | List sync conflicts | | sync conflicts show <id> | Show conflict details | | sync conflicts resolve <id> --strategy <local\|remote> | Resolve conflict | | sync reset | Reset sync state |


MCP Proxy

Start the MCP proxy server for Claude Desktop or other MCP clients:

# Read-only mode
kontexted mcp --alias <name>

# With write access
kontexted mcp --alias <name> --write

Configuring Claude Desktop

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "kontexted": {
      "command": "kontexted",
      "args": ["mcp", "--alias", "my-workspace", "--write"]
    }
  }
}

Server Management

Run a local Kontexted server:

# Initialize local server (first time)
kontexted server init

# Start server in background
kontexted server start

# Start server in foreground
kontexted server start --foreground

# Stop server
kontexted server stop

# Check status
kontexted server status

# View logs
kontexted server logs -f

# Display signup invite code
kontexted server show-invite

# Diagnose issues
kontexted server doctor

Default Configuration

| Setting | Default | |---------|---------| | Database | SQLite (~/.kontexted/data/kontexted.db) | | Port | 4729 | | Config | ~/.kontexted/config.json |


CLI Skills

Direct CLI access for workspace operations:

# Query workspace tree
kontexted skill workspace-tree --alias <name>

# Search notes
kontexted skill search-notes --alias <name> --query "search text" --limit 10

# Get note by ID
kontexted skill note-by-id --alias <name> --note-id <id>

# Create folder (requires --write login)
kontexted skill create-folder --alias <name> --name <slug> --display-name "Name"

# Create note (requires --write login)
kontexted skill create-note --alias <name> --name <slug> --title "Title"

# Update note content (requires --write login)
kontexted skill update-note-content --alias <name> --note-id <id> --content "Content"

Authentication

# Login to a server
kontexted login --url https://app.example.com --workspace my-workspace --alias prod

# Login with write permissions
kontexted login --url https://app.example.com --workspace my-workspace --alias prod --write

# Show stored profiles
kontexted show-config

# Remove a profile
kontexted logout --alias prod

# Remove all profiles
kontexted logout

Command Reference

| Category | Command | Description | |----------|---------|-------------| | Sync | sync init | Initialize disk sync | | | sync start | Start sync daemon | | | sync stop | Stop sync daemon | | | sync status | Check status | | | sync force-pull | Force pull from server | | | sync force-push | Force push to server | | | sync conflicts list | List conflicts | | | sync reset | Reset sync state | | Server | server init | Initialize local server | | | server start | Start server | | | server stop | Stop server | | | server status | Check server status | | | server logs | View logs | | | server show-invite | Display invite code | | | server doctor | Diagnose issues | | Auth | login | Authenticate to server | | | logout | Remove stored profile | | | show-config | Display configuration | | MCP | mcp | Start MCP proxy | | Skills | skill workspace-tree | Get folder structure | | | skill search-notes | Search notes | | | skill note-by-id | Get note by ID | | | skill create-folder | Create folder | | | skill create-note | Create note | | | skill update-note-content | Update note |


Configuration

Profiles are stored in ~/.kontexted/config.json with OAuth tokens.


Requirements

  • Node.js 18 or higher

License

MIT