6_mcp-server-rubygems

6_mcp-server-rubygems

0

This project is an MCP server designed to interface with the RubyGems.org API, providing tools and methods for querying and retrieving RubyGem metadata. It is useful for developers working with RubyGems and requires configuration for integration with clients like Claude Desktop.

mcp-server-rubygems Default

A Model Context Protocol server for fetching rubygems metadata via rubygems.org API.

Tools

This MCP server provides the following tools for interacting with the RubyGems.org API:

ToolDescription
get_rubygem_infoGet information about a RubyGem
search_rubygemsSearch for RubyGems matching a query string
get_gem_versionsGet all available versions of a specific RubyGem
get_gem_reverse_dependenciesGet gems that depend on a specific RubyGem
get_owner_gemsGet all RubyGems owned by a specific user or organization
get_gem_ownersGet the owners of a specific RubyGem

Usage

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-rubygems": {
      "command": "/path/to/mcp-server-rubygems/build/index.js"
    }
  }
}

It should be similar on MCP clients like Cursor, Cline, etc -- just add the command from above in your config.

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.