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

@zerotal/arch

v1.7.5

Published

The Zerotal agent surface — an MCP server that hands coding agents the framework's machine-readable truth: exact API signatures, live routes and schema, version-matched docs, and `zt doctor`.

Readme

@zerotal/arch

Maturity: stable. The public API follows SemVer strictly: anything importable without an @internal marker keeps its shape for the rest of the 1.x line. That covers the MCP tool contract too — tool names, their inputs, and the shape of what they return — since that is what an agent client is configured against. See the support policy.

The Zerotal agent surface: an MCP server that hands a coding agent the framework's machine-readable truth about your app.

Not a documentation search over prose about an API — the API itself. Zerotal commits an api-surface.md per package holding every export's exact TypeScript signature, regenerated and diffed by CI on every change. zt doctor already returns structured findings with a fix attached to each. The router knows its routes and the ORM knows its columns. This package exposes all of it over the protocol agents speak.

Install

bun add -d @zerotal/arch
// bootstrap/providers.ts
import { ArchProvider } from "@zerotal/arch";

export default [DatabaseProvider, ArchProvider];
bun zt arch:install     # writes .mcp.json, AGENTS.md and a CLAUDE.md shim

Re-running is safe: generated regions are fenced with markers and only those regions are ever rewritten.

Tools

| Tool | Answers | | --------------------- | ------------------------------------------------------------------------------------------------------ | | app_info | Bun version, boot mode, providers, and the version and maturity of every installed @zerotal package. | | api_surface | Every export of a package with its full signature. | | search_docs | The framework docs for the version installed here. | | routes | The routes actually registered, with their names. | | schema | Tables, columns, indexes — what the models declare. | | logs / last_error | The app's own structured trail. | | baselines | The quality ratchets and the commands that check them. | | doctor | Every health check, with the fix beside each finding. |

All read-only. All publish an outputSchema.

How it runs

The server is a bin that never boots your application. MCP's stdio transport forbids writing anything to stdout that is not a protocol message, and a booted app prints. The tools that need an app spawn one per call instead — which also means every answer describes the code as it is now, not as it was when a long-lived server started.

It speaks both eras of MCP: the stateless 2026-07-28 revision, including the mandatory server/discover, and the initialize handshake that shipping clients still open with.

Documentation

https://zerotal.dev/docs/arch

License

MIT