hileamlakB/Python-Runtime-Interpreter-MCP-Server

PRIMS is a lightweight, open-source Model Context Protocol (MCP) server that lets LLM agents safely execute arbitrary Python code in a secure, throw-away sandbox.

47
/ 100
Emerging

This project helps large language model (LLM) agents safely run Python code. It takes a Python script and any required packages, executes it in a secure, temporary environment, and then returns the results. This is for developers building LLM applications that need to perform complex computations or interact with external systems using Python.

Use this if you are a developer integrating Python code execution into an LLM agent and need a secure, isolated, and reproducible environment for arbitrary code.

Not ideal if you need a solution for human users to run Python code directly, or if your LLM application does not require arbitrary code execution.

LLM application development Agentic AI Python sandboxing Secure code execution Model context protocol
No Package No Dependents
Maintenance 6 / 25
Adoption 7 / 25
Maturity 15 / 25
Community 19 / 25

How are scores calculated?

Stars

27

Forks

17

Language

Python

License

MIT

Last pushed

Oct 15, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/hileamlakB/Python-Runtime-Interpreter-MCP-Server"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.