Signoz MCP Server

Signoz MCP Server

Connect SigNoz observability data to AI assistants via the Model Context Protocol.

11
Stars
1
Forks
11
Watchers
0
Issues
Signoz MCP Server acts as a bridge between SigNoz observability platforms and AI assistants by implementing the Model Context Protocol (MCP). It exposes a suite of tools for querying dashboard information, fetching panel and metrics data, executing custom queries, and retrieving traces or logs from SigNoz. The tool supports integration with popular AI assistants, flexible deployment options (Docker, local virtual environments), and secure configuration via environment variables or YAML files. The server is designed to enable standardized programmatic context retrieval for enhancing AI/LLM workflows.

Key Features

Fetch full list of dashboards and detailed dashboard metadata from SigNoz
Retrieve panel data from dashboards within a specified time range
Access standard APM metrics like request rate, error rate, latency, and apdex
Execute custom ClickHouse queries via the SigNoz API
Run builder queries for custom metrics and aggregations
Fetch all instrumented services, optionally filtered by time range
Retrieve traces or logs using SQL queries with filters for data type, time, and service
Seamless integration with AI assistants through the Model Context Protocol
Configurable via environment variables or a YAML file for flexible deployment
Supports local development with uv and production-ready Docker deployment

Use Cases

Enabling AI copilots or coding assistants to surface real-time SigNoz observability insights
Automating the retrieval of dashboard panel data for incident response or monitoring
Integrating service performance metrics into LLM-powered operations copilots
Executing custom analytics on SigNoz data for deep troubleshooting via AI interfaces
Providing model context for LLM agents analyzing or reporting on service health
Supporting workflow automation by extracting traces/logs for root cause analysis
Powering dashboard-aware chatbot assistants for SRE or DevOps teams
Injecting real-time infrastructure context into automated support systems
Facilitating batch or ad-hoc queries over observability data for AI/ML model input
Integrating with third-party tools that require MCP-based access to observability data

README

Signoz MCP Server

Watch Working Demo on Cursor 📽️ https://youtube.com/shorts/jxjmGyXXz7A

Available Tools

The following tools are available via the MCP server:

  • test_connection: Verify connectivity to your Signoz instance and configuration.
  • fetch_dashboards: List all available dashboards from Signoz.
  • fetch_dashboard_details: Retrieve detailed information about a specific dashboard by its ID. This information contains the metadata of the dashboard, not the live panel data.
  • fetch_dashboard_data: Fetch all panel data for a given dashboard by name and time range.
  • fetch_apm_metrics: Retrieve standard APM metrics (request rate, error rate, latency, apdex, etc.) for a given service and time range.
  • fetch_services: Fetch all instrumented services from Signoz with optional time range filtering.
  • execute_clickhouse_query: Execute custom Clickhouse SQL queries via the Signoz API with time range support.
  • execute_builder_query: Execute Signoz builder queries for custom metrics and aggregations with time range support.
  • fetch_traces_or_logs: Fetch traces or logs from SigNoz using ClickHouse SQL. Specify data_type ('traces' or 'logs'), time range, service name, and limit. Returns tabular results for traces or logs.

🚀 Usage & Requirements

1. Get Your Signoz API Endpoint & (Optional) API Key

  1. Ensure you have a running Signoz instance (self-hosted or cloud).
  2. (Optional) If your Signoz instance requires an API key for the health endpoint, generate or obtain it from your Signoz UI.

2. Installation & Running Options

2A. Install & Run with uv (Recommended for Local Development)

2A.1. Install dependencies with uv

bash
uv venv .venv
source .venv/bin/activate
uv sync

2A.2. Run the server with uv

bash
uv run -m src.signoz_mcp_server.mcp_server
  • You can also use uv to run any other entrypoint scripts as needed.
  • Make sure your config.yaml is in the same directory as mcp_server.py or set the required environment variables (see Configuration section).

2B. Run with Docker Compose (Recommended for Production/Containerized Environments)

  1. Edit src/signoz_mcp_server/config.yaml with your Signoz details (host, API key if needed).
  2. Start the server:
    bash
    docker-compose up -d
    
    • The server will run in HTTP (SSE) mode on port 8000 by default.
    • You can override configuration with environment variables (see below).

3. Configuration

The server loads configuration in the following order of precedence:

  1. Environment Variables (recommended for Docker/CI):
    • SIGNOZ_HOST: Signoz instance URL (e.g. https://your-signoz-instance.com)
    • SIGNOZ_API_KEY: Signoz API key (optional)
    • SIGNOZ_SSL_VERIFY: true or false (default: true)
    • MCP_SERVER_PORT: Port to run the server on (default: 8000)
    • MCP_SERVER_DEBUG: true or false (default: true)
  2. YAML file fallback (config.yaml):
    yaml
    signoz:
      host: "https://your-signoz-instance.com"
      api_key: "your-signoz-api-key-here" # Optional
      ssl_verify: "true"
    server:
      port: 8000
      debug: true
    

4. Integration with AI Assistants (e.g., Claude Desktop, Cursor)

You can integrate this MCP server with any tool that supports the MCP protocol. Here are the main options:

4A. Using Docker Compose or Docker (with environment variables, mcp-grafana style)

json
{
  "mcpServers": {
    "signoz": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "SIGNOZ_HOST",
        "-e",
        "SIGNOZ_API_KEY",
        "-e",
        "SIGNOZ_SSL_VERIFY",
        "drdroidlab/signoz-mcp-server",
        "-t",
        "stdio"
      ],
      "env": {
        "SIGNOZ_HOST": "https://your-signoz-instance.com",
        "SIGNOZ_API_KEY": "your-signoz-api-key-here",
        "SIGNOZ_SSL_VERIFY": "true"
      }
    }
  }
}
  • The -t stdio argument is supported for compatibility with Docker MCP clients (forces stdio handshake mode).
  • Adjust the volume path or environment variables as needed for your deployment.

