Metric memory for AI agents · MCP

The place agents keep their numbers.

One call instead of throwaway Python—and your data gets smarter. Each metric lives in its own namespace with short-term memory (recent readings) and long-term memory (years of history). Agents read token-efficient summaries, not raw points.

In our published token benchmark, a lean query+chart flow uses about 284 tokens vs 658 for a cold Python-file workflow (~56.8% fewer). Read the benchmark.

Sits next to text-memory tools like Mem0 and Zep—complementary, not competitive. Numbers over time only.

How it works

Streams of metrics. One memory. Live charts.

Agents and cron jobs use track, forget, query, insight, and chart—data lands in namespaces, then flows back as token-shaped summaries, narrative insight, and live chart URLs.

1 · Agent

sent ✓ 42 tokens

2 · Memory

stripe.mrr

Short-term

Long-term

LTTB compact

3 · Query

gma.query("stripe.mrr", token_budget=200)
{
  "trend": "+18% WoW",
  "points": 48
}
MRR up 18% WoW

4 · Chart

Live chart

$12.4k ↑18%

Live chart URLs

Permanent, updating charts. Add .png or .svg for an image that works in Slack, email, READMEs, and embeds.

stripe.mrr$68.9k
90d+30d+12.4%

One compact query

Latest, min, max, mean, trend, percent change—plus an LTTB-downsampled series within your token budget.

Request

// MCP: query
await mcp.call("graphmyanything", "query", {
  namespace: "stripe.mrr",
  range: "90d",
  token_budget: 120,
});

Response

{
  "namespace": "stripe.mrr",
  "latest": 72400,
  "min": 61200,
  "max": 73100,
  "mean": 68450,
  "trend": "up",
  "pct_change": 12.4,
  "series_lttb": [/* ~50 points */],
  "tokens_estimate": 94
}

Supporting evidence · published benchmark

Build once. Ask forever.

Track a metric once. Any later session—or another agent—can ask about it with query, insight, or chart without re-reading files, re-discovering schema, or rewriting throwaway Python. Answers stay consistent because readings live in a metric namespace that persists—not in chat context.

Published token benchmark

56.8%fewer tokens vs Python file E2E

Measured, not guessed—same prompt (“chart my last 90 days of MRR”), 284 tokens for GMA lean vs 658 for cold Python-on-disk (full results).

Python file E2E (cold start)

658 tokens

262 in · 396 out

GMA query+chart lean (auto pts, also_chart)

284 tokens

190 in · 94 out

Over 8,520 tokens for 284×30 warm GMA sessions vs 21,390 for file-based warm (60.2% fewer).

Built for how agents actually work

n8n · Slack

Weekly KPI chart to Slack

Pipe your agent's chart URL through n8n. When metrics update, Slack gets a fresh sparkline—no screenshot chore.

README · embed

MRR chart in a README

Embed a live URL in your repo docs. Investors see current MRR, not a PNG from last quarter.

MCP · agents

Ask your agent for the chart

Your coding agent calls chart with transforms (range, type, forecast). It drops the URL straight into your reply.

Five MCP tools

Everything an agent needs to remember and reason about numbers over time—without touching raw series.

Install the local MCP server from npm — see installation docs.

track

Upsert one or many points on (metric, ts). Returns written (new timestamps) and replaced (updated timestamps).

forget

Delete a single ts, an inclusive from/to range (Unix seconds), or the whole metric with all: true plus confirm: true. metric is always required.

query

Terse stats (s.l, s.mn, s.tr, …) plus optional LTTB pts within token_budget. points: 0 | auto | N; also_chart omits pts for a follow-up chart.

insight

Plain-English trend, MAD anomalies, naive linear forecast for metric + range.

chart

640×320 SVG on disk. type: line | bar | area; theme: dark | light; labels: none | last | extremes | all.

Pricing preview

Launch tiers—founding members lock in early pricing.

Free

$0

  • 3 metric streams
  • 10k points
  • 90-day reads (full history stored)
  • GraphMyAnything badge

Indie

$12/mo

  • More streams & points
  • 1-year history
  • Chart URLs & MCP access

Pro

$29/mo

  • Forecasts & alerts
  • Weekly AI digest
  • Multi-year long-term memory
  • Priority chart CDN

Team

$79/mo

  • Shared namespaces
  • Role-based access
  • SSO-ready (at launch)
  • Higher rate limits

Founding preorder

One-time $49, fully refundable until launch—unlimited history reads and higher limits.

FAQ

Is this agent memory like Mem0?
No. Mem0, Zep, and similar tools excel at text and conversational memory. GraphMyAnything is only for numbers over time—metrics, KPIs, sensor readings. Use both side by side.
What is short-term vs long-term memory?
Short-term holds recent readings for fast summaries and anomaly detection. Long-term retains years of history per namespace so trend and seasonality improve as you track.
How do chart URLs work?
Each namespace can expose a stable chart URL. Query params adjust range, chart type, and forecast—like image transforms. The image updates when new points arrive.
When do you launch?
Waitlist members hear first. Founding members get refundable preorder until public launch.
Does Free hosting keep my full history?
Yes. Sync and track store every point you send. Query, insight, and chart on Free only show the last 90 days until you upgrade to Founding, which unlocks unlimited reads instantly—nothing is deleted.
Where do the token numbers come from?
We publish a reproducible end-to-end benchmark in the open repo—about 284 tokens for a lean query+chart flow vs 658 for cold Python-on-disk (~56.8% fewer), with 30-session totals spelled out. See benchmarks/token-benchmark/results.md.