SkillAgentSearch skills...

mcp-python-executor

A Model Context Protocol (MCP) server for executing Python code and managing Python packages.

Install / Use

claude mcp add bsmi021 -- npx -y github:bsmi021/mcp-python-executor

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

57/100

Supported Platforms

Claude Code
Claude Desktop

Our assessment of mcp-python-executor

mcp-python-executor scores 57/100 on our quality scale, 4199th of 4,658 Development & Engineering skills we index.

Its MCP Server is 2.1 KB long, split into 7 sections with 4 code examples: moderately detailed.

It has 3 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
20/30
Structure
18/20
Description
12/15
Adoption
3/20
Freshness
5/15

Maintenance, license and trust

  • The repository was last updated about 1.7 years ago. Expect some instructions to reference tool versions or APIs that have since changed.
  • Our last check on 2026-08-12 found the source still online.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 75/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

mcp-python-executor compared with similar skills

All 4 of these similar skills score higher than mcp-python-executor; compare them before choosing.

SkillScoreStarsUpdatedFormat
mcp-python-executor (this skill)by bsmi02157320mo agoMCP Server
Agent-Reachby Panniantong100106.6k5d agoCLAUDE.md
taste-skillby Leonxlnx100106.0ktodayCLAUDE.md
headroomby headroomlabs-ai10078.3ktodayCLAUDE.md
ai-job-searchby ai-job-search-dev10067.6k3d agoCLAUDE.md

Frequently asked questions

How do I install mcp-python-executor?
Run claude mcp add bsmi021 -- npx -y github:bsmi021/mcp-python-executor. The install tabs above show the steps for each supported agent.
Which AI agents does mcp-python-executor work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is mcp-python-executor safe to use?
It is MIT-licensed and scores 75/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is mcp-python-executor still maintained?
The repository was last updated about 1.7 years ago. Expect some instructions to reference tool versions or APIs that have since changed.

MCP Python Executor

A Model Context Protocol (MCP) server for executing Python code and managing Python packages.

Features

  • Execute Python code with safety constraints
  • Install and manage Python packages
  • Pre-configure commonly used packages
  • Resource monitoring and limits
  • Health checks and metrics
  • Structured logging

Configuration

The server can be configured through environment variables in the MCP settings:

{
  "mcpServers": {
    "mcp-python-executor": {
      "command": "node",
      "args": ["path/to/python-executor/build/index.js"],
      "env": {
        "PREINSTALLED_PACKAGES": "numpy pandas matplotlib scikit-learn",
        "MAX_MEMORY_MB": "512",
        "EXECUTION_TIMEOUT_MS": "30000",
        "MAX_CONCURRENT_EXECUTIONS": "5",
        "LOG_LEVEL": "info",
        "LOG_FORMAT": "json"
      }
    }
  }
}

Environment Variables

  • PREINSTALLED_PACKAGES: Space-separated list of Python packages to install on startup
  • MAX_MEMORY_MB: Maximum memory limit per execution (default: 512)
  • EXECUTION_TIMEOUT_MS: Maximum execution time in milliseconds (default: 30000)
  • MAX_CONCURRENT_EXECUTIONS: Maximum number of concurrent executions (default: 5)
  • LOG_LEVEL: Logging level (debug|info|error, default: info)
  • LOG_FORMAT: Log format (json|text, default: json)

Available Tools

1. execute_python

Execute Python code and return the results.

interface ExecutePythonArgs {
  code?: string;          // Python code to execute (inline)
  scriptPath?: string;    // Path to existing Python script file (alternative to code)
  inputData?: string[];   // Optional input data
}

Examples:

// Example with inline code
{
  "code": "print('Hello, World!!')\nfor i in range(3): print(i)",
  "inputData": ["optional", "input", "data"]
}

// Example with script path
{
  "scriptPath": "/path/to/your_script.py",
  "inputData": ["optional", "input", "data"]
}

2. install_packages

Install Python packages.

interface InstallPackagesArgs {
  packages: string[];
}

Example:

Related Skills

View on GitHub
GitHub Stars3
CategoryDevelopment
Updated1y ago
Forks0

Languages

JavaScript

Trust signals

75/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium2 low