mineryield-mcp
Provides access to cached NiceHash paying rates by algorithm and includes NiceHash daily revenue estimates for saved mining rigs when an applicable rate exists.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mineryield-mcpI have 10 kW solar and a 20 kWh battery—which miner earns most per day?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mineryield-mcp
MinerYield is for home miners and small businesses with solar and battery in the numbers. This MCP server (and the hosted endpoint at https://mineryield.com/mcp) exposes the same leftover-watt solar / battery / grid model the site calculator already uses. Tools call https://mineryield.com/api/v1/**. They do not reimplement profitability math.
Ask an assistant:
"I have a 10 kW solar array and a 20 kWh battery, which miner makes the most per day?"
"a 3 kW miner on solar by day, grid at $0.15/kWh at night"
list_miners answers the first (optional solarW=10000, batteryCapacity=20, sort PROFIT/DAY). calculate_profitability answers the second (power=3000, elecCost=0.15, powerSources={solar:true, battery:false, grid:true}).
Figures are model estimates from live market and weather inputs. They are estimates only, not investment, financial, or tax advice, not ROI guarantees, and not hardware telemetry. Results vary with network difficulty, coin price, power cost, and hardware performance. Do your own research.
Admin routes (/api/v1/admin/*) are not exposed.
Requirements: Node.js 22 or newer.
Hosted endpoint: https://mineryield.com/mcp (Streamable HTTP, Authorization: Bearer <key>). Setup page: mineryield.com/ai/.
Registry name: io.github.nadeaup/mineryield-mcp
What's supported (existing site calculator)
No new calculation logic. These are the site calculator inputs the tools already forward:
Input | Units | Meaning |
| Watts ( | Array capacity. Solar generation is treated as free during the Peak Sun Hours window. |
| kWh ( | Storage. Excess daytime solar charges it; it covers night hours before grid. |
| 5-digit US ZIP | Peak Sun Hours. Defaults to the API-key owner profile, then a server default. |
| USD / kWh ( | One leftover-grid rate. There is no separate day/night tariff: solar covers the sun window, leftover night kWh use this price when |
|
| Which legs to use. |
On GET /api/v1/miners / list_miners, query values override the API-key owner profile. Sending solarW without solar=false turns solar on; sending batteryCapacity without battery=false turns battery on.
get_solar_forecast is weather-based array production only (zipCode + capacityW). Pair it with list_miners or calculate_profitability for miner profit.
Related MCP server: PVGIS MCP
API key
Create a Bearer API key while signed in at mineryield.com/api. Set it as MINERYIELD_API_KEY. Never commit it.
Optional: MINERYIELD_API_BASE_URL (defaults to https://mineryield.com).
Setup walkthrough: Use MinerYield in your AI assistant.
npx (recommended)
export MINERYIELD_API_KEY="your-key"
npx -y mineryield-mcpLocal Streamable HTTP (for debugging a hosted-style client):
npx -y mineryield-mcp --http --port 3333npm package
npm install -g mineryield-mcp
export MINERYIELD_API_KEY="your-key"
mineryield-mcpFrom this repository:
npm install
npm run build
export MINERYIELD_API_KEY="your-key"
npm startClaude Desktop
Add to claude_desktop_config.json (Claude → Settings → Developer):
{
"mcpServers": {
"mineryield": {
"command": "npx",
"args": ["-y", "mineryield-mcp"],
"env": {
"MINERYIELD_API_KEY": "your-key"
}
}
}
}Or connect Claude to the hosted endpoint https://mineryield.com/mcp with Authorization: Bearer your-key.
Cursor
This repository also ships .cursor-plugin/plugin.json and a root mcp.json (runs npx -y mineryield-mcp).
Published package / npx snippet for Cursor MCP settings:
{
"mcpServers": {
"mineryield": {
"command": "npx",
"args": ["-y", "mineryield-mcp"],
"env": {
"MINERYIELD_API_KEY": "your-key"
}
}
}
}Hosted Streamable HTTP:
{
"mcpServers": {
"mineryield": {
"url": "https://mineryield.com/mcp",
"headers": {
"Authorization": "Bearer your-key"
}
}
}
}ChatGPT and other MCP clients
Use Streamable HTTP:
URL:
https://mineryield.com/mcpAuth:
Authorization: Bearer <MINERYIELD_API_KEY>Discovery:
https://mineryield.com/.well-known/mcp.json
ChatGPT (Connectors / custom MCP), Claude remote MCP, and Grok custom connectors all accept that URL plus the Bearer header. Public tools still require the key on the hosted endpoint so per-key rate limits and quotas apply.
OpenAPI remains the HTTP contract: mineryield.com/swagger.yaml.
Tools
Tool | HTTP | Auth | Purpose |
|
| Bearer API key | Rank catalog ASICs by daily profit for a home/small-business solar+battery+grid setup. Optional |
|
| Bearer API key | Saved My Rigs plus per-unit estimates (includes NiceHash daily revenue when a rate exists) |
|
| Bearer API key | One-machine leftover-watt model ( |
|
| Bearer API key | Live spot prices (BTC, BCH, LTC, DOGE, ZEC, KAS, CKB, RXD, SC, DCR, DASH, GRIN, ALPH, XTM, ETC, XMR, ALEO, HNS, BTCB2, KDA, NEXA, XP, QUAI, ARRR, OCTA, ETHW, QKC, MWC, SCP) |
|
| Bearer API key | 7-day solar production estimate ( |
|
| Bearer API key | 7-day difficulty trend ( |
|
| Public | Specs-only ASIC catalog (Kadena, NexaPow, XPHash, ALEO, ALPH, SHA-256 QUAI-capable SKUs). Goldshell HS-Lite is one row with dual |
|
| Public | Cached Mining Rig Rentals algorithm rates. NexaPow maps to |
|
| Public | Cached NiceHash paying rates (sat/H/day). SHA3X, zkSNARK, Blake256R14, Kadena, and XPHash have no NiceHash book. |
|
| Public | Full market payload used by the web app (includes KDA/NEXA/XP/QUAI/ARRR/OCTA/ETHW/QKC/MWC/SCP prices + nethash/difficulty; new-coin and XP fields may be omitted) |
calculate_profitability body
Matches POST /api/v1/calculator in the OpenAPI spec:
Field | Required | Notes |
| yes | Catalog units (TH/s for SHA-256 and Kadena, GH/s for NexaPow and XPHash, MH/s for Scrypt) |
| yes | Watts ( |
| yes | Catalog name ( |
| yes | USD / kWh leftover-grid rate |
| no | Array watts |
| no | 5-digit US ZIP for Peak Sun Hours |
| no | USD, used for estimated payback days |
| no | kWh |
| no |
|
| no | e.g. BTC/BCH/QUAI, SC/BTCB2, BTCB2/SC, ZEC/ARRR, ETC/OCTA/ETHW/QKC, DCR/SCP. Blake2B-SHA3 is HNS only; Cuckatoo31 is MWC only; Cuckatoo32 is GRIN only. Scrypt reports LTC/DOGE (merged). When omitted, the most profitable supported coin is used except Ethash4G, which defaults to ETC. |
API-key management (not a tool)
GET / POST / DELETE /api/v1/api-keys require a Firebase ID token from a signed-in browser session, not the Bearer API key. Creating or revoking keys from an agent is not part of this default tool set. Use the site at /api.
Example prompts
"I have a 10 kW solar array and a 20 kWh battery, which miner makes the most per day?"
"a 3 kW miner on solar by day, grid at $0.15/kWh at night"
"List MinerYield catalog ASICs and show name, algorithm, hashrate, and watts."
"Estimate daily profit for a 200 TH/s, 3500 W SHA-256 miner at $0.12/kWh with 10 kW solar in ZIP 10001. This is a model estimate, not a guarantee."
"Estimate daily profit for a Bitmain KA3 (166 TH/s Kadena) at $0.12/kWh."
"Calculate SHA-256 profitability for 200 TH/s with preferredCoin QUAI."
"What are the current MinerYield spot prices for BCH, KAS, ETC, XMR, and QUAI?"
"Get a 7-day difficulty prediction for KDA."
"Get a 7-day solar forecast for ZIP 85001 with a 8 kW array."
"Show my saved MinerYield rigs and their estimated daily profit."
Tests
npm install
npm testHosted Streamable HTTP
Production endpoint: https://mineryield.com/mcp
Bearer API-key auth uses the same key store as /api/v1. Admin routes and tools are not mounted. Per-key and per-IP rate limits apply at this surface; tool calls then consume the usual monthly API quota on the REST API.
Discovery:
https://mineryield.com/.well-known/mcp.json (same document as
/mcp-discovery.json)
License
This server cannot be deployed
Maintenance
Related MCP Connectors
Unlock the power of real-time cryptocurrency data with our Crypto Price Insights MCP server.
Public remote MCP server for Walnai AI Consulting services, pricing, calculator, FAQs, and adoption.
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
PJM/MISO energy arbitrage. Intel TDX attested, on-chain every 60 min. MCP tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to look up solar permitting authorities, estimate solar production via PVWatts, and retrieve irradiance data. It streamlines the creation of solar-aware workflows by integrating industry-standard APIs like NREL.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that estimates photovoltaic production using the European Commission's PVGIS API, deployed on Cloudflare Workers for serverless, free-tier operation.543 npmMIT
- FlicenseNot gradedqualityCmaintenanceA read-only MCP server that exposes European day-ahead electricity prices for ~41 bidding zones via tools like hourly prices, cheapest hours, current price, and cross-zone summary, enabling AI agents to query energy market data.1-
- AlicenseAqualityAmaintenanceMCP server that connects to Felicity Solar cloud battery data, allowing natural language queries about battery status, cell voltages, and charge state.17196 npm1MIT