Skip to main content
Glama
MohamedSawahZC

newrelic-mcp

newrelic-mcp

An MCP server for New Relic — query your observability data from any AI agent or LLM client that supports the Model Context Protocol.

No official New Relic MCP exists yet. This fills that gap.

Tools

Tool

Description

nrql_query

Run any NRQL query

nrql_batch_query

Run multiple NRQL queries in one request

search_entities

Search entities by name, type, domain, or tags

get_entity

Get detailed entity info by GUID

get_alert_conditions

List NRQL alert conditions

get_open_incidents

Get currently active incidents

get_deployments

Get recent deployments for an APM app

get_golden_signals

Get throughput, error rate, latency, saturation

get_error_traces

Get recent error traces with stacks

get_throughput_timeseries

Get traffic over time

Related MCP server: New Relic MCP Server

Quick Start

1. Install

# With uv (recommended)
uv pip install .

# Or with pip
pip install .

2. Configure

Create a .env file (or set environment variables):

NEW_RELIC_API_KEY=NRAK-XXXXXXXXXXXXXXXXXXXXXXXXXXXX
NEW_RELIC_ACCOUNT_ID=1234567
NEW_RELIC_REGION=US

You need a New Relic User API key.

3. Run

# stdio mode (for local MCP clients like Claude Desktop, Kiro, Cursor)
newrelic-mcp

# HTTP mode (for remote access)
newrelic-mcp --transport http --port 8000

4. Connect to your MCP client

Claude Desktop / Kiro / Cursor

Add to your MCP config (e.g. ~/.kiro/settings/mcp.json):

{
  "mcpServers": {
    "newrelic": {
      "command": "newrelic-mcp",
      "env": {
        "NEW_RELIC_API_KEY": "NRAK-XXXXXXXXXXXXXXXXXXXXXXXXXXXX",
        "NEW_RELIC_ACCOUNT_ID": "1234567"
      }
    }
  }
}

With uvx (no install needed)

{
  "mcpServers": {
    "newrelic": {
      "command": "uvx",
      "args": ["newrelic-mcp"],
      "env": {
        "NEW_RELIC_API_KEY": "NRAK-XXXXXXXXXXXXXXXXXXXXXXXXXXXX",
        "NEW_RELIC_ACCOUNT_ID": "1234567"
      }
    }
  }
}

Docker

docker compose up -d

Examples

Once connected, you can ask your AI agent things like:

  • "What's the error rate for my payments-api in the last hour?"

  • "Show me open incidents"

  • "What deployed recently to the checkout service?"

  • "Run this NRQL: SELECT count(*) FROM Transaction SINCE 1 day ago FACET appName LIMIT 10"

  • "What are the golden signals for auth-service?"

Requirements

  • Python 3.11+

  • A New Relic account with a User API key

EU Region

If your account is in the EU datacenter, set:

NEW_RELIC_REGION=EU

Development

uv sync --all-extras
uv run ruff check .
uv run mypy src/
uv run pytest

See CONTRIBUTING.md for details.

License

MIT — see LICENSE.

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that enables Large Language Models like Claude to query New Relic logs and metrics using NRQL queries.
    28
  • A
    license
    B
    quality
    B
    maintenance
    Enables AI assistants to interact with New Relic monitoring and observability data through programmatic access to New Relic APIs. Supports APM management, NRQL queries, alert policies, synthetic monitoring, dashboards, infrastructure monitoring, and deployment tracking.
    26
    6
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI agents to access New Relic logs and APM data through the NerdGraph API. It allows users to execute NRQL queries, retrieve application performance metrics, and analyze transaction traces using natural language.
    6
    1
  • A
    license
    B
    quality
    B
    maintenance
    Enables natural language access to New Relic for monitoring, querying, and managing dashboards, entities, alerts, and deployments via the Model Context Protocol.
    52
    8
    MIT

View all related MCP servers

Related MCP Connectors

  • Shared, permission-aware company context for AI agents, with provenance, approvals and audit.

  • Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.

  • Interact with climate metrics via Riskthinking.AI's CDT Express API in supported AI chat experiences

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MohamedSawahZC/newrelic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server