---
title: GPU Monitoring MCP tools
description: Connect AI agents to your GPU Monitoring data using the Datadog MCP Server.
breadcrumbs: Docs > GPU Monitoring > GPU Monitoring MCP tools
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# GPU Monitoring MCP tools

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

{% callout %}
# Important note for users on the following Datadog sites: app.datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, app.datadoghq.eu, ap1.datadoghq.com, ap2.datadoghq.com, uk1.datadoghq.com

{% callout %}
##### Join the Preview!

GPU Monitoring MCP tools are in Early Access Preview. Contact your Customer Success Manager for access.
{% /callout %}

{% /callout %}

## Overview{% #overview %}

The [Datadog MCP Server](https://docs.datadoghq.com/mcp_server.md) lets AI agents access your [GPU Monitoring](https://docs.datadoghq.com/gpu_monitoring.md) data through the Model Context Protocol (MCP). The `gpu-monitoring` toolset lets agents list self-hosted LLM inference deployments, measure their serving performance, inspect their configuration, profile their forward passes, and rank and track GPU kernels. Use these tools in MCP-compatible clients such as Claude Code, Codex CLI, Cursor, or Claude Desktop.

## Setup{% #setup %}

Connect an MCP-compatible client to the Datadog MCP Server with the `gpu-monitoring` toolset enabled.

{% alert level="info" %}
For full setup instructions, including other clients, see [Set up the Datadog MCP Server](https://docs.datadoghq.com/mcp_server/setup.md).
{% /alert %}

### Prerequisites{% #prerequisites %}

- Your organization has access to the GPU Monitoring MCP tools Preview.
- Your organization uses [GPU Monitoring](https://docs.datadoghq.com/gpu_monitoring/setup.md).
- Your Datadog user can access the MCP Server and has the `timeseries_query` and `apm_read` [permissions](https://docs.datadoghq.com/account_management/rbac/permissions.md).
- An MCP-compatible client (for example, Claude Code, Codex CLI, Cursor, or Claude Desktop).

### Endpoint{% #endpoint %}

The MCP Server endpoint depends on your [Datadog site](https://docs.datadoghq.com/getting_started/site.md). Use the Datadog Site selector to display the endpoint for your site.

The `gpu-monitoring` toolset is not enabled by default, so you must name it in the `toolsets` query parameter. Append `?toolsets=core,gpu-monitoring` to keep the core Datadog tools and add the GPU Monitoring tools.

{% callout %}
# Important note for users on the following Datadog sites: app.datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, app.datadoghq.eu, ap1.datadoghq.com, ap2.datadoghq.com, uk1.datadoghq.com



Endpoint for your selected site ({% placeholder "user-datadog-site-name" /%}):

```
<YOUR_MCP_SERVER_ENDPOINT>?toolsets=core,gpu-monitoring
```


{% /callout %}

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com



{% alert level="danger" %}
This product is not supported for your selected site ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}


{% /callout %}

If you already have the Datadog MCP Server configured, add `gpu-monitoring` to the `toolsets` parameter in the existing server URL instead of adding a second server.

### Connect{% #connect %}

{% callout %}
# Important note for users on the following Datadog sites: app.datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, app.datadoghq.eu, ap1.datadoghq.com, ap2.datadoghq.com, uk1.datadoghq.com



**Claude Code** (command line):

```
claude mcp add --transport http datadog "<YOUR_MCP_SERVER_ENDPOINT>?toolsets=core,gpu-monitoring"
```

Then start Claude Code, run `/mcp`, and complete the Datadog login in your browser.

**Codex CLI** (command line):

```
codex mcp add datadog --url "<YOUR_MCP_SERVER_ENDPOINT>?toolsets=core,gpu-monitoring"
codex mcp login datadog
```

**Cursor, Claude Desktop, and other JSON-configured clients**:

```
{
  "mcpServers": {
    "datadog": {
      "type": "http",
      "url": "<YOUR_MCP_SERVER_ENDPOINT>?toolsets=core,gpu-monitoring"
    }
  }
}
```

Restart the client, and log in to Datadog when prompted.


{% /callout %}

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com



{% alert level="danger" %}
This product is not supported for your selected site ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}


{% /callout %}

### Verify the connection{% #verify-the-connection %}

1. Confirm the tools are listed:

   - In Claude Code, run `/mcp`, select the `datadog` server, and view its tools.
   - In other clients, open the MCP server's tool list.

Tools for GPU Monitoring start with `gpu_monitoring_`. You can also ask the agent: "List the Datadog tools whose names start with gpu_monitoring."

1. Run a test call. Ask the agent:

   ```
   Use gpu_monitoring_list_inference_deployments to list my inference deployments from the last hour.
   ```

A list of deployments with throughput, latency, and a health verdict means the connection works. An empty list is also a successful result. It means no self-hosted vLLM, SGLang, or Dynamo deployments reported data in that hour.

## Available tools{% #available-tools %}

The `gpu-monitoring` toolset includes the following tools. For required permissions and example prompts, see the [GPU Monitoring section of Datadog MCP Server Tools](https://docs.datadoghq.com/mcp_server/tools.md#gpu-monitoring).

{% dl %}

{% dt %}
`gpu_monitoring_list_inference_deployments`
{% /dt %}

{% dd %}
Lists self-hosted LLM inference deployments (vLLM, SGLang, and NVIDIA Dynamo) with throughput, latency, error rate, KV cache usage, and a health verdict, worst first. Hosted model providers are not covered.
{% /dd %}

{% dt %}
`gpu_monitoring_get_inference_perf_summary`
{% /dt %}

{% dd %}
Measures an inference workload's serving performance over a time window: requests, time to first token and inter-token latency, throughput, prefix cache hits, queueing, and KV cache usage. Uses the scope from `gpu_monitoring_list_inference_deployments`.
{% /dd %}

{% dt %}
`gpu_monitoring_get_inference_configuration`
{% /dt %}

{% dd %}
Reports how an inference deployment's engines (vLLM, SGLang) are configured: model, parallelism, KV cache, batching, and scheduling, with the source of every value.
{% /dd %}

{% dt %}
`gpu_monitoring_get_inference_forward_pass_profile`
{% /dt %}

{% dd %}
Shows how an inference engine spends its forward passes: the split between decode and prefill, how pass time grows with batch size and scheduled tokens, and whether speculative decoding runs.
{% /dd %}

{% dt %}
`gpu_monitoring_find_inference_forward_pass_traces`
{% /dt %}

{% dd %}
Finds individual forward passes of an inference engine (vLLM, SGLang), filtered by phase, batch size, and scheduled tokens, newest or slowest first.
{% /dd %}

{% dt %}
`gpu_monitoring_rank_gpu_kernels`
{% /dt %}

{% dd %}
Ranks the GPU kernels a training or inference workload ran by total time, from the kernel spans profiled at kernel level.
{% /dd %}

{% dt %}
`gpu_monitoring_get_gpu_kernel_trend`
{% /dt %}

{% dd %}
Follows one GPU kernel of a training or inference workload over time, through the traces profiled at kernel level. Uses a kernel from `gpu_monitoring_rank_gpu_kernels`.
{% /dd %}

{% /dl %}

## Troubleshooting{% #troubleshooting %}

| Issue                                                               | Likely cause                                                                                                                         |
| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| No `gpu_monitoring_` tools are listed.                              | `gpu-monitoring` is missing from the `toolsets` parameter in the server URL, or the Preview is not enabled for your organization.    |
| An error says the organization isn't onboarded onto GPU Monitoring. | GPU Monitoring is not set up for your organization. See [Set up GPU Monitoring](https://docs.datadoghq.com/gpu_monitoring/setup.md). |
| An error names a missing permission.                                | Your Datadog user lacks that permission. Ask your Datadog administrator to grant it.                                                 |
| You see repeated login prompts.                                     | Rerun the login: `/mcp` in Claude Code, or `codex mcp login datadog` in Codex CLI.                                                   |

## Further reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Datadog MCP Server](https://docs.datadoghq.com/mcp_server.md)
- [Set up the Datadog MCP Server](https://docs.datadoghq.com/mcp_server/setup.md)
- [GPU Monitoring tools reference](https://docs.datadoghq.com/mcp_server/tools.md#gpu-monitoring)
- [Monitor Inference Workloads with GPU Monitoring](https://docs.datadoghq.com/gpu_monitoring/inference.md)
- [Set up GPU Monitoring](https://docs.datadoghq.com/gpu_monitoring/setup.md)
