[Home](/index.md) › [MCP servers](/mcp.md) › New Relic MCP server

# New Relic MCP server

MCP server

- 33 callable tools
- 6 capabilities

[Installation guide](https://docs.newrelic.com/docs/agentic-ai/mcp/setup.md)

## Overview

Published by New Relic, this hosted MCP server lets AI agents access and analyze observability data in New Relic accounts. It connects to New Relic's US, EU and JP regional endpoints.

### Capabilities

- Query telemetry with NRQL
- Investigate alerts and open issues
- Analyze application performance, errors and logs
- Monitor synthetic checks and their results
- Look up entities, dashboards and metrics
- Analyze Kafka clusters and clients

## Works with

The products your agent can work with through this server.

- [New Relic](/tools/new-relic.md): AI-powered observability

## Tools

The callable functions your agent uses to work with this server.

### `convert_time_period_to_epoch_ms`

Convert a time period (for example, "last 30 minutes") to epoch milliseconds.

### `get_dashboard`

Fetch details about a specific dashboard.

### `get_entity`

Fetch New Relic entities by GUID or search by name pattern.

### `list_related_entities`

List entities 1 hop away (related) from a given entity GUID.

### `list_available_new_relic_accounts`

List all account IDs available to the user.

### `list_dashboards`

List all dashboards for a New Relic account.

### `search_entity_with_tag`

Search for entities using a specific tag key and value.

### `list_metric_names`

Discover all available metric names (dimensional and legacy timeslice) reported by an entity or account.

### `analyze_kafka_related_entities`

Map a Kafka entity (a producer or consumer service, topic, broker, cluster, or host) to its cluster, brokers, topics, producer and consumer services, and broker

### `execute_nrql_query`

Execute an NRQL query against NRDB.

### `list_alert_conditions`

List alert condition details for a specific alert policy.

### `search_incident`

List all alert events (both open and close events) with flexible filtering.

### `list_alert_policies`

List alert policies for the specified account, optionally filtering by policy name.

### `list_recent_issues`

Lists all open issues in New Relic for the specified account.

### `list_synthetic_monitors`

List all synthetic monitors (automated tests that check your services' availability and performance).

### `list_synthetic_monitor_results`

Return individual synthetic check run rows (timings, errors, locations) for a monitor over a time window.

### `get_synthetic_check_statistics`

Aggregate synthetic check success rates, failure counts, and duration percentiles across monitors or locations.

### `list_entity_error_groups`

Fetch error groups for a specific entity from the Errors Inbox within a time window.

### `list_change_events`

List a history of change events from New Relic for the application identified by its entity GUID.

### `get_error_statistics`

Compute aggregate error counts, first/last seen timestamps, and optional time-series trends from TransactionError events, with flexible filtering and faceting b

### `search_errors`

Return raw error events matching filters like message, class, HTTP status, or trace ID.

### `analyze_entity_logs`

Analyze application logs to identify error patterns, anomalous behavior, and recurring issues.

### `analyze_golden_metrics`

Analyze golden metrics (key health indicators: throughput, response time, error rate, and saturation).

### `analyze_threads`

Analyze thread metric data for a given entity including thread state, CPU usage, and memory consumption.

### `analyze_transactions`

Analyze transactions for a specific entity within a time window, identifying slow and error-prone transactions, including P95 and P99 latency metrics (the respo

### `list_garbage_collection_metrics`

List garbage collection and memory metrics for a given account and entity.

### `list_recent_logs`

List recent logs from New Relic for the specified account and entity GUID.

### `list_entity_performance_risk_groups`

Fetch performance risks groups for a specific entity from the Performance Risks Inbox within a time window.

### `get_metric_statistics`

Fetch aggregated metric values (average, sum, percentiles, rate) for a given dimensional or timeslice metric.

### `get_log_statistics`

Return aggregate log counts, breakdowns by level and attribute, and trends over a time window.

### `get_distributed_trace_details`

Returns full span attributes, anomalies, and span links for a specific entity or individual span within a trace.

### `analyze_kafka_health`

Assess the health of a Kafka cluster, broker, topic, or consumer application by checking consumer lag, under-replicated and offline partitions, and broker and c

### `analyze_kafka_client_metrics`

Analyze the Kafka client metrics of a producer or consumer application, such as request and fetch latency, I/O wait time, records-consumed rate, and poll timing

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add New Relic MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http new-relic https://mcp.newrelic.com/mcp/
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add New Relic MCP server to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=new-relic&config=eyJ1cmwiOiJodHRwczovL21jcC5uZXdyZWxpYy5jb20vbWNwLyJ9)

```json
{
  "mcpServers": {
    "new-relic": {
      "url": "https://mcp.newrelic.com/mcp/"
    }
  }
}
```

### Add New Relic MCP server to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "new-relic": {
      "type": "http",
      "url": "https://mcp.newrelic.com/mcp/"
    }
  }
}
```

### Add New Relic MCP server to Codex

Run this in your terminal:

```sh
codex mcp add new-relic --url https://mcp.newrelic.com/mcp/
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.new-relic]
url = "https://mcp.newrelic.com/mcp/"
```

If the server uses OAuth, sign in with `codex mcp login new-relic`.

### Add New Relic MCP server to Claude

Add it as a custom connector with this URL:

```
https://mcp.newrelic.com/mcp/
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add New Relic MCP server to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://mcp.newrelic.com/mcp/
```

[Read the installation guide](https://docs.newrelic.com/docs/agentic-ai/mcp/setup.md)

## Sources

Documentation and source code reviewed on 17 November 2026.

- [docs.newrelic.com/docs/agentic-ai/mcp/setup](https://docs.newrelic.com/docs/agentic-ai/mcp/setup)
- [docs.newrelic.com/docs/agentic-ai/mcp/tool-reference](https://docs.newrelic.com/docs/agentic-ai/mcp/tool-reference)
