Skip to main content
All providers

RubyGems

Developer

rubygems.org

Ruby gem metadata from RubyGems.org: versions, dependencies, downloads and the gem's own links.

Capabilities (11)

GET /v1/data/rubygems/gem1 credit

Returns the gem's current version, total and per-version download counts, authors, licenses, SPDX info, dependencies (runtime and development) and all project URIs.

name
GET /v1/data/rubygems/just-updated1 credit

Returns the 50 most recently updated gems that already had at least one earlier release, as full gem records.

No parameters
GET /v1/data/rubygems/latest-version1 credit

Returns a single object with the gem's newest non-prerelease version string, e.g. {"version":"8.1.4"}.

name
GET /v1/data/rubygems/newest-gems1 credit

Returns the 50 most recently created gems, i.e. first-ever publications, as full gem records.

No parameters
GET /v1/data/rubygems/owner-gems1 credit

Returns the full gem records for every gem the given RubyGems account owns.

handle
GET /v1/data/rubygems/owners1 credit

Returns the RubyGems accounts authorised to push the gem, each with its numeric id, handle and role (owner or maintainer).

name
GET /v1/data/rubygems/reverse-dependencies1 credit

Returns a flat array of gem names that declare a dependency on this gem.

name
GET /v1/data/rubygems/search1 credit

Returns an array of full gem records matching a free-text query over gem names and descriptions, 30 per page.

querypage?
GET /v1/data/rubygems/total-downloads1 credit

Returns a single object with the lifetime download count across all gems on RubyGems.org.

No parameters
GET /v1/data/rubygems/version-downloads1 credit

Returns total_downloads for the whole gem and version_downloads for the one specific version requested.

gem_version
GET /v1/data/rubygems/versions1 credit

Returns every published version of the gem with its number, platform, release date, SHA-256 checksum, licences, Ruby/RubyGems requirements, yanked flag and per-version download count.

name

Response example

The shape of data from rubygems/gem (Gem details). A sample, not live data.

JSON
{
  "name": "rails",
  "downloads": 803834733,
  "version": "8.1.4",
  "version_created_at": "2026-09-24T14:22:14.180Z",
  "version_downloads": 2226553,
  "platform": "ruby",
  "ruby_abi": null,
  "authors": "David Heinemeier Hansson",
  "info": "Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.",
  "licenses": [
    "MIT"
  ],
  "metadata": {
    "changelog_uri": "https://github.com/rails/rails/releases/tag/v8.1.4",
    "bug_tracker_uri": "https://github.com/rails/rails/issues",
    "source_code_uri": "https://github.com/rails/rails/tree/v8.1.4",
    "mailing_list_uri": "https://discuss.rubyonrails.org/c/rubyonrails-talk",
    "documentation_uri": "https://api.rubyonrails.org/v8.1.4/",
    "rubygems_mfa_required": "true"
  },
  "yanked": false,
  "sha": "5f3ecdf9a2a3b79b2e31b8fee3b64a00f7284d76e5631f87d0e58e665911a33b",
  "spec_sha": "b72dc52005186caa625be5704ca3da7d4d7bc98ecb2b3aa3931e9da68de688a3",
  "project_uri": "https://rubygems.org/gems/rails",
  "gem_uri": "https://rubygems.org/gems/rails-8.1.4.gem",
  "homepage_uri": "https://rubyonrails.org",
  "wiki_uri": null,
  "documentation_uri": "https://api.rubyonrails.org/v8.1.4/",
  "mailing_list_uri": "https://discuss.rubyonrails.org/c/rubyonrails-talk",
  "source_code_uri": "https://github.com/rails/rails/tree/v8.1.4",
  "bug_tracker_uri": "https://github.com/rails/rails/issues",
  "changelog_uri": "https://github.com/rails/rails/releases/tag/v8.1.4",
  "funding_uri": null,
  "dependencies": {
    "development": [],
    "runtime": [
      {
        "name": "actioncable",
        "requirements": "= 8.1.4"
      },
      {
        "name": "actionmailbox",
        "requirements": "= 8.1.4"
      },
      "… 11 more items"
    ]
  }
}

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Gem details

    Use RubyGems (rubygems) from fastCRW Pergamon, capability "Gem details" (gem). You have a Ruby gem name and need its current version, dependencies, licence or homepage in one call. Example options: name=rails. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "rubygems" and capability "gem". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Recently updated gems

    Use RubyGems (rubygems) from fastCRW Pergamon, capability "Recently updated gems" (just-updated). You want a live feed of gem releases from established projects, excluding brand-new first publications. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "rubygems" and capability "just-updated". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Latest version number

    Use RubyGems (rubygems) from fastCRW Pergamon, capability "Latest version number" (latest-version). You only need the current version string of a gem and want the cheapest possible call instead of the full gem record. Example options: name=rails. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "rubygems" and capability "latest-version". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Newest gems

    Use RubyGems (rubygems) from fastCRW Pergamon, capability "Newest gems" (newest-gems). You want to see what brand-new gems have just appeared on RubyGems, rather than updates to existing ones. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "rubygems" and capability "newest-gems". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

Licence

RubyGems.org publishes gem metadata through this documented public API. We pass it through and do not licence callers to rebuild the registry.

https://rubygems.org/pages/policies

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: RubyGems.org

Cache: up to 3600s