get_package

Pack: pypi · Endpoint: https://gateway.pipeworx.io/pypi/mcp

Get metadata for a Python package on PyPI (the Python Package Index). Returns the latest version, summary, author, license, project URLs, required Python version, keywords, classifiers, and the release artifact files that pip install would download. Pass the exact pip package name (e.g. “requests”, “numpy”).

Parameters

NameTypeRequiredDescription
namestringyesExact PyPI package name, e.g. “requests”.

Example call

Arguments

{
  "name": "django"
}

curl

curl -X POST https://gateway.pipeworx.io/pypi/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_package","arguments":{"name":"django"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_package', {
  "name": "django"
});

More examples

{
  "name": "pandas"
}

Response shape

Always returns: name, version, summary, author, author_email, license, requires_python, home_page, project_urls, keywords, recent_versions, latest_files

FieldTypeDescription
namestringPackage name
versionstringLatest version number
summarystring | nullShort package description
authorstring | nullPackage author name
author_emailstring | nullPackage author email
licensestring | nullLicense type
requires_pythonstring | nullPython version requirement
home_pagestring | nullPackage homepage URL
project_urlsobjectAdditional project URLs
keywordsstring | nullPackage keywords
recent_versionsarrayLast 10 available versions
latest_filesarrayLatest distribution files
Full JSON Schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Package name"
    },
    "version": {
      "type": "string",
      "description": "Latest version number"
    },
    "summary": {
      "type": [
        "string",
        "null"
      ],
      "description": "Short package description"
    },
    "author": {
      "type": [
        "string",
        "null"
      ],
      "description": "Package author name"
    },
    "author_email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Package author email"
    },
    "license": {
      "type": [
        "string",
        "null"
      ],
      "description": "License type"
    },
    "requires_python": {
      "type": [
        "string",
        "null"
      ],
      "description": "Python version requirement"
    },
    "home_page": {
      "type": [
        "string",
        "null"
      ],
      "description": "Package homepage URL"
    },
    "project_urls": {
      "type": "object",
      "description": "Additional project URLs"
    },
    "keywords": {
      "type": [
        "string",
        "null"
      ],
      "description": "Package keywords"
    },
    "recent_versions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Last 10 available versions"
    },
    "latest_files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string",
            "description": "Distribution filename"
          },
          "packagetype": {
            "type": "string",
            "description": "Package type (e.g., sdist, bdist_wheel)"
          },
          "upload_time": {
            "type": "string",
            "description": "Upload timestamp"
          },
          "url": {
            "type": "string",
            "description": "Download URL"
          }
        },
        "required": [
          "filename",
          "packagetype",
          "upload_time",
          "url"
        ]
      },
      "description": "Latest distribution files"
    }
  },
  "required": [
    "name",
    "version",
    "summary",
    "author",
    "author_email",
    "license",
    "requires_python",
    "home_page",
    "project_urls",
    "keywords",
    "recent_versions",
    "latest_files"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "pypi": {
      "url": "https://gateway.pipeworx.io/pypi/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 24, 2026