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
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Gem 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
| Field | Type | Description |
|---|---|---|
found | boolean | Whether the gem was found on rubygems.org |
name | string | Gem name |
hint | string | Error message when gem not found |
latest_version | string | Latest published version number |
version_created_at | string | null | When the latest version was created |
authors | string | null | Comma-separated list of gem authors |
info | string | null | Short description of the gem |
licenses | array | null | Gem licenses |
downloads_total | number | null | Total lifetime downloads |
downloads_latest_version | number | null | Downloads for latest version |
project_uri | string | null | URI to gem project page |
gem_uri | string | null | URI to gem on rubygems.org |
homepage | string | null | Homepage URL |
documentation | string | null | Documentation URL |
source_code | string | null | Source code repository URL |
bug_tracker | string | null | Bug tracker URL |
changelog | string | null | Changelog 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.