MCP Python Interpreter — Development skill for Claude Code
MCP Python Interpreter: run python code.
How to install MCP Python Interpreter
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yzfly/mcp-python-interpreter and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What MCP Python Interpreter does
MCP Python Interpreter: run python code. Python-mcp-server, mcp-python-server, Code Executor
Alternatives in Development
- Mempalace Init — Set up MemPalace — install the package, initialize a palace, register the MCP server with Cursor, and verify e 58.6k ★
- MCP Python SDK — Python SDK for building MCP servers 22.3k ★
- Claude Context Mode — An MCP server that sits between Claude Code and these outputs 5.3k ★
README
[](https://mseep.ai/app/yzfly-mcp-python-interpreter)
MCP Python Interpreter
A Model Context Protocol (MCP) server that allows LLMs to interact with Python environments, read and write files, execute Python code, and manage development workflows.
Features
- Environment Management: List and use different Python environments (system and conda)
- Code Execution: Run Python code or scripts in any available environment
- Package Management: List installed packages and install new ones
- File Operations:
- Read files of any type (text, source code, binary)
- Write text and binary files
- Python Prompts: Templates for common Python tasks like function creation and debugging
Installation
You can install the MCP Python Interpreter using pip:
pip install mcp-python-interpreter
Or with uv:
uv install mcp-python-interpreter
Usage with Claude Desktop
- Install Claude Desktop
- Open Claude Desktop, click on menu, then Settings
- Go to Developer tab and click "Edit Config"
- Add the following to your
claude_desktop_config.json:
{
"mcpServers": {
"mcp-python-interpreter": {
"command": "uvx",
"args": [
"mcp-python-interpreter",
"--dir",
"/path/to/your/work/dir",
"--python-path",
"/path/to/your/python"
],
"env": {
"MCP_ALLOW_SYSTEM_ACCESS": 0
},
}
}
}
For Windows:
{
"mcpServers": {
"python-interpreter": {
"command": "uvx",
"args": [
"mcp-python-interpreter",
"--dir",
"C:\\path\\to\\your\\working\\directory",
"--python-path",
"/path/to/your/python"
],
"env": {
"MCP_ALLOW_SYSTEM_ACCESS": "0"
},
}
}
}
- Restart Claude Desktop
- You should
Related Skills
Trend Pulse
Free trending topics aggregator — 20 sources, zero auth. CLI + Python library + MCP Server.
Civitai MCP Ultimate
Ultimate MCP server for Civitai API — search models, browse top images with prompts, download LoRAs/Checkpoint
Skills To Extensions
A Python command-line tool to automatically convert Anthropic Claude skills into self-contained Google Gemini
CloakBrowser Agent
Jev-powered stealth browser agent. TypeSafe Jev decides each step in ~0.3 s, CloakBrowser carries it out like
Agent Orchestra
Hands-on experiments with multi-agent orchestration: Claude + LangGraph on the Python side, a thin TypeScript
Gimp MCP Pro
A production-grade MCP server for GIMP 3.0+. 67 typed tools connecting Claude Desktop to GIMP for image creati
Related Agents
Agentic Pipeline Researcher
Focused researcher for the Python agentic_ai subsystem and its MCP server. Use when work touches agentic_ai/,
Python Worker
Worker for the Python components strategies/, mcp/, and trader/ (Python 3.14, uv). Owns the strategy SDK and s
Diva MCP Integrator
Wires MCP servers into a Diva agent — external tool servers via MCP.stdio/MCP.http (Python or TypeScript) and