get_package
Pack: packagist · Endpoint: https://gateway.pipeworx.io/packagist/mcp
Fetch full package metadata including all versions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Package name in “vendor/package” form |
Example call
Arguments
{
"name": "laravel/framework"
}
curl
curl -X POST https://gateway.pipeworx.io/packagist/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_package","arguments":{"name":"laravel/framework"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_package', {
"name": "laravel/framework"
});
Response shape
| Field | Type | Description |
|---|---|---|
package | object |
Full JSON Schema
{
"type": "object",
"properties": {
"package": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Package name"
},
"description": {
"type": "string",
"description": "Package description"
},
"url": {
"type": "string",
"description": "Packagist URL"
},
"repository": {
"type": "string",
"description": "Repository URL"
},
"downloads": {
"type": "object",
"properties": {
"total": {
"type": "number",
"description": "Total downloads"
},
"monthly": {
"type": "number",
"description": "Monthly downloads"
},
"daily": {
"type": "number",
"description": "Daily downloads"
}
}
},
"favers": {
"type": "number",
"description": "Number of favorites"
},
"versions": {
"type": "object",
"description": "Map of version strings to version details"
},
"type": {
"type": "string",
"description": "Package type"
},
"maintainers": {
"type": "array",
"description": "List of package maintainers",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Maintainer name"
},
"email": {
"type": "string",
"description": "Maintainer email"
}
}
}
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"packagist": {
"url": "https://gateway.pipeworx.io/packagist/mcp"
}
}
}
See Getting Started for client-specific install steps.