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

realtime-crypto-mcp-server

v1.0.0

Published

A real-time cryptocurrency data provider for Model Context Protocol (MCP) servers. This package integrates with the CoinCap API to provide cryptocurrency exchange details and current rates.

Readme

realtime-crypto-mcp-server

A real-time cryptocurrency data provider for Model Context Protocol (MCP) servers. This package integrates with the CoinCap API to provide cryptocurrency exchange details and current rates.

Version License

Features

  • Get detailed cryptocurrency exchange information (volumes, rankings, trading pairs)
  • Fetch current cryptocurrency rates in USD
  • Built-in rate limiting and retry mechanisms for API requests
  • Fully typed with TypeScript
  • Compatible with MCP server SDK

🚀 Quick Start

To get started, add this configuration to your MCP Client config json:

{
  "mcpServers": {
    "realtime-crypto": {
      "command": "npx",
      "args": ["realtime-crypto-mcp-server"]
    }
  }
}

Prerequisites

  • Node.js 18+
  • npx

Development

Install dependencies:

npm install

Build the server:

npm run build

Crypto Exchange & Rates Toolkit

This package provides tools to retrieve detailed information about cryptocurrency exchanges and current exchange rates for cryptocurrencies using the CoinCap API.


API Reference

getExchangeDetailsTool

Get detailed information about cryptocurrency exchanges.

Input:

  • exchange (string): Exchange ID (e.g., binance, coinbase, kraken)

Example Response: Exchange details for Binance:

Name: Binance
Rank: 1
Volume (USD): $14,789,244,354.70
% of Total Volume: 31.39%
Trading Pairs: 1078
Website: https://www.binance.com/
Last Updated: 4/5/2025, 12:34:56 PM


getRatesTool

Get current exchange rates for cryptocurrencies.

Input:

  • currency (string): Cryptocurrency ID (e.g., bitcoin, ethereum, litecoin)

Example Response: Current rate for bitcoin:

Symbol: BTC ₿ Type: crypto USD Rate: $82,821.30


🧠 Data Source

This package uses data from the CoinCap API, a free cryptocurrency market data API that provides real-time pricing and market activity for over 1,000 cryptocurrencies.


⏱️ Rate Limiting

The package includes built-in rate limiting and retry mechanisms to handle CoinCap API's rate limits.

  • Maximum 3 retries for rate-limited requests
  • Exponential backoff starting at 1 second

📄 License

MIT


👨‍💻 Author

Mohan Kumar


🙏 Acknowledgements

  • CoinCap API for providing cryptocurrency market data
  • Model Context Protocol for the MCP server framework