Python Tools

v1.0.0Developer Toolsstable

MCP server for python tools

python-toolsmcpai-integration
Share:
9
Stars
0
Downloads
0
Weekly
0/5

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

Execute Python code and scripts through Claude for data analysis.
benomahony

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMar 25, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx python-tools

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

Clone the repository

Download the python-tools-mcp source.

git clone https://github.com/benomahony/python_tools_mcp.git
cd python_tools_mcp
2

Install dependencies with uv

Use uv sync to create a virtual environment and install all dependencies in one step.

uv sync
3

Start the MCP server

Launch the server using uvx, which runs it from the local project environment.

uvx python-tools-mcp
4

Add 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.

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.

Quick Config Preview

{ "mcpServers": { "python-tools": { "command": "npx", "args": ["-y", "python-tools"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides