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

pinnedai-mcp

v0.1.4

Published

MCP server for Pinned — lets Claude Desktop, Cursor, Cline, and any MCP-aware AI tool call Pinned at the right lifecycle moments. Exposes pinned_before_code_change, pinned_before_done_check, pinned_scan_diff, pinned_list_guards, pinned_check_pr_descriptio

Readme

pinnedai-mcp

Model Context Protocol (MCP) server for Pinned. Lets MCP-aware AI tools — Claude Desktop, Cursor, Cline, Continue — call Pinned natively, the same way they call file_read or bash.

The AI sees these tools and decides when to use them:

| Tool | When the AI calls it | |---|---| | pinned_suggest_init | Starting work on an unfamiliar repo — recommends pinned init if the codebase isn't yet protected. | | pinned_before_code_change | Before editing code. Returns active guards, recent AI lessons learned in the repo, current safety notes — so the agent knows what protected behaviors must not regress. | | pinned_before_done_check | Before saying a code change is complete. Runs the full Pinned review + Guard Integrity. Returns PASS / REVIEW / BLOCK in a human_summary the agent must include in its final response. | | pinned_scan_diff | During code-change work; called internally by pinned_before_done_check. Surfaces unprotected risk surfaces in the current diff. | | pinned_list_guards | When the user asks "what's protected here?" | | pinned_check_pr_description | When the user shows a PR body or asks "what does this PR claim to do?" |

Install

npm install -g pinnedai-mcp
# or use npx in your MCP config (recommended)

Configure your AI tool

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on Windows/Linux:

{
  "mcpServers": {
    "pinnedai": {
      "command": "npx",
      "args": ["-y", "pinnedai-mcp"]
    }
  }
}

Restart Claude Desktop. The Pinned tools appear in the tool drawer.

Cursor

Cursor's MCP support lives under Settings → MCP. Add:

Name:    pinnedai
Command: npx -y pinnedai-mcp

Cline (VS Code)

Cline reads ~/.cline/mcp_settings.json:

{
  "mcpServers": {
    "pinnedai": {
      "command": "npx",
      "args": ["-y", "pinnedai-mcp"]
    }
  }
}

Continue

In Continue's config, under mcpServers:

{
  "mcpServers": [
    {
      "name": "pinnedai",
      "transport": { "type": "stdio", "command": "npx", "args": ["-y", "pinnedai-mcp"] }
    }
  ]
}

How it works

The server is stateless. Each tool shells out to the pinned CLI in the working directory and returns the output. All state stays in the customer's repo under tests/pinned/ — no telemetry, no cloud calls, no API keys.

If pinned is in node_modules/.bin/ (workspace install) the server uses that. Otherwise it falls back to npx --no-install pinnedai.

License

Apache-2.0