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

rapidapi-mcp-server

v1.0.1

Published

MCP server for discovering and assessing APIs from RapidAPI marketplace

Readme

RapidAPI MCP Server

An MCP (Model Context Protocol) server that enables API discovery and assessment from the RapidAPI marketplace through web automation.

Features

  • Search APIs: Find APIs by keyword and category
  • Assess APIs: Get comprehensive details including ratings, pricing, and endpoints
  • Get Documentation: Extract documentation links and endpoint information
  • Compare APIs: Side-by-side comparison of multiple APIs

Installation

Quick Start with npx

No installation required - use directly with npx:

npx -y rapidapi-mcp-server

Install Globally

npm install -g rapidapi-mcp-server

Usage

MCP Server Configuration

Claude Desktop Configuration

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

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

VS Code Configuration

For VS Code with MCP support, add a .vscode/mcp.json file to your workspace:

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

Alternative: Global Installation

If you prefer global installation:

{
  "mcpServers": {
    "rapidapi": {
      "command": "rapidapi-mcp-server"
    }
  }
}

Available Tools

search_apis

Search for APIs in the RapidAPI marketplace.

Parameters:

  • query (string): Search term (e.g., "weather", "crypto")
  • category (string, optional): Filter by category
  • maxResults (number, optional): Max results (1-50, default: 20)

assess_api

Get comprehensive assessment of a specific API.

Parameters:

  • apiUrl (string): RapidAPI URL for the specific API

get_api_documentation

Extract documentation and endpoint information.

Parameters:

  • apiUrl (string): RapidAPI URL for the specific API

compare_apis

Compare multiple APIs side by side.

Parameters:

  • apiUrls (array): 2-5 RapidAPI URLs to compare

Development

Setup

# Clone and install dependencies
npm install

# Build the project
npm run build

# Run tests
npm test

# Development mode
npm run dev

Environment Variables

  • PUPPETEER_EXECUTABLE_PATH: Custom Chrome/Chromium executable path (optional)

Testing

# Run all tests
npm test

# Run unit tests only
npm run test:unit

# Run integration tests only
npm run test:integration

# Run with coverage
npm run test:coverage

Examples

Search for Weather APIs

// Using the search_apis tool
{
  "query": "weather",
  "category": "Weather",
  "maxResults": 10
}

Assess a Specific API

// Using the assess_api tool
{
  "apiUrl": "https://rapidapi.com/weatherapi/api/weatherapi-com"
}

Compare Multiple APIs

// Using the compare_apis tool
{
  "apiUrls": [
    "https://rapidapi.com/weatherapi/api/weatherapi-com",
    "https://rapidapi.com/visual-crossing-corporation/api/visual-crossing-weather"
  ]
}

Architecture

The server follows a modular architecture:

  • MCP Protocol Layer: Handles tool registration and request/response formatting
  • Business Logic: API search orchestration and assessment coordination
  • Web Automation: Browser management and anti-detection measures
  • Data Extraction: Parsing and structuring data from RapidAPI pages

Limitations

  • Requires a browser (Chrome/Chromium) for web automation
  • Subject to RapidAPI's rate limiting and anti-bot measures
  • Performance depends on network conditions and page load times
  • May require updates if RapidAPI changes their page structure

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Ensure all tests pass
  6. Submit a pull request

License

ISC

Support

For issues and feature requests, please use the GitHub issue tracker.