Bridges New Relic's log querying capabilities with a Python-based server, enabling execution of NRQL queries for perform...
Created byApr 23, 2025
New Relic MCP Server
A simple Model Context Protocol (MCP) server for querying New Relic logs using NRQL queries. This server enables Large Language Models (LLMs) like Claude to interact with your New Relic data.
Features
Query New Relic logs and metrics using NRQL
Detailed error logging
Easy integration with Claude Desktop
Human-readable output formatting
Configurable New Relic account ID
Setup Instructions
Prerequisites
Python 3.10 or higher
New Relic account and API key
Claude Desktop application
Installation Steps
Install `uv` package manager:
Create and setup project:
Create server file `newrelic_logs_server.py` with the provided code.
Configure your environment variables:
Claude Desktop Integration
Configure Claude Desktop by editing your configuration file: