mcp-python-interpreter

InstallView on GitHub

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.

  1. Get ready. It reads the environment variable MCP_ALLOW_SYSTEM_ACCESS; put your own value in place of the placeholder. You need uv for uvx.
  2. 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
  3. Or add it to Cursor or Claude Desktop in .cursor/mcp.json or 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": "<YOUR_MCP_ALLOW_SYSTEM_ACCESS>"
          }
        }
      }
    }
  4. 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

GCC Tender Alerts · MCP evidence: reviewed
UAE government tenders as clean JSON, searchable by buyer and keyword.
NousResearch · Python+1,640 stars this week (+0.6%)
The agent that grows with you
farion1231 · Rust+1,621 stars this week (+1%)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io
servers★ 92,239
modelcontextprotocol · TypeScript · MCP evidence: reviewed+155 stars this week (+0.2%)
Model Context Protocol Reference Servers
thedaviddias · MDX · MCP evidence: MCP Registry+47 stars this week (+0.1%)
🗂 The essential checklist for modern web development, for humans and AI agents
goose★ 56,976
aaif-goose · Rust+230 stars this week (+0.4%)
an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM

All 20,147 Miscellaneous MCP servers →

Data last updated . Stars and downloads are refreshed every day from GitHub and npm.

Contact MCP Harbor

We reply by email. You can also write to hello@mcpharbor.app.

Report a problem with this listing

mcp-python-interpreteryzfly · /tools/yzfly-mcp-python-interpreter/

We reply by email.