Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
A

Alec2435/python_mcp

MCP Server to run python code locally

Before you install: no copy-paste command · no license recorded · link reachable

First step: npx @modelcontextprotocol/inspector uv --directory /path/to/python_local run python-local

View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
Client config (built from the install command this repo gives)
{
  "mcpServers": {
    "alec2435-python-mcp": {
      "command": "npx",
      "args": ["@modelcontextprotocol/inspector"]
    }
  }
}

Parsed from the README we fetched on 2026-11-07; we have not executed it.

command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
  "servers": {
    "alec2435-python-mcp": {
      "command": "npx",
      "args": ["@modelcontextprotocol/inspector"]
    }
  }
}
Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio alec2435-python-mcp -- npx @modelcontextprotocol/inspector
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
Source
collected from the abordage/awesome-mcp list · type: MCP server
Harvest history
first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
Score
score 1,003 · 10 sources · mcp
Install
npx @modelcontextprotocol/inspector
FAQ (answers come from our records)
How do I install it?
The repository provides this install command: npx @modelcontextprotocol/inspector. It comes from the repository itself; we cannot guarantee it runs as-is in your client.
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# python_local MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

An MCP Server that provides an interactive Python REPL (Read-Eval-Print Loop) environment.
## Components
### Resources
The server provides access to REPL session history:
Custom repl:// URI scheme for accessing session history
Each session's history can be viewed as a text/plain resource
History shows input code and corresponding output for each execution
### Tools
The server implements one tool:
python_repl: Executes Python code in a persistent session
Takes code (Python code to execute) and session_id as required arguments
Maintains separate state for each session
Supports both expressions and statements
Captures and returns stdout/stderr output
## Configuration
### Install
#### Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Development/Unpublished Servers Configuration
json
"mcpServers": {
"python_local": {
"command": "uv",
"args": [
"--directory",
"/path/to/python_local",
"run",
"python_local"
Published Servers Configuration
json
"mcpServers": {
"python_local": {
"command": "uvx",
"args": [
"python_local"
## Development
### Building and Publishing
To prepare the package for distribution:
1. Sync dependencies and update lockfile:
bash
uv sync
2. Build package distributions:
bash
uv build
This will create source and wheel distributions in the dist/ directory.
3. Publish to PyPI:
bash
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
Token: --token or UV_PUBLISH_TOKEN
Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD
### Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging
experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm with this command:
bash
npx @modelcontextprotocol/inspector uv --directory /path/to/python_local run python-local
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/alec2435-python-mcp/)
Source
awesome · https://github.com/Alec2435/python_mcp
Browse by field
MCP servers
Listed by
10 independent sources
added
today

More like this

All 6,229 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index