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

@disciplog/mcp

v0.2.6

Published

DiscipLog MCP server + installer — lets AI agents report per-turn activity to your DiscipLog coach. Run `npx @disciplog/mcp install` to register DiscipLog with Claude Code, Cursor, Claude Desktop, Codex, or Antigravity.

Downloads

1,365

Readme

@disciplog/mcp

The DiscipLog Model Context Protocol (MCP) Server

This MCP server provides a standardized bridge between your AI coding agents (like Claude Code, Cursor, Antigravity) and your DiscipLog productivity coach.

Why does this exist?

DiscipLog isn't just a time tracker—it's an AI productivity coach. To coach you effectively on how you interact with AI, DiscipLog needs to understand the context of your prompting. Instead of intercepting your private code, this MCP server allows AI agents to securely report metadata about your coding sessions.

The agent uses this server to log:

  • Prompt Characteristics: Was your prompt clear? Did you provide context, constraints, or examples?
  • AI Turn Summaries: A brief narrative of what the AI decided to do (e.g., "Refactored the auth module and added tests").
  • Agent Self-Critique: A highly valuable signal where the AI rates your prompt and suggests how you could have been more explicit.
  • Timing & Latency: How long you spent thinking vs. typing vs. waiting for the AI to respond.

This metadata feeds directly into your DiscipLog dashboard, allowing your AI Coach to spot over-reliance on AI, repeated prompting mistakes, or strong iteration cycles.

Installation

One command (recommended)

npx @disciplog/mcp install

Detects which AI clients are installed on your machine (Claude Code, Codex, Cursor, Claude Desktop, Antigravity) and lets you pick where to register DiscipLog — with an "install everywhere" shortcut. After it finishes you'll see a per-client restart hint (because every MCP client reads its config at app launch).

Flags:

npx @disciplog/mcp install --all --yes        # install everywhere, no prompts
npx @disciplog/mcp install --client claude-code --client cursor
npx @disciplog/mcp install --api-key dlog_live_…  # skip the API-key prompt

Removing DiscipLog mirrors install:

npx @disciplog/mcp uninstall                  # interactive
npx @disciplog/mcp uninstall --all --yes      # remove everywhere
npx @disciplog/mcp uninstall --all --purge --yes  # also wipe ~/.disciplog/

Check status at any time:

npx @disciplog/mcp doctor

The uninstaller only ever removes entries the installer placed (every config entry it writes carries _disciplogManaged: true, or for Codex's TOML a # managed-by: disciplog comment). User-authored MCP servers and hooks in the same config files are left untouched.

Manual MCP config

If you'd rather edit your client's MCP config by hand, the entry is:

{
  "mcpServers": {
    "disciplog": {
      "command": "npx",
      "args": ["-y", "@disciplog/mcp"],
      "env": {
        "DISCIPLOG_API_KEY": "dlog_live_...",
        "DISCIPLOG_API_URL": "https://disciplog.com"
      }
    }
  }
}

For Codex (TOML):

[mcp_servers.disciplog]
command = "npx"
args = ["-y", "@disciplog/mcp"]
env = { DISCIPLOG_API_KEY = "dlog_live_...", DISCIPLOG_API_URL = "https://disciplog.com" }

Via the VS Code extension

If you use the DiscipLog VS Code Extension, DiscipLog: Connect will paste your API key and register DiscipLog with detected AI agents automatically.

Available Tools

The MCP server exposes the following tools to the LLM agent:

  • start_ai_turn: Called immediately when processing a new prompt to track precise response-latency timing.
  • log_ai_turn: Called at the end of the response to submit the prompt characteristics, summary, and self-critique.
  • start_ai_blocked_on_user / finish_ai_blocked_on_user: Called when the AI pauses to ask for your permission (e.g., before running a destructive terminal command), ensuring this wait time isn't counted against your productive hours.
  • start_ai_waiting_on_user / finish_ai_waiting_on_user: Called when the AI pauses for a non-permission user decision, clarification, credential, or account-setup step, keeping normal collaboration waits separate from permission gates.

Privacy First

This server never transmits your actual code or verbatim prompts to DiscipLog. It only transmits the structural metadata and generalized summaries generated by the AI agent.