PyPI-MCP-Server

PyPI-MCP-Server

1

PyPI MCP Server facilitates AI assistant communication with the PyPI package repository using the Model Context Protocol (MCP). It allows efficient searching and retrieval of package data, supporting AI applications with detailed metadata and statistics access.

PyPI MCP Server

Enabling AI assistants to search and access PyPI package information through a simple MCP interface. The PyPI MCP Server allows AI models to programmatically search Python packages and access their metadata. It supports features like retrieving package information, searching packages by keywords, viewing version history, and download statistics.

Core Features

  • Package Search: Query PyPI packages by keywords
  • Metadata Access: Get detailed metadata for specific packages
  • Version Information: Get all released versions of a package
  • Statistics Data: Get download statistics for packages
  • Efficient Retrieval: Fast access to package information

Quick Start

Prerequisites

  • Python 3.10+
  • httpx
  • BeautifulSoup4
  • mcp-python-sdk
  • typing-extensions

Installation

  1. Clone the repository
  2. Install required dependencies

Running the Server

The server will communicate with MCP clients through standard input/output (stdio).