Python Sandbox

MCP Server

by pydantic · Added 5mo ago

Claude
15.7k

Install

npx -y @pydantic/mcp-run-python

Add to Claude

claude mcp add pydantic-pydantic-ai-mcp-run-python

Quick Setup Config

Copy & paste ready

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) %APPDATA%\Claude\claude_desktop_config.json (Windows)

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

Paste into your Claude Desktop config file, then restart Claude.

About

Provides a browser-compatible Python execution environment with package management capabilities for running code snippets safely without requiring a backend Python installation.

Tags

Web & Browsermcp-serverpythonnpm

From Our Store

View all →
Claude Code

Claude Code Power User Kit

$39+

Advanced Claude Code skills and configurations

OpenClaw

OpenClaw Business Starter Kit

$59+

Set Up Your AI Assistant in 60 Minutes