RubyGems (Unofficial)
v0.2.2Unofficial RubyGems MCP — wraps the RubyGems.org public API (free, no auth)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_gem
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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Gem name (e.g., "rails", "devise", "rspec") |
search_gems
Search RubyGems by keyword in name/description. Returns matching gems sorted by relevance with name, version, downloads, and info text.
| Parameter | Type | Description |
|---|---|---|
query * | string | Keyword(s) to search for (e.g., "authentication", "json parser") |
limit | number | Max results to return (1–30, default 10). API caps at 30/page. |
page | number | Page number (1-based, default 1). |
rubygems_get_versions
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?".
| Parameter | Type | Description |
|---|---|---|
name * | string | Gem name (e.g., "rails") |
limit | number | Max versions to return (default 25, max 200). Latest first. |
get_dependencies
Get the runtime and development dependencies for a specific version of a Ruby gem. Returns each dependency with its version requirement string. Omit version to get the latest.
| Parameter | Type | Description |
|---|---|---|
name * | string | Gem name (e.g., "devise") |
version | string | Version string (e.g., "5.0.4"). Omit for latest. |
get_reverse_dependencies
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.
| Parameter | Type | Description |
|---|---|---|
name * | string | Gem name (e.g., "rack") |