Hive Compute

HiveCompute MCP Server — decentralized inference router for AI agents

Should I use this

Quality & Safety

A
Description quality
94%
Schema completeness
98%
Naming quality
70%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (6)

  • LOWTool 'compute.list_models' description lacks action verbin compute.list_models
  • LOWTool 'compute.chat' doesn't follow camelCase/snake_casein compute.chat
  • LOWTool 'compute.embed' doesn't follow camelCase/snake_casein compute.embed
  • LOWTool 'compute.list_models' doesn't follow camelCase/snake_casein compute.list_models
  • LOWTool 'compute.estimate_cost' doesn't follow camelCase/snake_casein compute.estimate_cost
  • LOWTool 'compute.get_usage' doesn't follow camelCase/snake_casein compute.get_usage

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,081Tokens (tool definitions)
~1.8 KBTypical response size
Moderate attention impact (0.84% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "hive-mcp-compute": {
      "url": "https://hive-mcp-compute.onrender.com/mcp"
    }
  }
}

Remote endpoints

https://hive-mcp-compute.onrender.com/mcpstreamable-http
https://hive-mcp-gateway.onrender.com/compute/mcpstreamable-http

What it can do

Tool inventory

Tools (5)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟡compute.chat(messages, model, max_tokens, temperature, max_cost_usdc, ...)

Run inference via Hive's OpenAI-compatible router. Submit a prompt or message array to any available model. Billed per input+output token in USDC on Base L2. Hive routes to the cheapest available model meeting your latency and quality spec.

Input Schema

{
  "type": "object",
  "properties": {
    "messages": {
      "type": "array",
      "description": "OpenAI-compatible messages array. Each item must have role (system|user|assistant) and content (string).",
      "items": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "description": "Message role. One of: system, user, assistant."
          },
          "content": {
            "type": "string",
            "description": "Message content text."
          }
        }
      }
    },
    "model": {
      "type": "string",
      "description": "Specific model to use (e.g. gpt-4o, claude-3-5-sonnet, llama-3-70b). Omit to let Hive auto-route to the cheapest qualifying model."
    },
    "max_tokens": {
      "type": "integer",
      "description": "Maximum tokens to generate in the response. Default 512."
    },
    "temperature": {
      "type": "number",
      "description": "Sampling temperature between 0.0 and 2.0. Default 0.7."
    },
    "max_cost_usdc": {
      "type": "number",
      "description": "Hard cap on USDC spend for this inference call. Request rejected if estimated cost exceeds this. Default 0.05."
    },
    "did": {
      "type": "string",
      "description": "Agent DID (e.g. did:hive:xxxx). USDC billed to this agent's Hive wallet."
    },
    "api_key": {
      "type": "string",
      "description": "Agent API key issued by HiveGate. Required for authenticated inference."
    }
  },
  "required": [
    "messages",
    "did",
    "api_key"
  ]
}
⚪compute.embed(input, model, dimensions, did, api_key)

Generate vector embeddings via Hive's embedding router. Billed per 1K input tokens in USDC on Base L2. Returns a float array suitable for semantic search, clustering, or RAG pipelines.

Input Schema

{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "Text to embed. Pass a string for a single embedding or use the batch endpoint for multiple inputs."
    },
    "model": {
      "type": "string",
      "description": "Embedding model to use. Defaults to text-embedding-3-small. Options: text-embedding-3-small, text-embedding-3-large, embed-multilingual-v3."
    },
    "dimensions": {
      "type": "integer",
      "description": "Desired embedding dimensions. Must be supported by the selected model."
    },
    "did": {
      "type": "string",
      "description": "Agent DID. Billing is per 1K tokens."
    },
    "api_key": {
      "type": "string",
      "description": "Agent API key issued by HiveGate."
    }
  },
  "required": [
    "input",
    "did",
    "api_key"
  ]
}
🟢compute.list_models(family, max_price_per_1m)

Browse all models available through the Hive inference router — including per-token pricing in USDC, context window size, latency tier, and provider. No authentication required.

Input Schema

{
  "type": "object",
  "properties": {
    "family": {
      "type": "string",
      "description": "Filter by model family. One of: gpt-4, claude-3, llama-3, mistral, gemini, embed."
    },
    "max_price_per_1m": {
      "type": "number",
      "description": "Filter to models priced below this amount per 1M tokens in USDC."
    }
  }
}
🟢compute.estimate_cost(prompt, model, max_output_tokens)

Estimate the USDC cost for a prompt before running inference. Returns cost breakdown by input tokens, output tokens, and routing fee. Helps agents budget before committing a payment.

Input Schema

{
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "description": "The prompt text to estimate cost for. Tokenized to determine input token count."
    },
    "model": {
      "type": "string",
      "description": "Model to estimate cost for. Use compute.list_models to browse available models and their per-token prices."
    },
    "max_output_tokens": {
      "type": "integer",
      "description": "Assumed maximum output tokens for cost estimation. Default 512."
    }
  },
  "required": [
    "prompt",
    "model"
  ]
}
🟢compute.get_usage(did, api_key, limit, since)

Get an agent's compute usage history — total tokens consumed, total USDC spent, breakdown by model, and inference call log with timestamps.

Input Schema

{
  "type": "object",
  "properties": {
    "did": {
      "type": "string",
      "description": "Agent DID to fetch usage history for."
    },
    "api_key": {
      "type": "string",
      "description": "Agent API key for authentication."
    },
    "limit": {
      "type": "integer",
      "description": "Number of recent inference calls to return. Default 20, max 200."
    },
    "since": {
      "type": "string",
      "description": "ISO 8601 timestamp to filter usage from (e.g. 2025-01-01T00:00:00Z). Optional."
    }
  },
  "required": [
    "did",
    "api_key"
  ]
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded5 tools
failed observationversion not recorded—
verifiedversion not recorded5 tools