get_reverse_dependencies

Pack: rubygems · Endpoint: https://gateway.pipeworx.io/rubygems/mcp

List gems that depend on this gem. Useful for understanding ecosystem impact (“what depends on Rack?”) or risk surface (“how many gems would break if this one had a vulnerability?”). API caps at 50 names per request.

Parameters

NameTypeRequiredDescription
namestringyesGem name (e.g., “rack”)

Example call

Arguments

{
  "name": "rack"
}

curl

curl -X POST https://gateway.pipeworx.io/rubygems/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_reverse_dependencies","arguments":{"name":"rack"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_reverse_dependencies', {
  "name": "rack"
});

Response shape

Always returns: found, name

FieldTypeDescription
foundbooleanWhether the gem was found
namestringGem name
hintstringError message when gem not found
countnumberTotal number of gems that depend on this one
dependentsarrayNames of gems depending on this one (up to 50)
has_morebooleanWhether there are more than 50 dependents
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "Whether the gem was found"
    },
    "name": {
      "type": "string",
      "description": "Gem name"
    },
    "hint": {
      "type": "string",
      "description": "Error message when gem not found"
    },
    "count": {
      "type": "number",
      "description": "Total number of gems that depend on this one"
    },
    "dependents": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Names of gems depending on this one (up to 50)"
    },
    "has_more": {
      "type": "boolean",
      "description": "Whether there are more than 50 dependents"
    }
  },
  "required": [
    "found",
    "name"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "rubygems": {
      "url": "https://gateway.pipeworx.io/rubygems/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 26, 2026