mcp_safe_local_python_executor
Safe local Python executor for LLMs via MCP. mcp_safe_local_python_executor is a Model Context Protocol (MCP) server maintained by maxim-saplin. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 1 tool, including run_python, that an agent can call directly. It is categorized under AI/LLM, Tool/Python and Integration/Claude.
What is this MCP
This is a Model Context Protocol (MCP) server that provides a secure local Python execution environment for LLM-generated code, wrapping Hugging Face'sLocalPythonExecutor with basic isolation/security features.
How to use this MCP
Install viauv, configure the MCP server in Claude Desktop's config file, and restart Claude to access the Python executor tool (appears as a hammer icon). The server runs in a restricted Python venv with limited imports and no file I/O operations.
What this MCP can be used for
Enables safe execution of LLM-generated Python code locally without Docker/VMs, functioning as a code interpreter for Claude Desktop and other MCP-compatible clients. Useful for mathematical calculations, data processing, and equation solving while maintaining security.
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently asked questions
What is the mcp_safe_local_python_executor MCP server?
mcp_safe_local_python_executor is a Model Context Protocol server from maxim-saplin. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.
How do I connect mcp_safe_local_python_executor to my AI client?
Add mcp_safe_local_python_executor to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.
What tools does mcp_safe_local_python_executor provide?
mcp_safe_local_python_executor provides 1 tool: run_python.
Is mcp_safe_local_python_executor free to use?
mcp_safe_local_python_executor is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
