hashrate
Pack: mempool-space · Endpoint: https://gateway.pipeworx.io/mempool-space/mcp
Network hashrate + difficulty history.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
period | string | no | 1d | 3d | 1w | 1m | 3m | 6m | 1y | 2y | 3y | all (default 3m) |
network | string | no |
Example call
Arguments
{
"period": "1w"
}
curl
curl -X POST https://gateway.pipeworx.io/mempool-space/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hashrate","arguments":{"period":"1w"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('hashrate', {
"period": "1w"
});
More examples
{
"period": "1y",
"network": "mainnet"
}
Response shape
| Field | Type | Description |
|---|---|---|
hashrates | array | Historical hashrate data |
Full JSON Schema
{
"type": "object",
"properties": {
"hashrates": {
"type": "array",
"description": "Historical hashrate data",
"items": {
"type": "object",
"properties": {
"timestamp": {
"type": "number",
"description": "Unix timestamp"
},
"difficulty": {
"type": "number",
"description": "Mining difficulty"
},
"hashrate": {
"type": "number",
"description": "Network hashrate in H/s"
}
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"mempool-space": {
"url": "https://gateway.pipeworx.io/mempool-space/mcp"
}
}
}
See Getting Started for client-specific install steps.