Python Code Runner

v1.0.0Coding Agentsstable

Enables execution of Python code in a safe environment, including running scripts, installing packages, and retrieving variable values. Supports file operations and package management through pip.

python-code-runnermcpai-integration
Share:
0
Stars
0
Downloads
0
Weekly
0/5

What is Python Code Runner?

Python Code Runner is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables execution of python code in a safe environment, including running scripts, installing packages, and retrieving variable values. supports file operations and package management through pip.

Enables execution of Python code in a safe environment, including running scripts, installing packages, and retrieving variable values. Supports file operations and package management through pip.

This server falls under the Coding Agents category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables execution of Python code in a safe environment, incl

Use Cases

Execute Python code safely
Test code snippets
shibing624

Maintainer

LicenseApache 2.0
Languagetypescript
Versionv1.0.0
UpdatedN/A
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx python-code-runner

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

Frequently Asked Questions about Python Code Runner

What is Python Code Runner?

Python Code Runner is a Model Context Protocol (MCP) server that enables execution of python code in a safe environment, including running scripts, installing packages, and retrieving variable values. supports file operations and package management through pip. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Python Code Runner?

Follow the installation instructions on the Python Code Runner GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Python Code Runner?

Python Code Runner works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Python Code Runner free to use?

Yes, Python Code Runner is open source and available under the Apache 2.0 license. You can use it freely in both personal and commercial projects.

Browse More Coding Agents MCP Servers

Explore all coding agents servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "python-code-runner": { "command": "npx", "args": ["-y", "python-code-runner"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Python Code Runner?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides