← Use Cases

Ask your AI assistant about your metrics.

Umlogger's hosted MCP server connects Claude Code, Cursor, and OpenCode to your metrics. Compare periods, look into spikes, and annotate deploys while you code.

Start free trial →Read the setup guide

What you can ask

Compare two periods

“How do signups for the last 7 days compare with the 7 days before?”

Umlogger calculates the totals and percentage change, then the assistant explains them.

Investigate a spike

“When was api-latency highest in the last 24 hours, and were there any deploy annotations before that?”

The assistant can look up hourly data and chart notes together, giving you leads to check.

Annotate a deploy

“Add the annotation "Deployed v2.3" to api-errors.”

Record a deploy while you work, so anyone with access to the metric can see it on the chart.

Track something new

“Create a count metric called "Trial started" and add its ingest call to my signup handler.”

A coding assistant can create the metric and make the code change for you to review.

Adding annotations and creating metrics require a read & write token.

Connect Claude Code

Create a token under Settings → Access tokens (MCP), replace the placeholder below, and run:

claude mcp add --transport http umlogger https://data.umlogger.com/mcp \
  --header "Authorization: Bearer ump_YOUR_TOKEN"

Using Cursor? Copy the Cursor config. Using OpenCode? Follow the OpenCode steps.

You control what AI can do

  • Each token has the same metric access as the person who created it.
  • Choose read-only access, and set an expiry if you want one.
  • Revoke a token at any time without affecting your other tokens.
  • The MCP server has no tools for deleting data.

Read about permissions and security

Common questions

Which AI tools can I use?

We provide setup instructions for Claude Code, Cursor, and OpenCode. Other clients need to support remote Streamable HTTP servers and a custom Authorization header. Connectors that require OAuth aren’t supported yet.

Can the AI change or delete my data?

Read-only tokens have no write tools. With a read & write token, an assistant can create metrics, log samples to metrics you created, and add annotations. The MCP server has no tools for deleting data or changing alerts.

Which metrics can the AI see?

It can see metrics you created and metrics shared with you. It can’t see other metrics in your organization or another organization’s data.

Is my metric data sent to an AI provider?

Umlogger sends the requested data to your AI client. That client may send it to its model provider, so check the provider’s data policy.

Do I need to install or host the MCP server?

No. Umlogger hosts it. You create an access token and add the server URL to your AI client.

Related reading

How to connect Claude Code, Cursor, or OpenCode to your metricsWhat is an MCP server for metrics?12 AI prompts for SaaS metrics