get_gem

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

Get full metadata for a published Ruby gem by name. Returns latest version, authors, license, descriptions, download counts, and project/source URLs. Use for “what is gem X?”, “tell me about Ruby gem Y”, or before calling get_versions/get_dependencies.

Parameters

NameTypeRequiredDescription
namestringyesGem name (e.g., “rails”, “devise”, “rspec”)

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

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "name": "devise"
}

Response shape

Always returns: found, name

FieldTypeDescription
foundbooleanWhether the gem was found on rubygems.org
namestringGem name
hintstringError message when gem not found
latest_versionstringLatest published version number
version_created_atstring | nullWhen the latest version was created
authorsstring | nullComma-separated list of gem authors
infostring | nullShort description of the gem
licensesarray | nullGem licenses
downloads_totalnumber | nullTotal lifetime downloads
downloads_latest_versionnumber | nullDownloads for latest version
project_uristring | nullURI to gem project page
gem_uristring | nullURI to gem on rubygems.org
homepagestring | nullHomepage URL
documentationstring | nullDocumentation URL
source_codestring | nullSource code repository URL
bug_trackerstring | nullBug tracker URL
changelogstring | nullChangelog URL
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "Whether the gem was found on rubygems.org"
    },
    "name": {
      "type": "string",
      "description": "Gem name"
    },
    "hint": {
      "type": "string",
      "description": "Error message when gem not found"
    },
    "latest_version": {
      "type": "string",
      "description": "Latest published version number"
    },
    "version_created_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the latest version was created"
    },
    "authors": {
      "type": [
        "string",
        "null"
      ],
      "description": "Comma-separated list of gem authors"
    },
    "info": {
      "type": [
        "string",
        "null"
      ],
      "description": "Short description of the gem"
    },
    "licenses": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "Gem licenses"
    },
    "downloads_total": {
      "type": [
        "number",
        "null"
      ],
      "description": "Total lifetime downloads"
    },
    "downloads_latest_version": {
      "type": [
        "number",
        "null"
      ],
      "description": "Downloads for latest version"
    },
    "project_uri": {
      "type": [
        "string",
        "null"
      ],
      "description": "URI to gem project page"
    },
    "gem_uri": {
      "type": [
        "string",
        "null"
      ],
      "description": "URI to gem on rubygems.org"
    },
    "homepage": {
      "type": [
        "string",
        "null"
      ],
      "description": "Homepage URL"
    },
    "documentation": {
      "type": [
        "string",
        "null"
      ],
      "description": "Documentation URL"
    },
    "source_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "Source code repository URL"
    },
    "bug_tracker": {
      "type": [
        "string",
        "null"
      ],
      "description": "Bug tracker URL"
    },
    "changelog": {
      "type": [
        "string",
        "null"
      ],
      "description": "Changelog URL"
    }
  },
  "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