# python-patterns-mcp

> Use this tool when you need to generate, detect, or refactor design patterns in Python codebases, solving problems such as improving code readability, maintainability, and scalability. It takes in Python code as input and outputs validated, refactored code with applied design patterns, providing a comprehensive interface for AI coding agents. Ideal for use in software development, code review, and technical debt reduction contexts.

Canonical page: https://skillsregistry.net/skills/air237-python-patterns-mcp  
JSON: https://api.skillsregistry.net/v1/skills/air237-python-patterns-mcp

## Description

Exposes the 23 Gang of Four design patterns to AI coding agents for generation, canonical examples, AST-based detection, validation, and anti-pattern refactoring in Python codebases.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-08-30

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-08-30

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/xalu12kjo5)
- **Repository:** <https://github.com/air237/python-patterns-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "air237-python-patterns-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/air237-python-patterns-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/air237-python-patterns-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
