uv-mcp
MCP server for introspection of python environments
dmclain
README
uv-mcp
A Model Context Protocol (MCP) server for interacting with Python installations via uv, the fast Python package installer.
Overview
uv-mcp provides LLMs with direct access to inspect and manage Python environments through the uv package manager. This allows AI assistants to help with Python dependency management, environment inspection, and troubleshooting tasks.
Features
- Environment Inspection: Query installed packages and their versions
- Dependency Resolution: Check compatibility between packages
- Environment Comparison: Identify differences between local and cloud/production environments
- Requirement Management: Parse and validate requirements files
- Package Information: Retrieve metadata about PyPI packages
- Virtual Environment Management: Create and manage virtual environments
How It Works
uv-mcp implements the Model Context Protocol to expose Python environment data and package management functionality through standardized resources and tools.
Resources
python:packages://installed
- List of all installed packages and versionspython:packages://outdated
- List of installed packages with newer versions availablepython:packages://{package_name}/latest
- Latest versions available for a packagepython:packages://{package_name}/dependencies
- List of dependencies for a specific packagepython:requirements://{file_path}
- Parsed content of requirements files
Tools
run(command: str[])
- Run a command or scriptinit()
- Create a new projectadd(package_name: str, version: Optional[str])
- Add dependencies to the projectremove(package_name: str)
- Remove dependencies from the projectsync(dry_run: bool)
- Install all declared dependencies, uninstall anything not declaredlock()
- Update the project's lockfilepip(command: str[])
- Run a pip commandpip_install(package_name: str, version: Optional[str])
- Install a package using pippip_uninstall(package_name: str)
- Uninstall a package using pippip_list()
- List all installed packages using pip
Usage
To start the server:
uvx uv-mcp
Development
This project is built with the MCP Python SDK and uv.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.