eleanorjboyd
MCP Servereleanorjboydpublic

pypi mcp demo

A demo repo of a MCP server which retrieves information on PyPi

Repository Info

5
Stars
1
Forks
5
Watchers
0
Issues
Python
Language
MIT License
License

About This Server

A demo repo of a MCP server which retrieves information on PyPi

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

PyPI Info Demo

This project is a simple Model Context Protocol (MCP) server that provides information about Python packages on PyPI. It exposes a tool to fetch package maintainers, version, changelog, summary, and full project description using the PyPI JSON API.

Features

  • Query PyPI for package metadata
  • Returns maintainers, version, changelog URL, summary, and full project description
  • Attempts to find changelog links from project homepages if not directly available

Usage

  1. Install dependencies: using the python environments extension run the command "create environment" or install via pip install -e .

  2. Run the server:

    python server.py
    
  3. Call the tool: You can call the get_pypi_package_info tool via the MCP protocol, or directly in Python:

    from server import get_pypi_package_info
    print(get_pypi_package_info("requests"))
    

File Overview

  • server.py: Main MCP server and PyPI info tool implementation
  • pyproject.toml: Project metadata and dependencies

Requirements

  • Python 3.7+
  • mcp, requests, beautifulsoup4

License

MIT

Quick Start

1

Clone the repository

git clone https://github.com/eleanorjboyd/pypi-mcp-demo
2

Install dependencies

cd pypi-mcp-demo
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownereleanorjboyd
Repopypi-mcp-demo
LanguagePython
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation