get_versions

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

Get full version history for a Ruby gem. Returns every published version with release date, download count, Ruby version compatibility, and licenses. Use for “what versions of X exist?” or “when did Y release version Z?”.

Parameters

NameTypeRequiredDescription
namestringyesGem name (e.g., “rails”)
limitnumbernoMax versions to return (default 25, max 200). Latest first.

Example call

Arguments

{
  "name": "rails"
}

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_versions","arguments":{"name":"rails"}}}'

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "name": "rspec",
  "limit": 50
}

Response shape

Always returns: found, name

FieldTypeDescription
foundbooleanWhether the gem was found
namestringGem name
hintstringError message when gem not found
total_versionsnumberTotal number of versions ever published
returnednumberNumber of versions returned in this response
versionsarrayList of versions, newest first
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"
    },
    "total_versions": {
      "type": "number",
      "description": "Total number of versions ever published"
    },
    "returned": {
      "type": "number",
      "description": "Number of versions returned in this response"
    },
    "versions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "description": "Version number"
          },
          "prerelease": {
            "type": "boolean",
            "description": "Whether this is a prerelease version"
          },
          "platform": {
            "type": [
              "string",
              "null"
            ],
            "description": "Platform (e.g., ruby, java)"
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Release date"
          },
          "downloads": {
            "type": [
              "number",
              "null"
            ],
            "description": "Download count for this version"
          },
          "ruby_version": {
            "type": [
              "string",
              "null"
            ],
            "description": "Required Ruby version"
          },
          "licenses": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "Licenses for this version"
          },
          "summary": {
            "type": [
              "string",
              "null"
            ],
            "description": "Version summary"
          }
        }
      },
      "description": "List of versions, newest first"
    }
  },
  "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