# Minerstat — how to use (mcp.ai)

Connect your Minerstat account and use 5 tools for server monitoring straight from your AI agent. Connect with your own API key. minerstat is a comprehensive crypto mining monitoring and management platform offering tools for mining operations, including APIs for coins, hardware, pools, management, and monitoring.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_minerstat?ms=1787293440000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `minerstat_get_coins_data`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/minerstat`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/minerstat/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/minerstat/get/coins/data` — Retrieves mining coin data from minerstat API including hashrates, difficulty, rewards, and prices. Use this tool to get current mining statistics for cryptocurrencies. You can filter results by speci
  - body: { algo?: string, list?: string }
- `POST https://api.mcp.ai/api/minerstat/get/hardware/data` — Retrieve mining hardware data from minerstat including hashrates, power consumption, and specifications. Use this tool to get benchmark data for GPUs and ASIC miners to compare mining performance acro
  - body: { type?: string, brand?: string }
- `POST https://api.mcp.ai/api/minerstat/get/pools/data` — Retrieve mining pool data from minerstat. Requires an authenticated minerstat connection. Returns a list of mining pools with their supported coins, fees, payout thresholds, and other details. Use to 
  - body: { coin?: string, pool_type?: string }
- `POST https://api.mcp.ai/api/minerstat/get/worker/activity` — Retrieve activity logs for a specific worker for the last 3 days. Returns online/offline events, errors, and other activity for troubleshooting worker uptime issues or auditing worker behavior. The AP
  - body: { worker: string, timezone?: string }
- `POST https://api.mcp.ai/api/minerstat/get/worker/data` — Retrieve detailed real-time data for a specific mining worker. This tool fetches comprehensive information about a worker including: - Current status (online/offline/idle) - Hardware info (GPUs/ASICs 
  - body: { worker: string }

## Example prompts
- "What can I do in Minerstat?"
- "Show me a summary of my Minerstat account"

## More
- Page: https://mcp.ai/minerstat
- Agent spec (llms.txt): https://mcp.ai/minerstat/llms.txt
- Postman collection: https://mcp.ai/minerstat/postman.json
