# Run Python

> Run Python is an MCP server. Run Python code from natural language prompts, with optional PyPI package install. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://mcp.build/run-python/
- **Repository:** https://github.com/hal9ai/mcp.build/tree/HEAD/run-python
- **MCP Registry name:** io.github.hal9ai/run-python
- **Listing updated:** 2026-11-13

## About

Run Python code from natural language prompts, with optional PyPI package install.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http run-python https://next.hal9.ai/mcp/mcpbuild/run-python
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://next.hal9.ai/mcp/mcpbuild/run-python
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "run-python": {
      "url": "https://next.hal9.ai/mcp/mcpbuild/run-python"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "run-python": {
      "type": "http",
      "url": "https://next.hal9.ai/mcp/mcpbuild/run-python"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "run-python": {
      "serverUrl": "https://next.hal9.ai/mcp/mcpbuild/run-python"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "run-python": {
      "type": "http",
      "url": "https://next.hal9.ai/mcp/mcpbuild/run-python"
    }
  }
}
```

## FAQ

### How do I add Run Python to Claude Code?

Run this command in your terminal: claude mcp add --transport http run-python https://next.hal9.ai/mcp/mcpbuild/run-python

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/run-python
