npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rival-mcp

v1.0.2

Published

MCP server for querying AI model comparison data from rival.tips

Downloads

49

Readme

This server lets AI coding assistants — Claude Code, Cursor, Windsurf, and any MCP-compatible client — natively query model benchmarks, pricing, capabilities, and side-by-side comparisons without leaving your editor.

Quick Start

npx rival-mcp

No API key required. All data is served from the public rival.tips API.

Configuration

Claude Code

Add to your .claude/settings.json (project-level) or ~/.claude/settings.json (global):

{
  "mcpServers": {
    "rival": {
      "command": "npx",
      "args": ["-y", "rival-mcp"]
    }
  }
}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "rival": {
      "command": "npx",
      "args": ["-y", "rival-mcp"]
    }
  }
}

Cursor

Add to your Cursor MCP settings (.cursor/mcp.json):

{
  "mcpServers": {
    "rival": {
      "command": "npx",
      "args": ["-y", "rival-mcp"]
    }
  }
}

Windsurf

Add to your Windsurf MCP config:

{
  "mcpServers": {
    "rival": {
      "command": "npx",
      "args": ["-y", "rival-mcp"]
    }
  }
}

Available Tools

list-models

List all AI models with optional filtering.

Parameters: | Parameter | Type | Description | |-----------|------|-------------| | provider | string (optional) | Filter by provider: OpenAI, Anthropic, Google, Meta, Mistral, etc. | | category | string (optional) | Filter by category: flagship, reasoning, coding, small, free, image-gen | | capability | string (optional) | Filter by capability: chat, code, vision, image-gen, function-calling | | q | string (optional) | Free-text search across name, ID, provider, and description |

Example prompts:

  • "List all Anthropic models"
  • "Show me free models"
  • "What models support vision?"

get-model

Get detailed information about a specific model — benchmarks, pricing, capabilities, unique features, and provider availability.

Parameters: | Parameter | Type | Description | |-----------|------|-------------| | id | string (required) | Model ID, e.g. gpt-4.1, claude-3.7-sonnet, gemini-2.5-pro |

Example prompts:

  • "Get details on claude-3.7-sonnet"
  • "What are the benchmarks for gpt-4.1?"

compare-models

Compare 2-3 models side by side — benchmarks, pricing, capabilities, and shared challenges.

Parameters: | Parameter | Type | Description | |-----------|------|-------------| | models | string (required) | Comma-separated model IDs (2-3). Example: gpt-4.1,claude-3.7-sonnet |

Example prompts:

  • "Compare GPT-4.1 vs Claude 3.7 Sonnet"
  • "How does Gemini 2.5 Pro stack up against GPT-4.1 and Claude Sonnet?"

search-models

Search for models by name, description, or capability when you don't know the exact model ID.

Parameters: | Parameter | Type | Description | |-----------|------|-------------| | query | string (required) | Search query, e.g. vision, cheap coding, fast reasoning |

Example prompts:

  • "Find models good at coding"
  • "Search for cheap reasoning models"

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Run the built server
npm start

How It Works

This MCP server communicates over stdio (standard input/output) using the Model Context Protocol. When an AI assistant needs model comparison data, it calls the appropriate tool, which fetches data from the rival.tips public API and returns structured JSON.

The server exposes no resources or prompts — only tools. All data is read-only and publicly available.

Data Source

All model data comes from rival.tips, an AI model comparison platform featuring:

  • 60+ AI models with benchmarks, pricing, and capability data
  • Side-by-side comparisons with shared challenge responses
  • Community-driven AI duel voting and rankings
  • Pre-generated showcase responses across coding, creative, and reasoning tasks

License

MIT