What is mcp_safe_local_python_executor?
mcp_safe_local_python_executor is a MCP server by maxim-saplin that safe Python interpreter based on Hugging Face smolagents' LocalPythonExecutor. It is listed under Developer tools and has 48 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | maxim-saplin |
| Repository | maxim-saplin/mcp_safe_local_python_executor |
| Popularity | 48 GitHub stars |
| Category | Developer tools |
| Security | Low risk (80/100) |
| Rank | #877 of 4,418 MCP servers; #213 in Developer tools |
| License | MIT |
| Last commit | 2025-07-17 |
| Runs | Not stated |
Is mcp_safe_local_python_executor safe to install?
mcp_safe_local_python_executor scores 80/100 on the MCPMods security check: Low risk. Things to review: executes code or shell commands. It passed 3 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Community-built server | Note |
| Where data goes is not stated | Note |
| No credentials mentioned | Pass |
| Read-only by description | Pass |
| Executes code or shell commands | Review |
| Source on GitHub | Pass |
How do I install mcp_safe_local_python_executor?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/maxim-saplin/mcp_safe_local_python_executor
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add mcp-safe-local-python-executor -- <command from README> claude mcp add --transport http mcp-safe-local-python-executor <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs mcp_safe_local_python_executor for you:
Add the "mcp_safe_local_python_executor" MCP server from https://github.com/maxim-saplin/mcp_safe_local_python_executor to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.