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
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Exact 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
| Field | Type | Description |
|---|---|---|
name | string | Package name |
version | string | Latest version number |
summary | string | null | Short package description |
author | string | null | Package author name |
author_email | string | null | Package author email |
license | string | null | License type |
requires_python | string | null | Python version requirement |
home_page | string | null | Package homepage URL |
project_urls | object | Additional project URLs |
keywords | string | null | Package keywords |
recent_versions | array | Last 10 available versions |
latest_files | array | Latest 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.