Code Sandbox — Execute Python, JS, SQL Safely

Sandboxed code execution API for AI agents.

Community: Submitted by a user or imported; check the owner before granting accessOnlineNo sign-inGlobalFreeRead-only

What it can do

  • Code Execute Sandbox: Use this when you need to execute Python, JavaScript, or SQL code in a sandboxed environment and get the output. Supports Python (subprocess), JavaScript (eval), and SQL (in-memo

What data it sees

Do you need an account

No: the server works without sign-in

Sandboxed code execution API for AI agents. Execute Python, JavaScript, or SQL in an isolated environment. Returns stdout, execution time, and errors. 10-second timeout for safety.

Tools: code_execute_sandbox.

Use this for running calculations, testing code snippets, data transformations, or SQL queries without needing a local runtime. Safe execution with resource limits.

Returns: {stdout, executionTime, errors}. No API key required — x402 micropayment $0.01/call on Base L2.

Server tool list (1)

Raw names from tools/list. Only developers need these.

code_execute_sandboxUse this when you need to execute Python, JavaScript, or SQL code in a sandboxed environment and get the output. Supports Python (subprocess), JavaScript (eval), and SQL (in-memory SQLite). 1. output