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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@oneqode/pattern-store-mcp

v1.0.0

Published

Pattern Store MCP for Cracked Jacked Claude - Stores and retrieves code patterns, conventions, and learnings

Readme

Pattern Store MCP 🧩

The Pattern Store MCP (Model Context Protocol) server stores and retrieves code patterns, conventions, and project-specific learnings for the Cracked Jacked Claude framework.

Features

  • Pattern Storage: Store code patterns with metadata (category, language, quality score)
  • Semantic Search: Search patterns by query, category, language, or quality
  • Quality Tracking: Track and update pattern quality scores
  • Usage Analytics: Track pattern usage frequency
  • Category Management: Organize patterns by categories

Installation

# Global installation
npm install -g @oneqode/pattern-store-mcp

# Or use via npx
npx @oneqode/pattern-store-mcp

Usage with Claude

Add to your .claude.json:

{
  "mcpServers": {
    "pattern-store": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@oneqode/pattern-store-mcp@latest"],
      "description": "Pattern storage for code conventions and learnings"
    }
  }
}

Available Tools

store_pattern

Store a new code pattern or convention.

pattern_store.store_pattern({
  name: "error-boundary-react",
  category: "react",
  language: "typescript",
  pattern: "class ErrorBoundary extends React.Component<Props, State> {...}",
  description: "React error boundary pattern for catching component errors",
  tags: ["error-handling", "react", "components"],
  quality_score: 9
})

search_patterns

Search for patterns by query, category, or language.

pattern_store.search_patterns({
  query: "error handling",
  category: "react",
  min_quality: 7
})

get_pattern

Get a specific pattern by name.

pattern_store.get_pattern({
  name: "error-boundary-react"
})

update_quality

Update the quality score of a pattern based on usage experience.

pattern_store.update_quality({
  name: "error-boundary-react",
  quality_score: 10,
  reason: "Works perfectly in production"
})

list_categories

List all available pattern categories with statistics.

pattern_store.list_categories()

Pattern Categories

  • architecture: System design patterns
  • testing: Test patterns and strategies
  • security: Security best practices
  • performance: Performance optimization patterns
  • react: React-specific patterns
  • node: Node.js patterns
  • typescript: TypeScript patterns
  • error-handling: Error handling strategies
  • api: API design patterns
  • database: Database patterns

Storage

Patterns are stored in ~/.pattern-store/patterns.json as a JSON file for simplicity and portability.

Development

# Install dependencies
npm install

# Build
npm run build

# Development mode
npm run dev

License

MIT © OneQode