New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@oneqode/pattern-store-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oneqode/pattern-store-mcp

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

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

mcp

FAQs

Package last updated on 26 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts