@paretools/python
MCP server for Python — structured pip, mypy, ruff, and pytest output for AI agents
pinned to #cedf42dupdated 3 months ago
Ask your AI client: “install mcps/paretools-python”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install mcps/paretools-pythonmetahub onboarded this repo on the author's behalf.
If you own github.com/Dave-London/Pare on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
134
Last commit
3 months ago
Latest release
published
- #ai
- #ai-agent
- #ai-coding
- #ai-tools
- #black
- #claude
- #cli
- #copilot
- #cursor
- #developer-tools
- #devtools
- #mcp
- #mcp-server
- #model-context-protocol
- #mypy
- #pip
- #pytest
- #python
- #ruff
- #structured-output
- #token-efficiency
- #token-efficient
- #typescript
- #uv
What this server exposes
Surfaces parsed from this server's source at publish time.
Launches: pare-python
Automated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.cedf42d· 3 months ago
Behavioral checks haven't run yet: the sandbox couldn't execute this artifact (it may need credentials we don't provide, or an unsupported build). An environment limit, not a verdict.
Select a category above to see its individual checks.
Release history
1- releasecurrentcedf42dpass3 months ago
Contents
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.
Tools (8)
| 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 |
Quick Start
npx -y @paretools/python
Add to your MCP client config:
{
"mcpServers": {
"pare-python": {
"command": "npx",
"args": ["-y", "@paretools/python"]
}
}
}
Example
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 Interpreter Resolution
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.exeon Windows)venv/andenv/with the same platform-specific interpreter namespythonpython3
Tools 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.
All Pare Servers (244 tools)
| 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 |
Compatible Clients
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
Links
License
Reviews
No reviews yet. Be the first.
Related
Next Ai Draw Io
MCP server for Next AI Draw.io - AI-powered diagram generation with real-time browser preview
Agent Reach
Give your AI Agent eyes to see the entire internet. Search + Read 10+ platforms.
vercel-example
Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
mh install mcps/paretools-python