get_reverse_dependencies
Pack: rubygems · Endpoint: https://gateway.pipeworx.io/rubygems/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_reverse_dependencies for the schema, then POST the same URL with its arguments for the data.
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
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Gem 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
| Field | Type | Description |
|---|---|---|
found | boolean | Whether the gem was found |
name | string | Gem name |
hint | string | Error message when gem not found |
count | number | Total number of gems that depend on this one |
dependents | array | Names of gems depending on this one (up to 50) |
has_more | boolean | Whether 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.