mcpField
H
Hive Consult

Hive Consult

Remote
hiveagentiq.comAI & Agents0Updated 26w ago

About Hive Consult

Hive Consult is a reasoning and decision-support service for agents, with tools for analysis and code or document review. It offers configurable reasoning depth through REST and MCP endpoints.

Key features

  1. 01Structured reasoning at three depths
  2. 02Trend, anomaly, forecast, and comparison analysis
  3. 03Weighted multi-criteria decisions
  4. 04Code, contract, document, and strategy review
  5. 05Batch consultations

Use cases

  1. 01Assessing options against weighted criteria
  2. 02Analyzing data trends or anomalies
  3. 03Reviewing code, contracts, or strategy

MCP support

Exposes an MCP-compatible JSON-RPC 2.0 endpoint at `/mcp`. MCP clients can discover and call tools for reasoning, analysis, decisions, and reviews.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://hiveconsult.onrender.com/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

4
ParameterTypeRequiredDescription
didstringYesAgent DID (did:hive:...)
domainstringNoOptional domain for specialized reasoning
contextstringNoOptional additional context
questionstringYesThe question or problem to reason about
reasoning_depthenumNoDepth of reasoning. quick=$0.01, standard=$0.05, deep=$0.25quick | standard | deep

Details

From the project README

HiveConsult

Agent-to-agent reasoning-as-a-service. Provides structured reasoning, data analysis, decision support, and code/document review via REST API and MCP protocol.

Endpoints

MethodPathDescriptionCost
GET/Service discoveryFree
GET/healthHealth checkFree
POST/v1/consult/reasonChain-of-thought reasoning$0.01–$0.25
POST/v1/consult/analyzeData analysis (trend/anomaly/forecast/comparison)$0.05
POST/v1/consult/decideDecision support with weighted criteria$0.05
POST/v1/consult/reviewCode/contract/document/strategy review$0.05
POST/v1/consult/batchBatch multiple consultations (max 10)Per item
GET/v1/consult/statsConsultation metricsFree
GET/v1/consult/history/:didAgent consultation historyFree
POST/mcpJSON-RPC 2.0 MCP endpointPer tool
GET/.well-known/ai-plugin.jsonAI plugin discoveryFree

Authentication

Internal (platform-to-platform):

x-hive-internal: <service_key>

Bypasses payment for inter-service calls.

External (agent-to-agent): Uses x402 micropayment protocol. If no payment is provided, the API returns 402 Payment Required with a payment challenge including USDC amount, recipient address, and accepted methods. Include payment proof in the X-Payment header.

Reasoning Depths

DepthCostStepsDescription
quick$0.013Fast heuristic analysis
standard$0.056Balanced reasoning with evidence weighing
deep$0.2512Exhaustive multi-perspective analysis

MCP Integration

HiveConsult exposes an MCP-compatible JSON-RPC 2.0 endpoint at /mcp.

Tool Discovery
POST /mcp
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list",
  "params": {}
}
Available MCP Tools
  • hiveconsult_reason — Structured reasoning with configurable depth
  • hiveconsult_analyze — Data analysis (trend, anomaly, forecast, comparison)
  • hiveconsult_decide — Multi-criteria decision support
  • hiveconsult_review — Code/contract/document/strategy review
Tool Invocation
POST /mcp
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "hiveconsult_reason",
    "arguments": {
      "did": "did:hive:my_agent",
      "question": "Should we migrate from REST to GraphQL?",
      "reasoning_depth": "standard",
      "domain": "architecture"
    }
  }
}

Quick Start

npm install
npm start

The server starts on port 3000 (configurable via PORT env var).

Example: Reasoning Request

curl -X POST http://localhost:3000/v1/consult/reason \
  -H "Content-Type: application/json" \
  -H "x-hive-internal: <service_key>" \
  -d '{
    "did": "did:hive:my_agent",
    "question": "What is the optimal caching strategy for a read-heavy API?",
    "reasoning_depth": "standard",
    "domain": "backend"
  }'

Example: Decision Support

curl -X POST http://localhost:3000/v1/consult/decide \
  -H "Content-Type: application/json" \
  -H "x-hive-internal: <service_key>" \
  -d '{
    "did": "did:hive:my_agent",
    "options": ["Redis", "Memcached", "CDN edge cache"],
    "criteria": ["latency", "cost", "complexity", "scalability"],
    "weights": [0.4, 0.2, 0.15, 0.25]
  }'

License

MIT


Hive Civilization

Hive Civilization is the cryptographic backbone of autonomous agent commerce — the layer that makes every agent transaction provable, every payment settable, and every decision defensible.

This repository is part of the PROVABLE · SETTABLE · DEFENSIBLE pillar.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.