Python Tools
MCP server for python tools
What is Python Tools?
Python Tools is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for python tools
MCP server for python tools
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server for python tools
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx python-toolsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Python Tools
The Python Tools MCP Server exposes a suite of modern Python development utilities—testing, linting, formatting, dependency management, code coverage, and security scanning—directly to AI assistants. By connecting Claude to tools like pytest, ruff, bandit, and uv, it enables AI-driven code quality workflows without leaving the conversation.
Prerequisites
- Python 3.11 or later
- uv package manager installed (https://github.com/astral-sh/uv)
- Git to clone the repository
- A Python project you want to analyze or test
Clone the repository
Download the python-tools-mcp source.
git clone https://github.com/benomahony/python_tools_mcp.git
cd python_tools_mcpInstall dependencies with uv
Use uv sync to create a virtual environment and install all dependencies in one step.
uv syncStart the MCP server
Launch the server using uvx, which runs it from the local project environment.
uvx python-tools-mcpAdd to Claude Desktop configuration
Register the server in claude_desktop_config.json using uvx as the command so it picks up the project's virtual environment.
{
"mcpServers": {
"python-tools": {
"command": "uvx",
"args": ["python-tools-mcp"],
"cwd": "/absolute/path/to/your-python-project"
}
}
}Python Tools Examples
Client configuration
Claude Desktop config using uvx to run the python-tools-mcp server from your Python project directory.
{
"mcpServers": {
"python-tools": {
"command": "uvx",
"args": ["python-tools-mcp"],
"cwd": "/Users/you/my-python-project"
}
}
}Prompts to try
Example prompts for running Python dev tools through Claude.
- "Run the test suite with coverage and show me which lines are not covered"
- "Lint the codebase with ruff and fix all auto-fixable issues"
- "Format all Python files in the src directory using ruff format"
- "Add the requests library to this project using uv"
- "Run a bandit security scan and summarize any high-severity findings"Troubleshooting Python Tools
uvx command not found
Install uv from https://github.com/astral-sh/uv using curl -LsSf https://astral.sh/uv/install.sh | sh (macOS/Linux) or the Windows installer. Restart your terminal after installation so the PATH is updated.
pytest tool fails with no tests found
Ensure the cwd in your claude_desktop_config.json points to the root of your Python project where tests are located, not to the python_tools_mcp directory itself.
ruff_check reports errors about missing configuration
ruff reads configuration from pyproject.toml or ruff.toml in the project root. If neither exists, ruff uses defaults. Create a [tool.ruff] section in pyproject.toml to customize rules for your project.
Frequently Asked Questions about Python Tools
What is Python Tools?
Python Tools is a Model Context Protocol (MCP) server that mcp server for python tools It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Python Tools?
Follow the installation instructions on the Python Tools GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Python Tools?
Python Tools works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Python Tools free to use?
Yes, Python Tools is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Python Tools Alternatives — Similar Developer Tools Servers
Looking for alternatives to Python Tools? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Python Tools in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Python Tools?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.