newrelic-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@newrelic-mcpShow me open incidents for the last 24 hours"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
| Run any NRQL query |
| Run multiple NRQL queries in one request |
| Search entities by name, type, domain, or tags |
| Get detailed entity info by GUID |
| List NRQL alert conditions |
| Get currently active incidents |
| Get recent deployments for an APM app |
| Get throughput, error rate, latency, saturation |
| Get recent error traces with stacks |
| 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=USYou 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 80004. 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 -dExamples
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=EUDevelopment
uv sync --all-extras
uv run ruff check .
uv run mypy src/
uv run pytestSee CONTRIBUTING.md for details.
License
MIT — see LICENSE.
Maintenance
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
- FlicenseNot gradedqualityCmaintenanceA Model Context Protocol server that enables Large Language Models like Claude to query New Relic logs and metrics using NRQL queries.28
- AlicenseBqualityBmaintenanceEnables 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.266MIT
- FlicenseAqualityDmaintenanceEnables 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.61
- AlicenseBqualityBmaintenanceEnables natural language access to New Relic for monitoring, querying, and managing dashboards, entities, alerts, and deployments via the Model Context Protocol.528MIT
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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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