Does MCP Python Interpreter work with Claude Code?
Not in our test. MCP Python Interpreter installed in Claude Code but failed our agent task on Oct 15, 2026. Details of what went wrong are below.
Result
ResultFailed
Date testedOct 15, 2026
Plan tested onClaude Pro
App version2.1.296 (Claude Code)
Modelhaiku
Steps
- install OK
- connected Failed
- tools visible Not runClaude Code CLI has no non-interactive tool-list command; tool visibility is checked in the task step
- agent task: run cell FailedWhy it failed: no successful call to this server's tools; no tool result containing ['42']
From our own harness run, not the maker’s claims. How we test.
What happened in this run
Install config we used
claude mcp add -s local mcp-python-interpreter -- uvx mcp-python-interpreter --dir /workspace/timmy/harness/sandbox/pyinterpConnection check
mcp-python-interpreter: uvx mcp-python-interpreter --dir /workspace/timmy/harness/sandbox/pyinterp - ✘ Failed to connect — CONNECTION_CLOSED: Connection closedTools check
not_run
Raw details from our harness log for this run. Secrets redacted.
Set it up in Claude Code
Copy-paste config for every app is on the MCP Python Interpreter page. Not connecting? Claude Code MCP troubleshooting.
Other apps we tested it in: Cursor (failed).