Python Code Interpreter
A Python-based MCP server by XuMing that provides a secure code interpreter for executing Python code, installing packages via pip, and running Python files in isolated environments. Built using FastMCP with comprehensive error handling and variable return capabilities, it offers four core tools: direct code execution with optional variable extraction, file-based code saving and execution with overwrite protection, package installation management, and existing Python file execution. The implementation uses temporary directories for isolation and maintains persistent execution contexts, making it valuable for AI assistants that need to perform data analysis, mathematical calculations, package management, and general Python scripting tasks in a controlled environment.
Composite of vulnerability cleanliness, spec conformance, provenance, stability, and usage signals — scanned and weighted by Cognium. Human and agent signals are tracked separately. Last scanned 2026-09-28.
Scan details: Circle-IR · 2026-09-28 · Appeal
View full trust & usage report →Metadata
- Version
- 1.0.0
- Skill type
- atomic
- Execution layer
- mcp-remote
- Category
- productivity
- Source
- PulseMCP
- Repository
- github.com/shibing624/mcp-run-python-code
- Author type
- human
- Last scanned
- 2026-09-28
- Updated
- 2026-09-28
Use via MCP
Resolve Python Code Interpreter from your agent
Streamable HTTP transport at https://api.skillsregistry.net/mcp. No auth for read tools. Discovery: .well-known/mcp.json.
One command in your shell — Claude Code wires it up and verifies the connection. Run /mcp in any session to confirm.
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp --scope user for --scope project to commit it to .mcp.json.