Skip to main content
Glama

mcp-package-health

CI PyPI License: MIT Python 3.10+

An MCP (Model Context Protocol) server that gives AI agents real-time package health data, vulnerability reports, and dependency graphs — directly inside Claude, Cursor, and any MCP-compatible client.


Why this exists

Every developer has asked Claude something like "is this package still maintained?" or "does this version have any CVEs?" — and Claude has to say "I don't have real-time data."

mcp-package-health fixes that. It exposes three tools that any MCP-compatible AI agent can call live:

Tool

What it does

get_package_health

Latest version, release date, license, summary from PyPI

check_vulnerabilities

CVE/vulnerability scan via OSV.dev

get_dependency_graph

Direct + transitive dependency list


Related MCP server: mcpypi

Install

pip install mcp-package-health

Or from source:

git clone https://github.com/fse08877-netizen/mcp-package-health.git
cd mcp-package-health
pip install -e ".[dev]"

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "package-health": {
      "command": "mcp-package-health"
    }
  }
}

Then ask Claude:

  • "Is numpy safe to use at version 1.24.0?"

  • "What are the dependencies of fastapi?"

  • "When was the last release of httpx?"


Tool Reference

get_package_health(package_name, ecosystem="pypi")

{
  "name": "requests",
  "version": "2.32.3",
  "summary": "Python HTTP for Humans.",
  "last_release": "2024-05-29T17:05:40",
  "license": "Apache-2.0",
  "project_url": "https://requests.readthedocs.io"
}

check_vulnerabilities(package_name, version)

{
  "package": "Pillow",
  "version": "9.0.0",
  "vulnerability_count": 3,
  "vulnerabilities": [
    {
      "id": "GHSA-56pw-mpj4-fxww",
      "summary": "Pillow uninitialized memory",
      "severity": "HIGH"
    }
  ]
}

get_dependency_graph(package_name)

{
  "package": "fastapi",
  "direct_dependencies": ["starlette", "pydantic", "typing-extensions"],
  "count": 3
}

Development

pytest tests/ -v

License

MIT © fse08877-netizen

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A security-focused MCP server that enables AI assistants to search PyPI packages, scan for vulnerabilities, audit dependencies, and ensure security across Python projects.
    332 PyPI
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server for comprehensive PyPI package intelligence, providing tools for dependency analysis, security scanning, health scoring, license compliance, and trend tracking.
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server providing dependency and package management tools for AI agents. Analyze licenses, find outdated packages, visualize dependency trees, estimate bundle sizes, and audit security vulnerabilities.
    5
    25 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server that gives AI assistants the ability to check open-source packages for vulnerabilities, enrich findings with real-world exploit intelligence, and statically analyse whether vulnerable code is actually reachable in your project.
    3
    1
    Apache 2.0