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

startmining-mcp

v1.0.4

Published

MCP server for Bitcoin mining data - hashprice, difficulty, profitability calculations

Readme

@startmining/mcp-server

MCP (Model Context Protocol) server for Bitcoin mining data. Get real-time hashprice, difficulty, profitability calculations, and more.

🚀 Features

  • Real-time market data — BTC price, hashprice, difficulty, network stats
  • Profitability calculator — Calculate ROI for any ASIC setup
  • Historical data — Price and difficulty history since 2009
  • Halving tracker — Current era, next halving, supply stats
  • Mempool & blocks — Fee estimates and recent blocks
  • ASIC prices — Market prices by efficiency tier

📦 Installation

npm install -g @startmining/mcp-server

Or use directly with npx:

npx @startmining/mcp-server

⚙️ Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "startmining": {
      "command": "npx",
      "args": ["@startmining/mcp-server"]
    }
  }
}

With API Key (optional, for higher rate limits)

{
  "mcpServers": {
    "startmining": {
      "command": "npx",
      "args": ["@startmining/mcp-server"],
      "env": {
        "STARTMINING_API_KEY": "your_api_key"
      }
    }
  }
}

🛠️ Available Tools

| Tool | Description | |------|-------------| | get_market_data | Current BTC price, hashprice, difficulty, network stats | | get_hashprice | Hashprice breakdown ($/PH/day) | | get_difficulty | Current difficulty + next adjustment prediction | | get_halving_info | Halving era, next date, supply stats | | get_price_history | Historical BTC prices (from, to, granularity) | | get_difficulty_history | Historical difficulty & hashrate | | calculate_profitability | Mining profitability for given setup | | calculate_breakeven | Breakeven BTC price | | get_mempool | Mempool status & fee estimates | | get_recent_blocks | Recent blocks info | | get_asic_prices | ASIC market prices by efficiency |

💡 Example Queries

Once configured, you can ask Claude:

  • "What's the current hashprice?"
  • "Calculate profitability for an S21 (200 TH/s, 3500W) at $0.05/kWh"
  • "When is the next halving?"
  • "Show me BTC price history for last month"
  • "What's the mempool fee situation?"

📊 Data Sources

  • Price data: Internal database (since 2009-01-03)
  • Network data: Direct Bitcoin Core node
  • Calculations: Real-time based on current conditions

🔗 Links

📄 License

MIT © Startmining