# Python Code Validator

> Python Code Validator — jkanselaar-python-code-validator. Use this tool when you need to validate and refine AI-generated Python code, solving problems such as syntax errors, linting issues, and security vulnerabilities. It takes in Python code as input and outputs validated, repaired code with improved quality and reliability. Ideal for use cases where accuracy and security of AI-generated code are crucial, such as in machine learning model development and automation scripting.

Canonical page: https://skillsregistry.net/skills/jkanselaar-python-code-validator  
JSON: https://api.skillsregistry.net/v1/skills/jkanselaar-python-code-validator

## Description

Validates AI-generated Python: syntax, lint, security scan and deterministic repair.

## Trust

- **Trust score (0–1):** 0.68
- **Verification tier:** scanned
- **Last scanned:** 2026-08-29

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/bqpl3x90ij)
- **Repository:** <https://github.com/jkanselaar/python-code-validator>

## 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": "jkanselaar-python-code-validator"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/jkanselaar-python-code-validator` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/jkanselaar-python-code-validator/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
