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

@alexdx/chronicle-mcp

v0.16.0

Published

Chronicle MCP — self-learning knowledge graph for code analysis. MCP server for Claude Code.

Readme

Chronicle MCP — Knowledge Graph

Self-learning code analysis tool for coding agents (Claude Code, Codex CLI, ...). Builds a knowledge graph of your codebase — data models, services, endpoints, dependencies — and answers questions like "what breaks if I change X?"

Install

npm install -g @alexdx/chronicle-mcp

Setup with Claude Code

claude mcp add chronicle -- chronicle mcp serve

Or add to your Claude Code MCP config (~/.claude.json):

{
  "mcpServers": {
    "chronicle": {
      "command": "chronicle",
      "args": ["mcp", "serve"]
    }
  }
}

Setup with Codex CLI

chronicle setup codex

This registers the server in ~/.codex/config.toml (plus a SessionStart hook that re-primes the Chronicle entry point after /clear or compaction), writes usage guidance to ~/.codex/AGENTS.md (and to the project's AGENTS.md when run inside a project), and installs /chronicle-scan, /chronicle-impact, ... custom prompts. Equivalent manual config:

[mcp_servers.chronicle]
command = "chronicle"
args = ["mcp", "serve"]
startup_timeout_sec = 30   # journal sync on open can exceed Codex's 10s default
tool_timeout_sec = 180     # resolve/commit on large graphs can exceed the 60s default

Chronicle detects the connected client: Claude Code gets the parallel (subagent) scan workflow; clients without subagents (Codex, Cursor) automatically get a single-agent workflow. Query tools work identically everywhere.

Usage

Open Claude Code in any project and say:

chronicle scan          — Full project scan
chronicle data          — Analyze data models
chronicle language      — Domain language glossary
chronicle impact X      — What breaks if I change X?
chronicle deps X        — What depends on X?
chronicle services      — Service architecture
chronicle status        — Dashboard URL + graph stats

What it does

  • Scans your codebase (NestJS, Prisma, GraphQL, Kafka, etc.)
  • Builds a multi-layered knowledge graph (data → code → contracts → services)
  • Tracks dependencies, impact paths, domain language
  • Self-learns: discovers patterns, reports gaps, improves with each scan
  • Admin dashboard with visual graph at http://localhost:<auto-port>

The graph is git-native: every mutation is recorded in an append-only event journal (.depbot/events/<domain>.jsonl) that you can track in git, and the SQLite db is a derived cache rebuilt from it anytime (chronicle journal rebuild). Two teammates' scans merge through a normal git merge — after a pull, the graph syncs automatically on the next command. See the repository README for the full journal workflow.

Links