RubyGems.org API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read RubyGems.org. No RubyGems.org API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/rubygems_org.md and add Bowmark's RubyGems.org MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-rubygems-org https://api.bowmark.ai/mcp/site/rubygems_orgPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-rubygems-org": {
"url": "https://api.bowmark.ai/mcp/site/rubygems_org"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-rubygems-org","type":"http","url":"https://api.bowmark.ai/mcp/site/rubygems_org"}'Run this in a terminal.
codex mcp add bowmark-rubygems-org --url https://api.bowmark.ai/mcp/site/rubygems_orgIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/rubygems_orgIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/rubygems_orgAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/rubygems_orgFunctions
Open a function to see its parameters and run it with your own API key.
getGemReads one gem's latest release: version, downloads, licenses, runtime and development dependencies, links.POST /v1/sites/rubygems_org/getGem
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/rubygems_org/getGem \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"name":"rake"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.rubygems_org.getGem({ name: "rake" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.rubygems_org.getGem({"name": "rake"}))Responsereturns RubygemsGeminterface RubygemsDependency { name: string; requirements: string; } interface RubygemsGem { name: string; version: string | null; info: string | null; authors: string | null; totalDownloads: number | null; versionDownloads: number | null; licenses: string[]; projectUrl: string | null; homepageUrl: string | null; sourceCodeUrl: string | null; documentationUrl: string | null; platform: string | null; versionCreatedAt: string | null; sha: string | null; requiredRubyVersion: string | null; runtimeDependencies: RubygemsDependency[]; developmentDependencies: RubygemsDependency[]; bugTrackerUrl: string | null; changelogUrl: string | null; mailingListUrl: string | null; wikiUrl: string | null; }listGemVersionsLists every published version of a gem, newest first, with release date, downloads and platform.POST /v1/sites/rubygems_org/listGemVersions
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/rubygems_org/listGemVersions \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"name":"rake"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.rubygems_org.listGemVersions({ name: "rake" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.rubygems_org.listGemVersions({"name": "rake"}))Responsereturns RubygemsVersionPageinterface RubygemsVersion { number: string; platform: string | null; prerelease: boolean; createdAt: string | null; downloads: number | null; requiredRubyVersion: string | null; licenses: string[]; summary: string | null; sha: string | null; } interface RubygemsVersionPage { results: RubygemsVersion[]; // every published version, newest first total: number; page: number; pageCount: number; returned: number; // results.length warnings: string[]; }searchGemsSearches RubyGems.org for gems by name or keyword; returns version, downloads and links.POST /v1/sites/rubygems_org/searchGems
Parameters
{query: string, page?: number /* 1 up; default 1. 30 gems a page */}curl -X POST https://api.bowmark.ai/v1/sites/rubygems_org/searchGems \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"rails"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.rubygems_org.searchGems({ query: "rails" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.rubygems_org.searchGems({"query": "rails"}))Responsereturns RubygemsSearchPageinterface RubygemsGemHit { name: string; version: string | null; info: string | null; authors: string | null; totalDownloads: number | null; versionDownloads: number | null; licenses: string[]; projectUrl: string | null; homepageUrl: string | null; sourceCodeUrl: string | null; documentationUrl: string | null; } interface RubygemsSearchPage { results: RubygemsGemHit[]; // the gems this page carried, in the site's own order total: number | null; // exact on the last page; null on a full page, where the site prints no count page: number; pageCount: number | null; returned: number; // results.length warnings: string[]; // says the page is partial and names the next page when more may exist }