mcp-python-interpreter
mcp-python-interpreter is an MCP server by yzfly. MCP Python Interpreter: run python code. Python-mcp-server, mcp-python-server, Code Executor. It has 104 GitHub stars and ranks #894 of 20,147 in Miscellaneous by stars.
- Category
- Miscellaneous
- MCP evidence
- Its own PyPI package
- Author
- yzfly
- GitHub stars
- 104
- This week
- +0 stars this week (+0%) · +0 forks since 18 Nov 2026
- Language
- Python
- License
- Other
- Last update
- 2026-11-01
- Forks
- 36
- Created
- 2025-04-04 (20 months ago)
- Links
- SourcePyPI
How to install mcp-python-interpreter
mcp-python-interpreter is published on PyPI as mcp-python-interpreter. The command below is the one its README gives, as read on 10 Nov 2026.
- Get ready. It reads the environment variable
MCP_ALLOW_SYSTEM_ACCESS; put your own value in place of the placeholder. You need uv foruvx. - Add it to Claude Code from a terminal:
claude mcp add mcp-python-interpreter -e MCP_ALLOW_SYSTEM_ACCESS=<YOUR_MCP_ALLOW_SYSTEM_ACCESS> -- uvx mcp-python-interpreter --dir /path/to/your/work/dir --python-path /path/to/your/python - Or add it to Cursor or Claude Desktop in
.cursor/mcp.jsonorclaude_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": "<YOUR_MCP_ALLOW_SYSTEM_ACCESS>" } } } } - Restart the client and check it. Run
claude mcp list, or open the client's MCP settings, and confirm mcp-python-interpreter and its tools are listed. The install guide covers VS Code and Codex.
More MCP servers for Python projects
mcp-python-interpreter ranks #489 by GitHub stars among the 1,629 listings in MCP servers for Python projects. That page compares the top entries by stars, license and last update.
Report a problem with this listing · Advertise on MCP Harbor
Frequently asked questions
What is mcp-python-interpreter?
mcp-python-interpreter is an MCP server by yzfly in the Miscellaneous category. MCP Python Interpreter: run python code. Python-mcp-server, mcp-python-server, Code Executor. It has 104 GitHub stars and ranks #894 of 20,147 in Miscellaneous by stars. It is written in Python. It is licensed under Other. It was last updated on 1 November 2026.
Is mcp-python-interpreter free and open source?
mcp-python-interpreter lists its license as Other. Read the license text in the repository before using it in a commercial product, and check whether the service it connects to charges for API access.
What are the alternatives to mcp-python-interpreter?
Other Miscellaneous projects on MCP Harbor include GCC Tender API, hermes-agent, cc-switch. Each alternative links to its own page with stars, license and recent activity. The Miscellaneous category ranks all 20,147 by stars, and you can re-sort it by growth this week.
Alternatives to mcp-python-interpreter
All 20,147 Miscellaneous MCP servers →
Data last updated . Stars and downloads are refreshed every day from GitHub and npm.