Skip to content

Integration · Company data

Connect Claude & ChatGPT to New Relic Insights

Ask your AI a question about your New Relic event data and it writes and runs the NRQL query for you. It can count events, compare time ranges and break results down by attribute, such as page views per app over the last week. You get the numbers without writing the query yourself.

Connect New Relic Insights free

Free plan, no credit card. Takes about a minute.

Try asking

  • “How many page views did we get last week, per app?”

    The AI runs SELECT count() FROM PageView SINCE 1 week ago FACET appName and shows the count for each app.

  • “Compare page views today with the same day last week.”

    It writes an NRQL query with a comparison against the earlier period and shows both numbers.

  • “Run this NRQL for me: SELECT count() FROM PageView SINCE 1 day ago.”

    It runs the query as written against your account and returns the result.

What your AI can do

Plain-language questions

Describe what you want to know and the AI turns it into an NRQL query.

Any NRQL query

Run your own NRQL text against your account's event data, including FACET and time ranges.

US or EU accounts

Point PipMCP at the US or EU Insights API address, depending on where your account lives.

  • “Which pages had the most views yesterday?”

    It queries PageView for yesterday, faceted by page, and lists the top results.

  • “Why did my query return an error?”

    It runs the query, reads the error New Relic returns and suggests a corrected NRQL version.

  • “Show page views per hour since this morning.”

    It queries PageView over the time range bucketed by hour and lists the counts.

1 tools for New Relic Insights

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • run_nrql_queryRun an NRQL query against your New Relic event data, e.g. SELECT count() FROM PageView SINCE 1 week ago FACET appName. Pass your New Relic `account_id` and the `nrql` text.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP account and choose New Relic Insights from the app list.

  2. 2

    Paste your key

    Enter your Insights API address (US: https://insights-api.newrelic.com, EU: https://insights-api.eu.newrelic.com), an Insights query key and your New Relic account ID. Create the key at one.newrelic.com/api-keys (EU: one.eu.newrelic.com/api-keys): click Create a key, choose a query key, give it a name and save.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. Switch it on from the + menu in a chat.

Questions

What can the AI do in New Relic Insights?

The AI can run NRQL queries against your New Relic event data for the account ID you give. It reads data only and cannot change anything in New Relic.

Does the AI see my New Relic Insights credentials?

No. Your New Relic query key is encrypted at rest and never shown to the AI. After you save it, it is not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. PipMCP has one tool for this app, run_nrql_query, and it only reads data. You can switch it off at any time, and every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You also need your own New Relic account.

Which address should I use, US or EU?

Use the address that matches the region of your New Relic account. US accounts use https://insights-api.newrelic.com and EU accounts use https://insights-api.eu.newrelic.com. If you create keys at one.eu.newrelic.com, your account is in the EU.

Let your AI work in New Relic Insights today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect New Relic Insights free

PipMCP is not affiliated with New Relic Insights. Product names are trademarks of their owners.