Version Control · Developer Tools

Pypi Query MCP Server logo

Pypi Query MCP Server

loonghao/pypi-query-mcp-server

A Model Context Protocol (MCP) server for querying PyPI package information, dependencies, and compatibility checking.

Install

uvx --from pypi-query-mcp-server pypi-query-mcp

Client configuration

{
  "mcpServers": {
    "pypi-query": {
      "command": "uvx",
      "args": [
        "--from",
        "pypi-query-mcp-server",
        "pypi-query-mcp"
      ],
      "env": {
        "PYPI_INDEX_URL": "<PYPI_INDEX_URL>",
        "PYPI_INDEX_URLS": "<PYPI_INDEX_URLS>",
        "PYPI_CACHE_TTL": "<PYPI_CACHE_TTL>",
        "PYPI_LOG_LEVEL": "<PYPI_LOG_LEVEL>"
      }
    }
  }
}

Environment variables

PYPI_INDEX_URLPYPI_INDEX_URLSPYPI_CACHE_TTLPYPI_LOG_LEVELPYPI_PRIVATE_PYPI_URLPYPI_PRIVATE_PYPI_USERNAMEPYPI_PRIVATE_PYPI_PASSWORDCACHE_TTLPYPI_EXTRA_INDEX_URLS
GitHub stars
2
Author
@loonghao
Category
Version Control, Developer Tools
License
MIT
Updated
Oct 6, 2026

Features

  • Query PyPI package information (name, version, description, dependencies)

  • Python version compatibility checking

  • Advanced dependency analysis and recursive resolution

  • Package download with dependency collection

  • Download statistics and popularity analysis

  • Top packages ranking and trends

  • MCP prompt templates for guided analysis and decision-making

  • Private PyPI repository support

  • Fast async operations with caching

  • Easy integration with MCP clients

Tools (23)

  • get_package_info

    Get comprehensive package information

  • get_package_dependencies

    Analyze package dependencies

  • check_package_python_compatibility

    Check Python version compatibility

  • get_package_compatible_python_versions

    Get all compatible Python versions

  • resolve_dependencies

    Recursively resolve all package dependencies with detailed analysis

  • download_package

    Download package and all dependencies to local directory

  • get_download_statistics

    Get comprehensive download statistics for any package

  • get_download_trends

    Analyze download trends and time series data (last 180 days)

  • get_top_downloaded_packages

    Get the most popular packages by download count

  • analyze_package_quality

    Generate comprehensive package quality analysis prompts

  • compare_packages

    Generate detailed package comparison prompts

  • suggest_alternatives

    Generate prompts for finding package alternatives

  • resolve_dependency_conflicts

    Generate prompts for resolving dependency conflicts

  • plan_version_upgrade

    Generate prompts for planning package version upgrades

  • audit_security_risks

    Generate prompts for security risk auditing

  • plan_package_migration

    Generate comprehensive package migration plan prompts

  • generate_migration_checklist

    Generate detailed migration checklist prompts

  • analyze_environment_dependencies

    Generate prompts for analyzing current environment dependencies

  • check_outdated_packages

    Generate prompts for checking outdated packages with update priorities

  • generate_update_plan

    Generate prompts for creating comprehensive package update plans

  • analyze_daily_trends

    Generate prompts for analyzing daily PyPI download trends

  • find_trending_packages

    Generate prompts for discovering trending packages over time periods

  • track_package_updates

    Generate prompts for tracking recent package updates and releases

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cline logo

Cline

Desktop · Free · MIT

An AI coding assistant integrated into the IDE. Supports MCP servers for enhanced functionality.

WindowsMacOSLinux
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
Windsurf logo

Windsurf

Desktop · Freemium · Proprietary

The first agentic IDE. The Windsurf editor truly merges how developers and AI work together.

WindowsMacOSLinux

Related MCP servers

More servers
core logo

core

opensumi/core

3.3k

A framework helps you quickly build AI Native IDE products.

Version Control
test1 logo

test1

trpc-group/trpc-go

942

tRPC-Go, is the Go language implementation of tRPC, which is a pluggable, high-performance RPC framework.

Version Control
AI-Gateway logo

AI-Gateway

Azure-Samples/AI-Gateway

565

New! The AI Gateway Dev Portal is now live — A starting point for building your own developer portal on top of Azure API Management AI Gateway's. Fork it, open it in VS Code with GitHub Copilot (or any coding agent), and shape it to fit your needs!

Version Control
e2b logo

e2b

e2b-dev/mcp-server

233

Deprecated: This project is no longer actively maintained. It may not receive further updates or bug fixes.

Version Control
MCP Git Ingest logo

MCP Git Ingest

adhikasp/mcp-git-ingest

180

A Model Context Protocol (MCP) server that helps read GitHub repository structure and important files.

Version Control
gitlab mcp logo

gitlab mcp

zereight/gitlab-mcp

70

Documentation → Setup guides, environment variables, and the full tool reference live on the hosted docs site.

Version Control