Skip to content
Eden Engine

Search PHP Packages (Packagist)

packagist/search-packages

Searches Packagist for PHP Composer packages by text, optionally by tag or package type: name, description, repository, install count and stars per package, with the total match count. Data from Packagist, https://packagist.org, passed through unmodified and served by Eden Engine; not an official Packagist product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Packagist

Package data from Packagist, https://packagist.org, the PHP Composer package repository, fetched through its public API. Passed through unmodified and served by Eden Engine; this is not an official Packagist or Private Packagist product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "packagist/search-packages" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "packagist/search-packages" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "packagist/search-packages", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "packagist/search-packages", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 26, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "q"
  ],
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "description": "Search text, for example logger."
    },
    "page": {
      "type": "integer",
      "default": 1,
      "maximum": 1000,
      "minimum": 1,
      "description": "Page number, default 1."
    },
    "tags": {
      "type": "string",
      "pattern": "^[A-Za-z0-9._ -]{1,50}$",
      "description": "Optional tag the package must have, for example psr-3."
    },
    "type": {
      "type": "string",
      "pattern": "^[a-z0-9-]{1,40}$",
      "description": "Optional package type, for example library, symfony-bundle, composer-plugin."
    },
    "per_page": {
      "type": "integer",
      "default": 15,
      "maximum": 100,
      "minimum": 1,
      "description": "Packages per page, 1 to 100, default 15."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "results",
    "total"
  ],
  "properties": {
    "next": {
      "type": "string",
      "description": "URL of the next page, absent on the last page."
    },
    "total": {
      "type": "integer",
      "description": "Total matches."
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "url": {
            "type": "string",
            "description": "Packagist page."
          },
          "name": {
            "type": "string",
            "description": "vendor/name."
          },
          "favers": {
            "type": "integer",
            "description": "Stars on Packagist."
          },
          "downloads": {
            "type": "integer",
            "description": "All-time installs."
          },
          "repository": {
            "type": [
              "string",
              "null"
            ],
            "description": "Source repository URL."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description."
          }
        },
        "description": "A package.",
        "additionalProperties": true
      },
      "description": "Matching packages, best first."
    }
  },
  "additionalProperties": true
}