Hive Consult

io.github.srotzinPublished by GitHub account srotzinv1.0.0Updated Oct 25, 2026

Agent-to-agent reasoning-as-a-service: chain-of-thought, analysis, and decision support.

VerifiedStreamable HTTPWeb executableData & AnalyticsAI & ML

Overview

AI-generated overview

A remote reasoning-as-a-service endpoint that gives an assistant tools for structured chain-of-thought, data analysis, weighted decision support and document or

What you can do
Submit a question or problem for structured chain-of-thought reasoning, returning step-by-step analysis with a confidence score and recommendations, at configurable depth (quick, standard, deep).
When to use it
Use it when you want a second, structured opinion on a question, a set of data, a decision between weighted options, or a document or code review, without running your own reasoning pipeline.
Requirements
A remote MCP endpoint; no local runtime or package is needed. External agent calls use the x402 micropayment protocol: without payment the API returns 402 Payment Required with a USDC amount and recipient address, and payment proof goes in the X-Payment header. An internal x-hive-internal service key bypasses payment.
Before you install
Every consultation is paid: reasoning costs $0.01 to $0.25 depending on depth, and analysis, decision and review cost $0.05 each, settled in USDC via the x402 payment challenge. Questions, data, code and documents you submit are sent to a third-party service. The x-hive-internal service key is a secret and should not be shared.

Installation

In SourceWeft

  1. Open Hive Consult in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.srotzin%2Fhiveconsult/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "hive-consult": {
      "type": "http",
      "url": "https://hiveconsult.onrender.com/mcp"
    }
  }
}

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

json
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

json
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

bash
npm installnpm start

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

Example: Reasoning Request

bash
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

bash
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.

Source: README.md at commit 6965be6

Tools

4

hiveconsult_reason

Structured Reasoning

Submit a question or problem for structured chain-of-thought reasoning. Returns step-by-step analysis with confidence score and recommendations.

Parametersdidrequireddomaincontextquestionrequiredreasoning_depth

hiveconsult_analyze

Data Analysis

Analyze data for trends, anomalies, forecasts, or comparisons. Returns structured findings with confidence scores.

Parametersdidrequireddatarequiredanalysis_type

hiveconsult_decide

Decision Support

Decision support: rank options against weighted criteria. Returns scored and ranked options with reasoning.

Parametersdidrequiredoptionsrequiredweightscriteriarequired

hiveconsult_review

Content Review

Review code, contracts, documents, or strategies. Returns issues, recommendations, and risk score.

Parametersdidrequiredcontentrequiredreview_type

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts