Uv MCP Server

Model Context Protocol (MCP) server for interacting with Python installations via uv

Local serverstdioPython

What is the Uv MCP server?

Model Context Protocol (MCP) server for interacting with Python installations via uv. The uv mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 2 defined tools rather than through you.

What it actually does

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.

  • 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

Adding it to your client

uv-mcp on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Its toolset

Everything the assistant can do here goes through one of these:

  • Resources — The Resources tool exposed by this server
  • Tools — The Tools tool exposed by this server

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the uv mcp server does with a few real requests.

When to reach for it

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Uv's toolset — Resources, Tools — is a fair guide to whether it matches your workflow.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
ResourcesThe Resources tool exposed by this server.
ToolsThe Tools tool exposed by this server.

How to install the Uv MCP server

{
  "mcpServers": {
    "uv": {
      "command": "uvx",
      "args": ["uv-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Uv to Resources.
  • Use Uv to Tools.

Frequently asked questions

It connects Uv to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Resources, Tools) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Uv directly.