4C. Connecting to an Already Running MCP Server (HTTP/SSE)

If you have an MCP server already running (e.g., on a remote host, cloud VM, or Kubernetes), you can connect your AI assistant or tool directly to its HTTP endpoint.

Example: Claude Desktop or Similar Tool

json
{
  "mcpServers": {
    "signoz": {
      "url": "http://your-server-host:8000/mcp"
    }
  }
}
  • Replace your-server-host with the actual host where your MCP server is running.
  • For local setup, use localhost as the server host (i.e., http://localhost:8000/mcp).
  • Use http for local or unsecured deployments, and https for production or secured deployments.
  • Make sure the server is accessible from your client machine (check firewall, security group, etc.).

Example: MCP Config YAML

yaml
mcp:
  endpoint: "http://your-server-host:8000/mcp"
  protocolVersion: "2025-06-18"
  • Replace your-server-host with the actual host where your MCP server is running.
  • For local setup, use localhost as the server host (i.e., http://localhost:8000/mcp).
  • Use http or https in the URL schema depending on how you've deployed the MCP server.
  • No need to specify command or args—just point to the HTTP endpoint.
  • This works for any tool or assistant that supports MCP over HTTP.
  • The server must be running in HTTP (SSE) mode (the default for this implementation).

Health Check

bash
curl http://localhost:8000/health

The server runs on port 8000 by default.


5. Miscellaneous:

  1. Need help anywhere? Join our slack community and message on #mcp channel.
  2. Want to try without setting up? Follow this doc for a quickstart on DrDroid cloud platform.

Star History

Star History Chart

Repository Owner

DrDroidLab
DrDroidLab

Organization

Repository Details

Language Python
Default Branch master
Size 298 KB
Contributors 3
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

Python
99.42%
Dockerfile
0.58%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • Grafana MCP Server

    Grafana MCP Server

    Provide standardized MCP access to Grafana dashboards, datasources, and observability data.

    Grafana MCP Server implements the Model Context Protocol (MCP) to interface with Grafana and its ecosystem. It enables querying, modifying, and summarizing dashboards, managing datasources, and running queries against Prometheus and Loki, all with explicit context window management. Additional features include incident management and Sift investigation retrieval.

    • 1,850
    • MCP
    • grafana/mcp-grafana
  • Last9 MCP Server

    Last9 MCP Server

    Enables AI agents to access real-time production observability data for automated code fixes.

    Last9 MCP Server is an implementation of the Model Context Protocol (MCP) designed to provide seamless integration between AI agents and production observability data. It allows tools and agents to fetch live logs, metrics, traces, events, and alerts from Last9 systems, supporting a range of development environments and IDEs. This enables faster debugging, automated code fixes, and insightful context directly within local development workflows.

    • 46
    • MCP
    • last9/last9-mcp-server
  • VictoriaMetrics MCP Server

    VictoriaMetrics MCP Server

    Model Context Protocol server enabling advanced monitoring and observability for VictoriaMetrics.

    VictoriaMetrics MCP Server implements the Model Context Protocol (MCP) to provide seamless integration with VictoriaMetrics, allowing advanced monitoring, data exploration, and observability. It offers access to almost all read-only APIs, as well as embedded documentation for offline usage. The server facilitates comprehensive metric querying, cardinality analysis, alert and rule testing, and automation capabilities for engineers and tools.

    • 87
    • MCP
    • VictoriaMetrics-Community/mcp-victoriametrics
  • metoro-mcp-server

    metoro-mcp-server

    Bridge Kubernetes observability data to LLMs via the Model Context Protocol.

    Metoro MCP Server is an implementation of the Model Context Protocol (MCP) that enables seamless integration between Kubernetes observability data and large language models. It connects Metoro’s eBPF-based telemetry APIs to LLM applications such as the Claude Desktop App, allowing AI systems to query and analyze Kubernetes clusters. This solution supports both authenticated and demo modes for accessing real-time cluster insights.

    • 45
    • MCP
    • metoro-io/metoro-mcp-server
  • TeslaMate MCP Server

    TeslaMate MCP Server

    Query your TeslaMate data using the Model Context Protocol

    TeslaMate MCP Server implements the Model Context Protocol to enable AI assistants and clients to securely access and query Tesla vehicle data, statistics, and analytics from a TeslaMate PostgreSQL database. The server exposes a suite of tools for retrieving vehicle status, driving history, charging sessions, battery health, and more using standardized MCP endpoints. It supports local and Docker deployments, includes bearer token authentication, and is intended for integration with MCP-compatible AI systems like Claude Desktop.

    • 106
    • MCP
    • cobanov/teslamate-mcp
  • ZoomEye MCP Server

    ZoomEye MCP Server

    Real-time cyberspace asset intelligence for AI assistants via Model Context Protocol.

    ZoomEye MCP Server implements the Model Context Protocol (MCP) to provide network asset intelligence to AI assistants and development tools. It enables querying of global internet assets through ZoomEye's cyber asset search engine using structured parameters and dorks. The server includes features like caching, error handling, and compatibility with leading MCP environments, supporting real-time cyber asset data integration for various AI and developer platforms.

    • 50
    • MCP
    • zoomeye-ai/mcp_zoomeye
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results