# Python Code Sandbox

> Use this tool when you need to execute Python code securely and isolate dependencies for data analysis and visualization tasks. It solves problems of code compatibility and security by providing automatic dependency installation and session persistence in isolated Docker containers. The tool accepts Python code as input and outputs results, including retrieved files, making it ideal for testing, debugging, and running data-intensive tasks.

Canonical page: https://skillsregistry.net/skills/li-xiu-qi-python-code-sandbox  
JSON: https://api.skillsregistry.net/v1/skills/li-xiu-qi-python-code-sandbox

## Description

Provides secure Python code execution in isolated Docker containers with automatic dependency installation, session persistence, and file retrieval for data analysis and visualization tasks.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** cloud-infra
- **Updated:** 2026-04-25

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/li-xiu-qi-python-code-sandbox)
- **Repository:** <https://github.com/li-xiu-qi/python-code-sandbox-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": "li-xiu-qi-python-code-sandbox"
    }
  }
}
```

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