SDKsMCP ServerOverview

MCP Explainer Server

The ThinkHive MCP (Model Context Protocol) Server provides powerful trace analysis tools directly in your development environment, including Claude Code CLI.

What is MCP?

The Model Context Protocol is a standard for connecting AI assistants to external tools and data sources. ThinkHive’s MCP server exposes 25+ analysis tools that can be used by any MCP-compatible client.

Key Features

Quick Start

Installation

npm install -g @thinkhive/mcp-explainer

Claude Code Integration

Add to your Claude Code settings (~/.claude/settings.json):

{
  "mcpServers": {
    "thinkhive": {
      "command": "npx",
      "args": ["@thinkhive/mcp-explainer"],
      "env": {
        "THINKHIVE_API_KEY": "thk_your_api_key"
      }
    }
  }
}

Usage

Once configured, you can use natural language in Claude Code:

> Analyze trace tr_abc123

> Show me failure patterns for agent support-agent

> Generate a fix for the authentication failures

> What's the quality score for my RAG pipeline?

Available Tool Categories

CategoryToolsDescription
Trace Analysis6 toolsExplain, search, patterns, stats
Quality Metrics3 toolsRAG evaluation, hallucination detection
ROI Analytics3 toolsBusiness impact, correlations
Failure Clustering2 toolsCluster analysis, details
Fix Generation2 toolsGenerate and list fixes
Silent Failures2 toolsDetect and summarize
Webhooks4 toolsManage webhook notifications
Evaluation3 toolsRun evals, manage sets

API Tiers

TierRate LimitFeatures
Free10/minBasic explainability
Starter60/min+ Search, patterns, quality
Professional300/min+ RAG eval, hallucinations, ROI
Enterprise1,000/minAll features + dedicated support

Transport Options

The MCP server supports two transport modes:

  1. STDIO (default) - For CLI tools like Claude Code
  2. HTTP/SSE - For web applications and custom integrations

Next Steps

Need Help? Check the Troubleshooting guide or contact support@thinkhive.ai.