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

relivio-mcp

v0.2.0

Published

Minimal MCP server for consuming Relivio post-deploy verdicts.

Readme

relivio-mcp

Minimal MCP server for consuming Relivio post-deploy verdicts from Claude Code, Codex, and other MCP clients.

relivio-mcp is a thin wrapper over relivio-server:

  • GET /api/v1/summaries/latest
  • GET /api/v1/summaries/latest?deployment_id=...
  • GET /api/v1/deployments/recent?limit=...

It does not:

  • create deployments
  • ingest runtime signals
  • add new business logic
  • replace Relivio's decision engine

It only exposes the verdict surface that agents need:

  • verdict
  • decision_tier
  • recommended_action
  • supporting context for the next move

Status

Current status: v0

  • two tools:
    • get_verdict
    • list_recent_deployments
  • read-only only
  • thin wrapper over the existing Relivio API
  • no write tools yet

v0 assumptions:

  • one API key maps to one project
  • tools stay project-scoped and read-only
  • retry_after_hint_minutes is a server-configured observation window hint, currently surfaced as 15

Who this is for

Use this if:

  • you already have a Relivio project API key
  • you want an agent to check post-deploy status before or after code changes
  • you want a read-only verdict surface first, without write tools

Do not use this as:

  • a deployment trigger
  • an ingest client
  • an observability adapter
  • an incident automation tool

Environment

  • RELIVIO_API_URL
    • Example: https://api.relivio.dev
  • RELIVIO_API_KEY
    • Project-scoped runtime API key

Quick start

npm install
npm run build

Install as a package

Global install:

npm install -g relivio-mcp

After that, the executable is:

relivio-mcp

If you do not want a global install, keep using the built file directly from the repo checkout.

Test

npm test

Claude Code MCP registration

Use the built entrypoint:

{
  "mcpServers": {
    "relivio": {
      "command": "node",
      "args": ["/absolute/path/to/relivio-mcp/dist/index.js"],
      "env": {
        "RELIVIO_API_URL": "https://api.relivio.dev",
        "RELIVIO_API_KEY": "your-project-api-key"
      }
    }
  }
}

The same command / args / env shape can be adapted for other MCP-capable clients.

If installed globally from npm, you can use:

{
  "mcpServers": {
    "relivio": {
      "command": "relivio-mcp",
      "env": {
        "RELIVIO_API_URL": "https://api.relivio.dev",
        "RELIVIO_API_KEY": "your-project-api-key"
      }
    }
  }
}

Development

npm install
npm run build
npm test
npm run pack:check

Runtime entrypoint:

npm run start

If RELIVIO_API_URL or RELIVIO_API_KEY is missing, startup fails immediately with a clear error.

Tool

get_verdict

Returns the latest verdict for the project, or the verdict for a specific deployment.

Input:

{
  "deployment_id": "optional-deployment-id"
}

list_recent_deployments

Returns the recent deployments for the current project API key scope.

Input:

{
  "limit": 10
}

Ready response:

{
  "status": "ready",
  "deployments": [
    {
      "deployment_id": "dep_123",
      "version": "v1.2.3",
      "deployed_at": "2026-04-22T03:20:00Z",
      "window_status": "ACTIVE"
    }
  ]
}

Ready response:

{
  "status": "ready",
  "verdict": {
    "verdict": "WATCH",
    "decision_tier": "guard_ready",
    "recommended_action": "Keep guard ready and continue observation",
    "action_detail": "Inspect /api/orders/finalize before wider rollout",
    "affected_apis": ["/api/orders/finalize"],
    "top_signals": ["route concentration around /api/orders/finalize"],
    "deployment_id": "dep_123",
    "created_at": "2026-04-20T03:20:00Z"
  }
}

Pending response:

{
  "status": "pending",
  "reason": "observation_window_active",
  "message": "No verdict yet. The observation window is still active.",
  "retry_after_hint_minutes": 15
}

Error response:

{
  "status": "error",
  "reason": "authentication_failed",
  "message": "Check RELIVIO_API_KEY configuration."
}

Current scope

v0 intentionally stays narrow:

  • two read-only tools:
    • get_verdict
    • list_recent_deployments
  • structured ready / pending / error

Not included in v0:

  • summary_line
  • deployment registration
  • ingest submission
  • feedback submission
  • multi-project routing beyond API-key scope

Related repos

  • relivio-server — verdict producer and summary API
  • relivio-console — human-facing console surface
  • relivio-sim-lab — scenario and smoke validation

Optional integration tip

If you want Claude Code to check verdicts more proactively, add an optional hook to the consuming project's CLAUDE.md:

Before making code changes, call get_verdict to check production status.

This is not required for v0 correctness.

Security

  • Do not commit RELIVIO_API_KEY
  • Keep API keys in your MCP client environment config only
  • This repo is read-only by design in v0

See SECURITY.md for reporting guidance.

Contributing

Small, behavior-preserving pull requests are preferred.

See CONTRIBUTING.md.

License

MIT