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

NameTypeRequiredDescription
querystringyesFree-text — package name / description
typestringnocomposer-plugin | library | symfony-bundle | wordpress-plugin | …
tagsstringnoComma-separated tags
pagenumberno1-based page
per_pagenumberno1-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

FieldTypeDescription
resultsarrayArray of matching packages
totalnumberTotal number of matching results
nextstringURL 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.

Regenerated from source · build July 6, 2026