PyPI MCP Server is an MCP server that provides AI assistants with access to Python package metadata, release information, and download statistics from the Python Package Index. Built with Python and communicating via standard input/output, it bridges LLM clients like Claude Desktop directly to PyPI data. Software engineers, Python developers, and AI agents use this server to programmatically query Python packages without manually visiting the repository in a web browser. The server enables assistants to search packages by keyword, inspect specific release metadata, verify available package versions, and check aggregate download metrics. By surfacing current library details and dependency versions directly within the model's context, it streamlines technical research, dependency auditing, and package discovery during coding workflows.
Category: Developer Tools & Code Intelligence
Tags: metadata, package-manager, pypi, python, software-dependencies
bash git clone https://github.com/JackKuo666/PyPI-MCP-Server.git cd PyPI-MCP-Server 2. Install the necessary Python dependencies: bash pip install -r requirements.txt 3. Add the server configuration to your claude_desktop_config.json file: json { "mcpServers": { "pypi": { "command": "python", "args": ["pypi_server.py"] } } } 4. Restart Claude Desktop to begin querying PyPI tools.Part of MCP Servers
PyPI MCP Server allows AI clients to interact with the Python Package Index. It exposes tools to search packages by keywords, fetch comprehensive package metadata for latest or specific versions, list all released version numbers, and retrieve package download statistics directly into an assistant context.
Clone the GitHub repository, install the dependencies using pip install -r requirements.txt, and configure your MCP client to execute the pypi_server.py file with Python using stdio communication.
PyPI MCP Server works with any client supporting the Model Context Protocol over standard input and output (stdio), including Claude Desktop and compatible developer environments.
Yes, PyPI MCP Server is open source and distributed under the MIT license on GitHub.