# python-session-mcp

> python-session-mcp — merwanroudane-mcp-python. Use this tool when you need to run Python code in a persistent and isolated environment, enabling seamless execution of data analysis tasks, such as data loading, summaries, and plotting, while maintaining session continuity and crash protection. It solves problems related to code execution, data analysis, and session management, providing a reliable interface for inputting code and outputting results. Ideal for use cases requiring repeated or complex data analysis tasks, where session persistence and stability are crucial.

Canonical page: https://skillsregistry.net/skills/merwanroudane-mcp-python  
JSON: https://api.skillsregistry.net/v1/skills/merwanroudane-mcp-python

## Description

Enables LLM clients to run Python code in a persistent, user-selected interpreter via MCP, with tools for data loading, summaries, regressions, diagnostics, and plotting, while keeping sessions alive between calls and isolating crashes.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-09-04

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-04

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/hjpvmjnixp)
- **Repository:** <https://github.com/merwanroudane/mcp_python>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "merwanroudane-mcp-python"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/merwanroudane-mcp-python` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/merwanroudane-mcp-python/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
