
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@paretools/python
Advanced tools
MCP server for Python — structured pip, mypy, ruff, and pytest output for AI agents
Structured, token-efficient Python tool output for AI agents. Up to 65% fewer tokens than raw CLI output.
Part of the Pare suite of MCP servers.
| Tool | Description |
|---|---|
pip-install | Install packages, returns summary of installed items |
mypy | Type-check diagnostics (file, line, severity, message) |
ruff-check | Lint diagnostics (file, line, code, message) |
pip-audit | Vulnerability report for installed packages |
pytest | Run tests, returns structured pass/fail results |
uv-install | Install packages via uv with structured summary |
uv-run | Run a command in a uv-managed environment |
black | Format code with Black, returns changed/unchanged files |
npx -y @paretools/python
Add to your MCP client config:
{
"mcpServers": {
"pare-python": {
"command": "npx",
"args": ["-y", "@paretools/python"]
}
}
}
mypy output:
{
"success": false,
"errors": [
{
"file": "app/main.py",
"line": 15,
"severity": "error",
"message": "Argument 1 to \"process\" has incompatible type \"str\"; expected \"int\"",
"code": "arg-type"
}
],
"errorCount": 1,
"warningCount": 0,
"noteCount": 0
}
Python-backed tools prefer the project-local virtual environment before falling back to global commands. When a tool needs Python, Pare checks for interpreters in this order from the requested path:
.venv/bin/python, .venv/bin/python3 (or .venv/Scripts/python.exe on Windows)venv/ and env/ with the same platform-specific interpreter namespythonpython3Tools such as ruff-check, ruff-format, pytest, mypy, pip-install, pip-audit, and black also fall back from a missing console script to python -m <module>. Use pythonPath on ruff-check, ruff-format, pytest, and mypy when a project needs an explicit interpreter override.
| Package | Tools | Wraps |
|---|---|---|
| @paretools/git | status, log, diff, branch, show, add, commit, push, pull, checkout | git |
| @paretools/test | run, coverage | pytest, jest, vitest, mocha |
| @paretools/npm | install, audit, outdated, list, run, test, init | npm |
| @paretools/build | tsc, build, esbuild, vite-build, webpack | tsc, esbuild, vite, webpack |
| @paretools/lint | lint, format-check, prettier-format, biome-check, biome-format | eslint, prettier, biome |
| @paretools/python | pip-install, mypy, ruff-check, pip-audit, pytest, uv-install, uv-run, black | pip, mypy, ruff, pytest, uv, black |
| @paretools/docker | ps, build, logs, images, run, exec, compose-up, compose-down, pull | docker, docker compose |
| @paretools/cargo | build, test, clippy, run, add, remove, fmt, doc, check | cargo |
| @paretools/go | build, test, vet, run, mod-tidy, fmt, generate | go, gofmt |
Works with any MCP-compatible client: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code / GitHub Copilot, Cline, Roo Code, Zed, Continue.dev, Gemini CLI, OpenAI Codex
FAQs
MCP server for Python — structured pip, mypy, ruff, and pytest output for AI agents
The npm package @paretools/python receives a total of 92 weekly downloads. As such, @paretools/python popularity was classified as not popular.
We found that @paretools/python demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.