# Python Interpreter

> Use this tool when you need to execute Python code, manage packages, and perform file operations in a secure environment. It solves problems related to AI-assisted Python development, data analysis, and educational programming tasks by providing a safe and isolated space for code execution. The tool takes Python code and files as input and returns execution results, supporting multiple Python environments and comprehensive file handling with safety limits.

Canonical page: https://skillsregistry.net/skills/yzfly-python-interpreter  
JSON: https://api.skillsregistry.net/v1/skills/yzfly-python-interpreter

## Description

MCP Python Interpreter provides a secure environment for LLMs to interact with Python, enabling code execution, file operations, and package management within isolated working directories. Developed by YZFly, it supports multiple Python environments (system and conda), offers comprehensive file handling with safety limits, and includes tools for running code, managing packages, and debugging errors. The server is designed with strong security features including isolated working directories, file size limits, and explicit overwrite protection, making it ideal for AI-assisted Python development, data analysis, and educational programming tasks.

## Trust

- **Trust score (0–1):** 0.64
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-01

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/yzfly-python-interpreter)
- **Repository:** <https://github.com/yzfly/mcp-python-interpreter>

## 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": "yzfly-python-interpreter"
    }
  }
}
```

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