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

@inpolicy/policy-admin-mcp

v0.1.1

Published

Model Context Protocol server for managing the InPolicy policy catalog — upload documents, create/update/publish policies from any MCP-aware AI client (Claude Desktop, Cursor, etc.).

Readme

@inpolicy/policy-admin-mcp

Model Context Protocol server for managing the InPolicy policy catalog from any MCP-aware AI client (Claude Desktop, Cursor, etc.).

Distinct from @inpolicy/mcp-server, which is for runtime AI governance. This server is for admins who want to manage their policy catalog conversationally — upload a PDF and let the AI extract policies, bulk-edit policies, publish drafts, and so on.

Exposed tools

| Tool | Purpose | Required scope | |---|---|---| | list_policies | Paginated list of policies | policies:read | | get_policy | Fetch one policy by id or external:<externalId> | policies:read | | bulk_upsert_policies | Idempotent bulk create/update keyed by externalId | policies:write (+ policies:publish if publish: true) | | update_policy | Partial update of one policy | policies:write | | publish_policy | Promote DRAFT/SUGGESTION → PUBLISHED | policies:publish | | delete_policy | Soft-delete (status → deprecated) | policies:delete | | upload_document | Async document upload for AI extraction | documents:write | | get_document | Poll document processing status | documents:write |

Setup

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "inpolicy-admin": {
      "command": "npx",
      "args": ["-y", "@inpolicy/policy-admin-mcp"],
      "env": {
        "INPOLICY_API_KEY": "inp_live_..."
      }
    }
  }
}

Claude Code

claude mcp add inpolicy-admin -- env INPOLICY_API_KEY=inp_live_... npx -y @inpolicy/policy-admin-mcp

Cursor / Windsurf

Add to the MCP config:

{
  "mcpServers": {
    "inpolicy-admin": {
      "command": "npx",
      "args": ["-y", "@inpolicy/policy-admin-mcp"],
      "env": { "INPOLICY_API_KEY": "inp_live_..." }
    }
  }
}

API key

The API key must carry the scopes for the tools you intend to use (see table above). Create at app.inpolicy.ai → Settings → API Keys. For typical admin use, generate a key with the full ADMIN_SCOPES bundle.

Configuration

| Env var | Default | Notes | |---|---|---| | INPOLICY_API_KEY | — | Required. | | INPOLICY_API_URL | https://api.inpolicy.ai/api/v1 | Override for self-hosted. | | INPOLICY_TIMEOUT_MS | 30000 | Per-call timeout. |

License

MIT