search
Pack: packagist · Endpoint: https://gateway.pipeworx.io/packagist/mcp
Search the Packagist PHP/Composer registry by free text with optional type (e.g. library, symfony-bundle) and tag filters. Returns package names, descriptions, download counts, and latest versions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Free-text — package name / description |
type | string | no | composer-plugin | library | symfony-bundle | wordpress-plugin | … |
tags | string | no | Comma-separated tags |
page | number | no | 1-based page |
per_page | number | no | 1-15 (default 15, API max) |
Example call
Arguments
{
"query": "laravel orm"
}
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":"search","arguments":{"query":"laravel orm"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search', {
"query": "laravel orm"
});
More examples
{
"query": "logging",
"type": "library",
"tags": "psr-3,monolog",
"page": 1,
"per_page": 10
}
Response shape
| Field | Type | Description |
|---|---|---|
results | array | Array of matching packages |
total | number | Total number of matching results |
next | string | URL for next page of results |
Full JSON Schema
{
"type": "object",
"properties": {
"results": {
"type": "array",
"description": "Array of matching packages",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Package name in vendor/package form"
},
"description": {
"type": "string",
"description": "Short package description"
},
"url": {
"type": "string",
"description": "Package URL on Packagist"
},
"repository": {
"type": "string",
"description": "Repository URL"
},
"downloads": {
"type": "number",
"description": "Total download count"
},
"favers": {
"type": "number",
"description": "Number of favorites"
},
"type": {
"type": "string",
"description": "Package type"
}
}
}
},
"total": {
"type": "number",
"description": "Total number of matching results"
},
"next": {
"type": "string",
"description": "URL for next page of results"
}
}
}
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.