@apolosan/design-patterns-mcp
AMCP server package design-patterns-mcp
Install
agr install @apolosan/design-patterns-mcp --target claudeThis artifact does not publish files for Claude.
Document
{ "name": "design-patterns-mcp", "version": "0.6.0", "description": "MCP server providing intelligent design pattern recommendations from a comprehensive catalog of 705+ patterns using semantic search, vector embeddings, TF-IDF keyword search, and blended RAG hybrid search with graph augmentation", "main": "dist/mcp-server.js", "module": "dist/mcp-server.js", "types": "dist/mcp-server.d.ts", "exports": { ".": { "types": "./dist/mcp-server.d.ts", "import": "./dist/mcp-server.js", "require": "./dist/mcp-server.js" }, "./lib": { "types": "./dist/lib/mcp-tools.d.ts", "import": "./dist/lib/mcp-tools.js", "require": "./dist/lib/mcp-tools.js" }, "./resources": { "types": "./dist/lib/mcp-resources.d.ts", "import": "./dist/lib/mcp-resources.js", "require": "./dist/lib/mcp-resources.js" } }, "bin": { "design-patterns-mcp": "./dist/mcp-server.js", "design-patterns-migrate": "./dist/cli/migrate.js", "design-patterns-seed": "./dist/cli/seed.js", "design-patterns-embeddings": "./dist/cli/generate-embeddings.js" }, "files": [ "dist", "data", "README.md", "LICENSE" ], "type": "module", "scripts": { "prepare": "bun run build", "build": "rimraf dist && tsc -p tsconfig.build.json", "postbuild": "chmod +x dist/mcp-server.js dist/cli/.js 2>/dev/null || true", "verify-build": "node scripts/verify-build.mjs", "start": "bun run build && bun dist/mcp-server.js", "dev": "bun --hot src/mcp-server.ts", "test": "vitest run", "test:e2e": "bun run build && vitest run tests/e2e", "lint": "eslint src/**/.ts tests//*.ts", "lint:fix": "eslint src//.ts tests/**/.ts --fix", "typecheck": "tsc --noEmit", "db:setup": "bun run build && bun run migrate && bun run seed && bun run generate-embeddings && bun run setup-relationships && rm :memory:* 2>/dev/null || true", "migrate": "bun run build && bun dist/cli/migrate.js", "seed": "bun run build && bun dist/cli/seed.js", "setup-relationships": "bun run build && bun dist/cli/setup-relationships.js", "generate-embeddings": "bun run build && bun dist/cli/generate-embeddings.js", "integrity-check": "bun run build && bun dist/cli/integrity-check.js", "integrity-check:schema": "bun run build && bun dist/cli/integrity-check.js --schema" }, "repository": { "type": "git", "url": "https://github.com/apolosan/design_patterns_mcp.git" }, "bugs": { "url": "https://github.com/apolosan/design_patterns_mcp/issues" }, "homepage": "https://github.com/apolosan/design_patterns_mcp#readme", "keywords": [ "design-patterns", "mcp", "model-context-protocol", "ai", "typescript", "software-engineering", "design-patterns-catalog", "semantic-search", "vector-search", "pattern-matching", "claude", "cursor", "anthropic", "sqlite", "embeddings", "machine-learning", "gof-patterns", "architectural-patterns", "creational-patterns", "structural-patterns", "behavioral-patterns", "microservices", "cloud-native", "ai-patterns", "hybrid-search", "blended-rag", "tf-idf", "sparse-search", "graph-augmentation" ], "author": "Design Patterns MCP Team", "license": "MIT", "engines": { "node": ">=18.0.0", "bun": ">=1.0.0" }, "os": [ "linux", "darwin", "win32" ], "cpu": [ "x64", "arm64" ], "preferGlobal": true, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "contributors": [ { "name": "Design Patterns MCP Team", "email": "team@design-patterns-mcp.dev" } ], "funding": { "type": "github", "url": "https://github.com/sponsors/apolosan" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "lint-staged": { ".{ts,js}": [ "eslint --fix", "prettier --write" ], ".{json,md}": [ "prettier --write" ] }, "peerDependencies": { "@modelcontextprotocol/sdk": "^1.18.0" }, "peerDependenciesMeta": { "@modelcontextprotocol/sdk": { "optional": false } }, "dependencies": { "@modelcontextprotocol/sdk": "^1.20.0", "@xenova/transformers": "^2.17.2", "sql.js": "^1.13.0" }, "devDependencies": { "@types/node": "^20.0.0", "@types/sql.js": "^1.4.9", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "@vitest/coverage-v8": "^1.1.0", "bun-types": "^1.2.21", "rimraf": "^6.0.1", "eslint": "^8.0.0", "typescript": "^5.3.0", "vitest": "^1.1.0" } }
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- warnType matchbest-effort: server code not analyzed
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-5c304ec4aa042026-08-06