🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@bighub/bighub-mcp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bighub/bighub-mcp

MCP server for decision learning for AI agent actions with BIGHUB.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

@bighub/bighub-mcp

BIGHUB's decision layer as an MCP server. Evaluate agent actions, receive structured recommendations, report outcomes, and improve future decisions — from any MCP-compatible client.

MCP server for decision learning on agent actions.

MCP client
   ↓
@bighub/bighub-mcp
   ↓
BIGHUB API
   ↓
evaluate → recommend → agent acts → report outcome → learn

Table of contents

Start here

  • Install
  • Quickstart
  • When to use bighub-mcp
  • Typical MCP Loop
  • Structured recommendation
  • Trajectory-aware evaluation

Tool reference

Reference

Install

npm install @bighub/bighub-mcp

Requires Node.js 18+.

Quickstart

Set your API key:

export BIGHUB_API_KEY=your_api_key

Run the server in stdio mode:

npx @bighub/bighub-mcp

Add it to your MCP client configuration:

{
  "mcpServers": {
    "bighub": {
      "command": "npx",
      "args": ["@bighub/bighub-mcp"],
      "env": {
        "BIGHUB_API_KEY": "your_api_key"
      }
    }
  }
}

Works with MCP-compatible clients such as Claude Desktop and Cursor.

When to use bighub-mcp

Use this server when your MCP-connected agent performs actions that:

  • Have real consequences — financial, operational, or reputational impact
  • Are ambiguous or multi-step — the right call depends on context and trajectory
  • Produce observable outcomes — you can report what actually happened
  • Need to improve over time — static instructions aren't enough

If your agent only answers questions or performs read-only lookups, you don't need this. It's designed for agents that make decisions with real-world consequences.

Typical MCP Loop

  • Submit a decision for evaluation
  • Receive a recommendation and decision signals
  • Let the agent or runtime act
  • Report the real outcome
  • Inspect similar past cases and calibration
  • Use what was learned on the next decision
bighub_actions_evaluate
→ agent runtime acts based on recommendation
→ bighub_outcomes_report
→ bighub_precedents_query
→ bighub_calibration_report
→ bighub_insights_advise

Structured recommendation

Every evaluation returns a structured recommendation — not just allow / block:

FieldDescription
recommendationproceed, proceed_with_caution, review_recommended, do_not_proceed
recommendation_confidencehigh, medium, low
risk_scoreAggregated risk (0–1)
enforcement_modeadvisory, review, enforced
decision_intelligenceRationale, evidence status, trajectory health, alternatives

Legacy fields (allowed, result, reason) may still appear for backward compatibility but are not the primary surface.

Trajectory-aware evaluation

BIGHUB evaluates actions not only in isolation, but also in the context of what happened before. As outcomes accumulate, similar sequences and prior decisions improve future recommendations.

Complete Tool Reference

125 tools organized by domain. The core loop tools are listed first.

Core loop

ToolDescription
bighub_actions_evaluateSubmit an action for evaluation — returns recommendation, confidence, risk score
bighub_outcomes_reportReport what actually happened after execution
bighub_precedents_queryQuery similar past cases
bighub_calibration_reportCalibration report (prediction vs reality)
bighub_insights_adviseLearned advisories for an action

Actions

ToolDescription
bighub_actions_evaluateEvaluate an action (primary entry point)
bighub_actions_evaluate_payloadEvaluate with a free-form payload
bighub_actions_evaluate_batchEvaluate multiple actions in one request
bighub_actions_dry_runNon-persistent evaluation (preview)
bighub_actions_live_connectOpen a live connection slot
bighub_actions_live_heartbeatHeartbeat a live connection
bighub_actions_live_disconnectClose a live connection
bighub_actions_verify_validationVerify a validation hash
bighub_actions_observer_statsObserver statistics
bighub_actions_dashboard_summaryDashboard summary metrics
bighub_actions_statusService status
bighub_actions_memory_ingestIngest decision memory events
bighub_actions_memory_contextRetrieve memory context
bighub_actions_memory_refresh_aggregatesRefresh memory aggregates
bighub_actions_memory_recommendationsPattern-based recommendations from memory

Outcomes

ToolDescription
bighub_outcomes_reportReport a real-world outcome
bighub_outcomes_report_batchBatch report outcomes
bighub_outcomes_getGet outcome by request_id
bighub_outcomes_get_by_validationGet outcome by validation_id
bighub_outcomes_get_by_caseGet outcome by case_id
bighub_outcomes_timelineFull outcome timeline
bighub_outcomes_pendingDecisions awaiting outcomes
bighub_outcomes_analyticsOutcome analytics summary
bighub_outcomes_taxonomySupported outcome statuses
bighub_outcomes_recommendation_qualityFollow rate, quadrants, trend, by domain/actor
bighub_outcomes_partner_viewSelf-contained domain view with KPIs and examples

Decision cases

ToolDescription
bighub_cases_createCreate a decision case
bighub_cases_getGet a case by ID
bighub_cases_listList and filter cases
bighub_cases_report_outcomeReport outcome for a case
bighub_cases_precedentsPrecedent intelligence for a proposed action
bighub_cases_calibrationCalibration metrics for cases

Precedents

ToolDescription
bighub_precedents_queryQuery similar past cases
bighub_precedents_signalsAggregated precedent signals
bighub_precedents_statsPrecedent index statistics

Calibration

ToolDescription
bighub_calibration_reportCalibration report
bighub_calibration_reliabilityReliability diagram data
bighub_calibration_driftCalibration drift over time
bighub_calibration_breakdownBreakdown by domain or tool
bighub_calibration_feedbackCalibration feedback signals
bighub_calibration_observeSubmit a calibration observation
bighub_calibration_quality_historyDaily quality score over time

