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

@api-common/api-governance-mcp

v1.1.0

Published

A Model Context Protocol (MCP) server that lints API artifacts (OpenAPI, AsyncAPI, Arazzo, APIs.json, JSON Schema, MCP, …) against a best-of-breed API governance ruleset from any AI client. Powered by Spectral.

Readme

API Governance MCP

A Model Context Protocol server that lets any AI client lint your API artifacts against a best-of-breed API governance ruleset — so an agent can check your OpenAPI, AsyncAPI, Arazzo, APIs.json, JSON Schema, MCP, and more, conversationally, and tell you what to fix.

Powered by Spectral. It runs the same engine and the same compiled ruleset as the API Commons API Validator — the browser tool — here server-side over stdio. The ruleset is compiled from public Spectral rulesets and the API Evangelist governance rules: 733 rules across 12 artifact formats. Every rule ships at info to educate; raise individual rules to warn/error with a custom ruleset for what you choose to enforce.

Tools

| Tool | What it does | | --- | --- | | lint_artifact | Lint an artifact (content, optional format, optional custom ruleset) → findings (code, message, severity, path) + counts | | list_rulesets | The artifact formats it governs and, per format, the rules it applies | | list_formats | The artifact formats the ruleset can lint | | describe_rule | Look a finding's code up → title, description, severity, tags, target path, and a remediation prompt | | validate_ruleset | Structurally validate a custom Spectral ruleset before you lint with it | | request_review | Get a ready-to-send email to engage API Evangelist for expert governance services |

Formats

openapi · asyncapi · arazzo · apis-json · jsonschema · json-structure · json-ld · mcp · plans · rate-limits · finops · agent-skill

The openapi and asyncapi rulesets also extend the recommended Spectral engine rules; every other format is linted entirely by its curated rules.

Use it

npm install
npm start          # speaks MCP over stdio

Claude Desktop / any MCP client

Add to your client's MCP server config (e.g. Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "api-governance": {
      "command": "npx",
      "args": ["-y", "@api-common/api-governance-mcp"]
    }
  }
}

Then ask: "Lint this OpenAPI for governance issues and tell me what to fix."

Part of the API Commons tools

Browser-first, backend-free tools for the APIs you produce and consume — API Discovery, API Documentation, API Validator, API Reusability, and MCP Install. This is the AI surface of the API Validator: the same Spectral governance, exposed to any agent over MCP. See them all at apicommons.org/tools.


A project of API Evangelist, maintained openly under API Commons. The tooling is open and free to run yourself; API Evangelist offers the expert governance services around it. Apache-2.0.