hny-mcp
MCP de panal
Un servidor de Protocolo de Contexto de Modelo para interactuar con los datos de observabilidad de Honeycomb. Este servidor permite a los LLM como Claude analizar y consultar directamente sus conjuntos de datos de Honeycomb en múltiples entornos.

Requisitos
Node.js 18+
Clave API de Honeycomb con permisos completos:
Acceso a consultas para análisis
Acceso de lectura para SLO y activadores
Acceso a nivel de entorno para operaciones de conjuntos de datos
Honeycomb MCP es efectivamente una interfaz alternativa completa a Honeycomb, por lo que necesita permisos amplios para la API.
Related MCP server: MCP Database Server
Solo Honeycomb Enterprise
Actualmente, esto solo está disponible para clientes de Honeycomb Enterprise.
Cómo funciona
Actualmente, este es un proceso de servidor único que debe ejecutar en su propia computadora . No está autenticado. Toda la información entre su cliente y el servidor utiliza STDIO.
Instalación
pnpm install
pnpm run buildEl artefacto de compilación va a la carpeta /build .
Configuración
Para utilizar este servidor MCP, debe proporcionar claves de API de Honeycomb a través de variables de entorno en su configuración de MCP.
{
"mcpServers": {
"honeycomb": {
"command": "node",
"args": [
"/fully/qualified/path/to/honeycomb-mcp/build/index.mjs"
],
"env": {
"HONEYCOMB_API_KEY": "your_api_key"
}
}
}
}Para múltiples entornos:
{
"mcpServers": {
"honeycomb": {
"command": "node",
"args": [
"/fully/qualified/path/to/honeycomb-mcp/build/index.mjs"
],
"env": {
"HONEYCOMB_ENV_PROD_API_KEY": "your_prod_api_key",
"HONEYCOMB_ENV_STAGING_API_KEY": "your_staging_api_key"
}
}
}
}Importante: Estas variables de entorno deben configurarse en el bloque env de su configuración de MCP.
Configuración de la UE
Los clientes de la UE también deben establecer una configuración HONEYCOMB_API_ENDPOINT , ya que el MCP tiene como opción predeterminada la instancia que no es de la UE.
# Optional custom API endpoint (defaults to https://api.honeycomb.io)
HONEYCOMB_API_ENDPOINT=https://api.eu1.honeycomb.io/Configuración de almacenamiento en caché
El servidor MCP implementa el almacenamiento en caché para todas las llamadas a la API de Honeycomb que no sean de consulta para mejorar el rendimiento y reducir el uso de la API. El almacenamiento en caché se puede configurar mediante estas variables de entorno:
# Enable/disable caching (default: true)
HONEYCOMB_CACHE_ENABLED=true
# Default TTL in seconds (default: 300)
HONEYCOMB_CACHE_DEFAULT_TTL=300
# Resource-specific TTL values in seconds (defaults shown)
HONEYCOMB_CACHE_DATASET_TTL=900 # 15 minutes
HONEYCOMB_CACHE_COLUMN_TTL=900 # 15 minutes
HONEYCOMB_CACHE_BOARD_TTL=900 # 15 minutes
HONEYCOMB_CACHE_SLO_TTL=900 # 15 minutes
HONEYCOMB_CACHE_TRIGGER_TTL=900 # 15 minutes
HONEYCOMB_CACHE_MARKER_TTL=900 # 15 minutes
HONEYCOMB_CACHE_RECIPIENT_TTL=900 # 15 minutes
HONEYCOMB_CACHE_AUTH_TTL=3600 # 1 hour
# Maximum cache size (items per resource type)
HONEYCOMB_CACHE_MAX_SIZE=1000Compatibilidad del cliente
Honeycomb MCP se ha probado con los siguientes clientes:
Probablemente funcionará con otros clientes.
Características
Consultar conjuntos de datos de Honeycomb en múltiples entornos
Ejecute consultas analíticas con soporte para:
Múltiples tipos de cálculo (COUNT, AVG, P95, etc.)
Averías y filtros
Análisis basado en el tiempo
Supervisar los SLO y su estado (solo Enterprise)
Analizar columnas y patrones de datos
Ver y analizar activadores
Acceder a los metadatos del conjunto de datos y a la información del esquema
Rendimiento optimizado con almacenamiento en caché basado en TTL para todas las llamadas API que no sean de consulta
Recursos
Acceda a los conjuntos de datos de Honeycomb mediante URI en el formato: honeycomb://{environment}/{dataset}
Por ejemplo:
honeycomb://production/api-requestshoneycomb://staging/backend-services
La respuesta de recursos incluye:
Nombre del conjunto de datos
Información de la columna (nombre, tipo, descripción)
Detalles del esquema
Herramientas
list_datasets: enumera todos los conjuntos de datos en un entorno{ "environment": "production" }get_columns: Obtener información de la columna para un conjunto de datos{ "environment": "production", "dataset": "api-requests" }run_query: Ejecuta consultas analíticas con opciones enriquecidas{ "environment": "production", "dataset": "api-requests", "calculations": [ { "op": "COUNT" }, { "op": "P95", "column": "duration_ms" } ], "breakdowns": ["service.name"], "time_range": 3600 }analyze_columns: analiza columnas específicas en un conjunto de datos ejecutando consultas estadísticas y devolviendo métricas calculadas.list_slos: enumera todos los SLO para un conjunto de datos{ "environment": "production", "dataset": "api-requests" }get_slo: Obtener información detallada de SLO{ "environment": "production", "dataset": "api-requests", "sloId": "abc123" }list_triggers: enumera todos los activadores de un conjunto de datos{ "environment": "production", "dataset": "api-requests" }get_trigger: Obtener información detallada del disparador{ "environment": "production", "dataset": "api-requests", "triggerId": "xyz789" }get_trace_link: genera un enlace profundo a un seguimiento específico en la interfaz de usuario de Honeycombget_instrumentation_help: Proporciona orientación sobre la instrumentación de OpenTelemetry{ "language": "python", "filepath": "app/services/payment_processor.py" }
Ejemplos de consultas con Claude
Pregúntale a Claude cosas como:
"¿Qué conjuntos de datos están disponibles en el entorno de producción?"
"Muéstrame la latencia P95 del servicio API durante la última hora"
"¿Cuál es la tasa de error desglosada por nombre de servicio?"
¿Hay algún SLO que esté a punto de superar su presupuesto?
"Muéstrame todos los activadores activos en el entorno de prueba"
"¿Qué columnas están disponibles en el conjunto de datos de la API de producción?"
Respuestas optimizadas de la herramienta
Todas las respuestas de la herramienta están optimizadas para reducir el uso de la ventana de contexto y al mismo tiempo mantener la información esencial:
Lista de conjuntos de datos : devuelve solo nombre, slug y descripción
Obtener columnas : devuelve información de columna simplificada centrándose en el nombre, el tipo y la descripción
Ejecutar consulta :
Incluye resultados reales y metadatos necesarios
Agrega estadísticas de resumen calculadas automáticamente
Solo incluye datos de series para consultas de mapas de calor
Omite metadatos detallados, enlaces y detalles de ejecución.
Analizar columna :
Devuelve valores superiores, recuentos y estadísticas clave
Calcula automáticamente métricas numéricas cuando corresponde
Información de SLO : optimizada para indicadores de estado clave y métricas de rendimiento
Información del disparador : centrada en el estado del disparador, las condiciones y los objetivos de notificación
Esta optimización garantiza que las respuestas sean concisas pero completas, lo que permite a los LLM procesar más datos dentro de las limitaciones del contexto.
Especificación de consulta para run_query
La herramienta run_query admite una especificación de consulta integral:
cálculos : Matriz de operaciones a realizar
Operaciones admitidas: CONTAR, CONCURRENCIA, CONTAR_DISTINTOS, MAPA DE CALOR, SUMA, PROMEDIO, MÁXIMO, MÍNIMO, P001, P01, P05, P10, P25, P50, P75, P90, P95, P99, P999, TASA_PROMEDIO, TASA_SUMA, TASA_MÁXIMA
Algunas operaciones como COUNT y CONCURRENCY no requieren una columna
Ejemplo:
{"op": "HEATMAP", "column": "duration_ms"}
filtros : Matriz de condiciones de filtro
Operadores admitidos: =, !=, >, >=, <, <=, empieza por, no empieza por, existe, no existe, contiene, no contiene, en, no en
Ejemplo:
{"column": "error", "op": "=", "value": true}
filter_combination : "AND" o "OR" (el valor predeterminado es "AND")
Desgloses : Matriz de columnas para agrupar los resultados por
Ejemplo:
["service.name", "http.status_code"]
pedidos : Matriz que especifica cómo ordenar los resultados
Debe hacer referencia a columnas de desgloses o cálculos
La operación HEATMAP no se puede utilizar en pedidos
Ejemplo:
{"op": "COUNT", "order": "descending"}
time_range : rango de tiempo relativo en segundos (por ejemplo, 3600 para la última hora)
Se puede combinar con start_time o end_time, pero no con ambos.
start_time y end_time : marcas de tiempo UNIX para rangos de tiempo absolutos
tener : Filtrar resultados según valores de cálculo
Ejemplo:
{"calculate_op": "COUNT", "op": ">", "value": 100}
Consultas de ejemplo
A continuación se muestran algunos ejemplos de consultas del mundo real:
Detectar llamadas API lentas
{
"environment": "production",
"dataset": "api-requests",
"calculations": [
{"column": "duration_ms", "op": "HEATMAP"},
{"column": "duration_ms", "op": "MAX"}
],
"filters": [
{"column": "trace.parent_id", "op": "does-not-exist"}
],
"breakdowns": ["http.target", "name"],
"orders": [
{"column": "duration_ms", "op": "MAX", "order": "descending"}
]
}Distribución de llamadas a bases de datos (semana pasada)
{
"environment": "production",
"dataset": "api-requests",
"calculations": [
{"column": "duration_ms", "op": "HEATMAP"}
],
"filters": [
{"column": "db.statement", "op": "exists"}
],
"breakdowns": ["db.statement"],
"time_range": 604800
}Recuento de excepciones por excepción y llamador
{
"environment": "production",
"dataset": "api-requests",
"calculations": [
{"op": "COUNT"}
],
"filters": [
{"column": "exception.message", "op": "exists"},
{"column": "parent_name", "op": "exists"}
],
"breakdowns": ["exception.message", "parent_name"],
"orders": [
{"op": "COUNT", "order": "descending"}
]
}Desarrollo
pnpm install
pnpm run buildLicencia
Instituto Tecnológico de Massachusetts (MIT)
Available Tools
14 toolsanalyze_columnsA
Analyzes specific columns in a dataset by running statistical queries and returning computed metrics. This tool allows users to get statistical information about a specific column, including value distribution, top values, and numeric statistics (for numeric columns). Supports analyzing up to 10 columns at once by specifying an array of column names in the 'columns' parameter. When multiple columns are specified, they will be analyzed together as a group, showing the distribution of their combined values. Use this tool before running queries to get a better understanding of the data in your dataset.
Inputs: environment (required), dataset (required), columns (required), timeRange.
get_boardA
Retrieves a specific board (dashboard) from a Honeycomb environment. This tool returns a detailed object containing the board's ID, name, description, creation time, and last update time.
Inputs: environment (required), boardId (required).
get_instrumentation_helpA
Provides important guidance for how to instrument code with OpenTelemetry traces and logs. It is intended to be used when someone wants to instrument their code, or improve instrumentation (such as getting advice on improving their logs or tracing, or creating new instrumentation). It is BEST used after inspecting existing code and telemetry data to understand some operational characteristics. However, if there is no telemetry data to read from Honeycomb, it can still provide guidance on how to instrument code.
Inputs: language, filepath.
get_sloB
Retrieves a specific SLO (Service Level Objective) by ID with detailed information. This tool returns a detailed object containing the SLO's ID, name, description, time period, target per million, compliance, budget remaining, SLI alias, and timestamps.
Inputs: environment (required), dataset (required), sloId (required).
get_trace_linkA
Generates a direct deep link to a specific trace in the Honeycomb UI. This tool creates a URL that opens a specific distributed trace, optionally positioning to a particular span and time range. If no time range is specified, the trace must have been generated within two hours from the current time. If only the start time is provided, the end time is assumed to be 10 minutes from the start time.
Inputs: environment (required), dataset (required), traceId (required), spanId, +2 more.
get_triggerA
Retrieves a specific trigger (alert) by ID with detailed information. This tool returns a detailed object containing the trigger's ID, name, description, threshold, frequency, alert type, triggered status, disabled status, recipients, evaluation schedule type, and timestamps.
Inputs: environment (required), dataset (required), triggerId (required).
list_boardsA
Lists available boards (dashboards) for a specific environment with pagination, sorting, and search support. Returns board IDs, names, descriptions, creation times, and last update times.
Inputs: environment (required), page, limit, sort_by, +3 more.
list_columnsA
Lists all columns available in the specified dataset, including their names, types, descriptions, and hidden status. Supports pagination, sorting by type/name/created_at, and searching by name/description. Note: all is NOT supported as a dataset name.
Inputs: environment (required), dataset (required), page, limit, +4 more.
list_datasetsB
Lists available datasets for the active environment with pagination, sorting, and search support. Returns dataset names, slugs, descriptions, and timestamps.
Inputs: environment (required), page, limit, sort_by, +3 more.
list_markersC
Lists available markers (deployment events) for a specific dataset or environment with pagination, sorting, and search support. Returns IDs, messages, types, URLs, creation times, start times, and end times.
Inputs: environment (required), page, limit, sort_by, +3 more.
list_recipientsC
Lists available recipients for notifications in a specific environment. This tool returns a list of all recipients available in the specified environment, including their names, types, targets, and metadata.
Inputs: environment (required), page, limit, sort_by, +3 more.
list_slosA
Lists available SLOs (Service Level Objectives) for a specific dataset. This tool returns a list of all SLOs available in the specified environment, including their names, descriptions, time periods, and target per million events expected to succeed. NOTE: all is NOT supported as a dataset name -- it is not possible to list all SLOs in an environment.
Inputs: environment (required), dataset (required).
list_triggersA
Lists available triggers (alerts) for a specific dataset. This tool returns a list of all triggers available in the specified dataset, including their names, descriptions, thresholds, and other metadata. NOTE: all is NOT supported as a dataset name -- it is not possible to list all triggers in an environment.
Inputs: environment (required), dataset (required).
run_queryA
Executes a Honeycomb query, returning results with statistical summaries.
CRITICAL RULE: For COUNT operations, NEVER include a "column" field in your calculation, even as null or undefined. Example: Use {"op": "COUNT"} NOT {"op": "COUNT", "column": "anything"}.
Additional Rules:
All parameters must be at the TOP LEVEL (not nested inside a 'query' property)
Field names must be exact - use 'op' (not 'operation'), 'breakdowns' (not 'group_by')
Only use the exact operation names listed in the schema (e.g., use "P95" for 95th percentile, not "PERCENTILE")
For all operations EXCEPT COUNT and CONCURRENCY, you must specify a "column" field
Inputs: environment (required), dataset (required), calculations (required), breakdowns, +9 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have distinct purposes targeting specific Honeycomb resources (e.g., get_board vs. get_slo vs. get_trigger), but analyze_columns overlaps somewhat with run_query as both involve data analysis. The descriptions help clarify that analyze_columns is for statistical summaries of columns while run_query is for general query execution, but an agent might still confuse them when seeking data insights.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., list_boards, get_slo, run_query). The verbs 'list', 'get', 'analyze', and 'run' are used predictably across the set, making it easy to understand the action each tool performs.
With 14 tools, this server is well-scoped for Honeycomb's observability domain, covering dashboards, SLOs, triggers, datasets, queries, and instrumentation guidance. Each tool has a clear role, and the count is typical for a comprehensive API surface without being overwhelming.
The tool set provides strong coverage for retrieving and listing Honeycomb resources (e.g., boards, SLOs, triggers, datasets) and includes key operations like run_query and analyze_columns. Minor gaps exist, such as no tools for creating or updating resources (e.g., create_board, update_slo), but agents can still perform many workflows with the available read-oriented tools.
Maintenance
Related MCP Connectors
Query Honeycomb observability data: traces, events, metrics, SLOs, triggers, and boards.
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
LLM Orchestration Agent (Opentelemetry Api)
LLM Observability & Orchestration Agent (LangChain Community)
Related MCP Servers
- AlicenseBqualityCmaintenanceServer for interacting with Meilisearch through LLM interfaces like Claude.22198MIT
- AlicenseNot gradedqualityDmaintenanceThis server enables Claude to directly interact with SQLite, SQL Server, PostgreSQL, and MySQL databases through the Model Context Protocol, allowing for query execution, table management, and data export capabilities.MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with Google BigQuery by inspecting database schemas, listing tables, and executing SQL queries. This server facilitates seamless data analysis and management through natural language via the Model Context Protocol.MIT
- AlicenseBqualityDmaintenanceModel Context Protocol server for Langfuse observability. Query traces, analyze accuracy, detect failures, track costs, debug latency, manage prompts and datasets.582MIT
Appeared in Searches
- Natural Language to SQL Conversion and Executing MySQL Queries to Retrieve Data
- Tools for generating charts based on data
- A tool for analyzing user feedback data to support app product development
- A generic RESTful API request tool for testing and integration
- Analyser les données des marchés boursiers pour améliorer les stratégies d'investissement