Multi-signal retrieval

ToolDescription
bighub_retrieval_queryMulti-signal precedent retrieval
bighub_retrieval_query_explainedRetrieval with explanation trace
bighub_retrieval_strategiesList available strategies
bighub_retrieval_strategyGet one strategy's details
bighub_retrieval_index_caseManually index a case
bighub_retrieval_compareCompare two strategies
bighub_retrieval_statsRetrieval index statistics

Insights

ToolDescription
bighub_insights_adviseLearned advisories for an action
bighub_insights_patternsDiscovered risk patterns
bighub_insights_learnLearning refresh
bighub_insights_profileAction/tool profile

Simulations

ToolDescription
bighub_simulations_listList simulation snapshots
bighub_simulations_getGet a snapshot
bighub_simulations_by_requestGet snapshot by request
bighub_simulations_compareCompare predicted vs actual
bighub_simulations_accuracyDomain-level accuracy
bighub_simulations_statsSimulation statistics

Learning

ToolDescription
bighub_learning_strategyCurrent learning strategy
bighub_learning_runsRecent learning runs
bighub_learning_recomputeTrigger learning recomputation
bighub_learning_backfillBackfill learning artifacts

Features

ToolDescription
bighub_features_computeCompute features for an action
bighub_features_compute_batchBatch feature computation
bighub_features_snapshotCreate a feature snapshot
bighub_features_get_snapshotGet a snapshot
bighub_features_list_snapshotsList snapshots
bighub_features_explainExplain features for a case
bighub_features_exportExport features for a case
bighub_features_export_batchBatch export
bighub_features_compareCompare feature sets
bighub_features_schemaFeature schema
bighub_features_statsFeature statistics

Runtime ingestion

ToolDescription
bighub_ingest_eventIngest a single event
bighub_ingest_batchIngest events in batch
bighub_ingest_reconcileReconcile outcome with event
bighub_ingest_lifecyclesList event lifecycles
bighub_ingest_lifecycleGet lifecycle for one event
bighub_ingest_pendingEvents pending reconciliation
bighub_ingest_staleStale unreconciled events
bighub_ingest_statsIngestion statistics
bighub_ingest_adaptersList available adapters

Operating constraints

ToolDescription
bighub_constraints_createCreate a constraint
bighub_constraints_listList constraints
bighub_constraints_getGet a constraint
bighub_constraints_updateUpdate a constraint
bighub_constraints_deleteDelete a constraint
bighub_constraints_pausePause a constraint
bighub_constraints_resumeResume a constraint
bighub_constraints_dry_runPreview without persisting
bighub_constraints_validateValidate an action against constraints
bighub_constraints_validate_dry_runValidate (dry run)
bighub_constraints_domainsList domains with constraints
bighub_constraints_versionsConstraint version history
bighub_constraints_apply_patchApply a JSON Patch
bighub_constraints_purge_idempotencyAdmin: purge idempotency keys

Approvals & kill switch

ToolDescription
bighub_approvals_listList approval requests
bighub_approvals_resolveResolve an approval
bighub_kill_switch_statusKill switch status
bighub_kill_switch_activateActivate kill switch
bighub_kill_switch_deactivateDeactivate kill switch

Events

ToolDescription
bighub_events_listQuery event stream
bighub_events_statsEvent statistics

Webhooks

ToolDescription
bighub_webhooks_createCreate a webhook
bighub_webhooks_listList webhooks
bighub_webhooks_getGet a webhook
bighub_webhooks_updateUpdate a webhook
bighub_webhooks_deleteDelete a webhook
bighub_webhooks_deliveriesList deliveries
bighub_webhooks_testSend a test delivery
bighub_webhooks_list_eventsList subscribable event types
bighub_webhooks_verify_signatureVerify webhook signature
bighub_webhooks_replay_failed_deliveryReplay a failed delivery

API keys

ToolDescription
bighub_api_keys_createCreate an API key
bighub_api_keys_listList API keys
bighub_api_keys_deleteDelete an API key
bighub_api_keys_rotateRotate an API key
bighub_api_keys_validateValidate an API key
bighub_api_keys_scopesList available scopes

Auth

ToolDescription
bighub_auth_signupCreate an account
bighub_auth_loginLog in
bighub_auth_refreshRefresh token
bighub_auth_logoutLog out

Utility

ToolDescription
bighub_http_requestGeneric HTTP passthrough

Environment Variables

VariableRequiredDefaultDescription
BIGHUB_API_KEYYes*-API key auth
BIGHUB_BEARER_TOKENNo-Alternative bearer auth
BIGHUB_BASE_URLNohttps://api.bighub.ioAPI base URL
BIGHUB_TIMEOUT_MSNo15000Request timeout
BIGHUB_MAX_RETRIESNo2Retries on transient failures
BIGHUB_ALLOW_INSECURE_HTTPNo-Allow HTTP for local/private testing

* One of BIGHUB_API_KEY or BIGHUB_BEARER_TOKEN is required.

Management tools (API keys, webhooks, auth) require user JWT auth via BIGHUB_BEARER_TOKEN.

Free BETA

Current Free BETA limits:

  • 3 agents
  • 2,500 actions / month
  • 30 days history
  • 1 environment

Local Development

git clone https://github.com/bighub-io/bighub.git
cd bighub/servers/mcp
npm install
npm run test
npm run check
npm run build
npm run start
npm run dev

License

MIT

Keywords

bighub

FAQs

Package last updated on 24 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts