MCP server to execute New Relic NRQL queries via NerdGraph
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"newrelic-mcp-2","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# New Relic MCP Server MCP server that executes [NRQL](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/) queries against New Relic via the [NerdGraph](https://docs.newrelic.com/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph/) GraphQL API. ## Tools - **`execute_nrql`** — Run an NRQL query against a single New Relic account. Parameters: `query` (required), `account_id` (optional if `NEW_RELIC_ACCOUNT_ID` is set), `timeout_seconds` (optional, 1–70). ## Requirements - Python 3.10+ - [uv](https://docs.astral.sh/uv/) (recommended) or pip - A New Relic [user API key](https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/) with NerdGraph access ## Environment variables | Variable | Required | Description | |----------|----------|-------------| | `NEW_RELIC_API_KEY` | Yes | New Relic user API key for NerdGraph. Create at [one.newrelic.com](https://one.newrelic.com/nr1-core/api-keys). | | `NEW_RELIC_REGION` | No | `us` (default) or `eu` for NerdGraph endpoint. | | `NEW_RELIC_ACCOUNT_ID` | No | Default account ID when not passed to `execute_nrql`. | Copy [.env.example](.env.example) to `.env` and set `NEW_RELIC_API_KEY` (and optionally the others). ## Install The recommended way is via `uvx` — no separate install step needed: ```json { "mcpServers": { "newrelic": { "command": "uvx", "args": ["newrelic-mcp"], "env": { "NEW_RELIC_API_KEY": "YOUR_API_KEY", "NEW_RELIC_REGION": "us", "NEW_RELIC_ACCOUNT_ID": "YOUR_ACCOUNT_ID" } } } } ``` `uvx` fetches and runs the package from [PyPI](https://pypi.org/project/newrelic-mcp/) automatically. Or install explicitly with pip: ```bash pip install newrelic-mcp ``` ## Claude Code setup Run this command to register the server (one-time setup): ```bash claude mcp add newrelic --env NEW_RELIC_API_KEY=YOUR_API_KEY --env NEW_RELIC_REGION=us -- uvx newrelic-mcp ``` Or add it manually to your Claude Code MCP config (`~/.…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.