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

verify-mcp

v0.1.0

Published

MCP server that runs configured verification checks (tests, linters, build) for a project and reports failures

Readme

verify-mcp

An MCP server exposing a single tool, verify, that an AI coding agent can call after making edits. It detects the project's language by marker files, runs the configured verification commands (tests, linters, build) and returns a short Markdown report of what failed — so the agent checks its own work instead of you running the suite by hand.

Install

Run it directly with npx (no global install needed):

npx -y verify-mcp

Register with Claude Code

claude mcp add --scope user verify -- npx -y verify-mcp

The agent will call verify on its own after edits, or you can ask it to.

The verify tool

  • Input: { directory?: string } — project directory; defaults to the server's working directory.
  • Output: a Markdown report. Failed checks are a normal result; isError is returned only for an unreadable/invalid config or a non-existent directory.

Example report:

verify: FAILED — go ✗
Root: /home/dev/project

## go (2/3)
- ✓ `go build ./...` 1.2s
- ✗ `go test ./... -count=1` exit 1, 3.4s

--- FAIL: TestFoo (0.01s) foo_test.go:15: expected 2, got 3

[truncated 812 lines → /tmp/verify-mcp-x1y2/go-1.log]
- ⏭ `go vet ./...` — skipped after failure

Each profile stops at its first failing command; the rest are marked skipped. A failing command's output is trimmed to the last ~50 lines / 8 KB, and the full log is written to a temp file whose path appears in the report.

Configuration

Config lives at $VERIFY_MCP_CONFIG or ~/.config/verify-mcp.json. It is seeded with defaults on first run if absent. Schema:

{
  "timeoutMs": 600000,
  "profiles": {
    "go":     { "markers": ["go.mod"],        "commands": ["go build ./...", "go test ./... -count=1", "go vet ./..."] },
    "python": { "markers": ["pyproject.toml"], "commands": ["uv run pytest", "uv run ruff check ."] },
    "node":   { "markers": ["package.json"],   "commands": ["npm run --if-present lint", "npm run --if-present test", "npm run --if-present build"] },
    "rust":   { "markers": ["Cargo.toml"],     "commands": ["cargo test", "cargo clippy -- -D warnings"] },
    "java":   { "markers": ["pom.xml"],        "commands": ["mvn -q test"] }
  }
}
  • A profile matches if any of its markers exists in the project root (no recursion). All matched profiles run, in config order.
  • Each command runs via sh -c with the project directory as cwd, inheriting the server's environment.
  • timeoutMs is a global per-command timeout; on timeout the whole process group is killed and the command counts as failed.

Development

npm install     # also builds via the prepare hook
npm run build   # tsc -> dist/
npm test        # node:test via tsx
npm run typecheck

Linting/formatting is Biome; a pre-commit hook (in .githooks/) blocks commits that fail it.

License

MIT