Skip to content
Eden Engine

Get CPAN Distribution

metacpan/get-distribution

Returns CPAN distribution statistics from MetaCPAN: the dependency river (dependent counts, bucket, bus factor), open and closed bug counts per tracker, and the names of the matching Debian, Fedora and other OS packages. Data from MetaCPAN, https://metacpan.org, the search engine for the Comprehensive Perl Archive Network, reduced to the fields listed (e-mail addresses are not returned) and served by Eden Engine; not an official MetaCPAN or CPAN product. Each release keeps its own licence (see licenses).

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

MetaCPAN

Data from MetaCPAN, https://metacpan.org, the search engine for the Comprehensive Perl Archive Network, reduced to the fields listed (e-mail addresses are not returned) and served by Eden Engine; not an official MetaCPAN or CPAN product. Each release keeps its own licence (see licenses).

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: "metacpan/get-distribution" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "metacpan/get-distribution" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "metacpan/get-distribution", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "metacpan/get-distribution", 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": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_][A-Za-z0-9_.+-]*$",
      "maxLength": 200,
      "minLength": 1,
      "description": "CPAN distribution name, with hyphens instead of ::, for example Try-Tiny or libwww-perl."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "bugs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "new": {
            "type": [
              "integer",
              "null"
            ],
            "description": "New issues."
          },
          "open": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Open issues."
          },
          "active": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Active issues."
          },
          "closed": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Closed issues."
          },
          "patched": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Patched issues."
          },
          "stalled": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Stalled issues."
          },
          "tracker": {
            "type": "string",
            "description": "rt, github and others."
          },
          "rejected": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Rejected issues."
          },
          "resolved": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Resolved issues."
          },
          "source_url": {
            "type": [
              "string",
              "null"
            ],
            "description": "Tracker page."
          }
        },
        "description": "A tracker.",
        "additionalProperties": true
      },
      "description": "Issue counts per tracker; a count the tracker does not report is null."
    },
    "name": {
      "type": "string",
      "description": "Distribution name."
    },
    "river": {
      "type": "object",
      "properties": {
        "bucket": {
          "type": [
            "integer",
            "null"
          ],
          "description": "River bucket, 0 (unused) to 5 (most depended on)."
        },
        "bus_factor": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Number of authors who would need to disappear to orphan the dependents."
        },
        "total_dependents": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Distributions that depend on it directly or indirectly."
        },
        "immediate_dependents": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Distributions that depend on it directly."
        }
      },
      "description": "The dependency river.",
      "additionalProperties": true
    },
    "external_packages": {
      "type": "object",
      "description": "OS name to that OS's package name, for example debian to libtry-tiny-perl.",
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}