MCP.Market

AI R MCP server

by pro-target·io.github.pro-target/ai-r·v0.4.2·3 stars

Read local AI agent sessions (Claude Code, Codex, OpenCode, Antigravity, Pi): intents, plans, tools

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

3 stars22 downloads/wk

Reviews

Write one

Nobody has reviewed AI R yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

AI R tools (16)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • aggregate

    Roll a list of row dicts up by ``group_by`` — the generic stats verb.

  • detect_current

    Return the current runtime identity (session + agent) from env/fs.

  • diff

    Stitch edit rows into a per-file chronological diff — the diff verb.

  • find_file_edits

    Find every file edit across sessions, cross-agent by default.

  • find_tool_calls

    Find every tool call across sessions, cross-agent by default.

  • get_body

    Return the on-demand body for an event / plan ``id``.

  • incidents
  • list_sessions
  • network
  • plan
  • query
  • quotes
  • read_session
  • search_sessions
  • session_diff

    Reconstruct *what the agent changed* in one session — without git.

  • session_stats

Public scan report

scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it

no findings
  • Code scan67 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 0 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How AI R compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 90% of 4,460 AI and agents servers
Tools
16
the typical AI and agents server has 6
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
3
more than 75% of 2,711 AI and agents servers
Downloads a week
22
more than 8% of 1,538 AI and agents servers with a package

What its tools let an agent do: 16 read

Install AI R in Claude Code, Cursor or VS Code

claude mcp add ai-r -- uvx agent-session-reader
Add to Cursor

What the publisher says

From the AI R repository's README, as published. We do not edit it. Read it on GitHub

<!-- mcp-name: io.github.pro-target/ai-r -->

ai-r

English | Русский | 中文 | 日本語 | Español

An agent reported "done." There's nothing to check it against.

ai-r reads the session history of any of the five coding agents and lets a fresh agent cold-check what git can't answer:

dangerous (and roll it back if it did), what it actually changed, what it cost;

  • did it lie, did it break anything — did it keep its word, did it run anything

behind the edit.

  • why it went that way — under which plan, with what intent, and whose hand was

Across our own corpus — 1600+ sessions of five agents in 20+ projects — that's

how we found 312 risky commands (rm -rf, curl|sh, git push --force): the

agent caught and rolled back two itself; the other 310 ran silently — git

won't show them.

git shows what made it into the code; ai-r shows whether you can trust how the agent got there. Read-only: no LLM calls, no network.

Quick example — an agent asks about history

The primary mode is MCP: an agent (Claude, Codex, …) calls ai-r directly and asks about history in plain language. For example — pull the plan the previous agent settled on, drafts discarded:

Show me the plan from the last session — final only, no intermediate revisions.
→ plan(session=…, kind="final")  →  get_body(id, shallow=true)

  plan:            "Migrate auth to JWT: 1) extract the check…"
  dropped_drafts:  2   ← two drafts the agent threw away along the way
  session:         a3f… (claude)

Fast edit attribution — one terminal command, across every agent at once:

ai-r find-file-edits auth.py --since 2026-06-01
2026-06-03  codex   auth.py  "add a refresh token"                 edit
2026-06-07  claude  auth.py  "extract the check into middleware"   edit

What hurts

the plan in one shape, the edits in another.

  • "Done, I did X per plan Y" — with nothing to check it against: the agent keeps

did the other agent already try?"

  • You switched agents mid-task and lost the thread. There's nowhere to ask "what

what request.

  • An edit shows up in a file — and it's unclear which agent made it, and on

One cause: every agent writes its history its own way — Claude and Codex in JSONL, OpenCode in SQLite, Antigravity in "brain" directories, Pi in per-project JSONL. Five formats, five layouts — together they don't reconcile.

The promise

ai-r folds all five into one read-only interface. Point any agent — or a script, or yourself — at any session, no matter which tool recorded it. One query shape per agent; format differences are normalized inside the parsers.

Even with a single agent it works: you audit your own Claude history (or Codex…). The five formats are so your history doesn't break when you switch tools — not a requirement to have all five.

As a source for RAG

In an "LLM + external data source" setup (RAG), ai-r is the source — more precisely, a retrieval layer over agent sessions. For a query it returns not a slice of log but parsed entities: the plan, the intent, the authorship of an edit — with a reference to the body the agent can pull if it needs it.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

AI R: common questions

Is AI R MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the AI R safety report
How do I install AI R?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does AI R need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is AI R maintained?
The last commit was 40 days ago (2026-09-25). The latest release is v0.4.2.
What can I use instead of AI R?
Servers from other publishers that do the same job: Agent-Native Plan MCP server, SuperCompress MCP server and Watch Skill MCP server.
How does AI R compare with other AI and agents MCP servers?
safety score 92/100 (higher than 90% of 4,460 AI and agents servers); tools 16 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to AI R

Same job from other publishers: the closest match first, then the best rated.

  • Agent-Native Plan
    Structured visual plans and PR recaps with diagrams, prototypes, annotations, and sharing
    A
  • SuperCompress
    Compress coding-agent context ~64%. Hosted Neural Keep MCP for Cursor/Claude/Codex.
    B
  • Watch Skill
    Watch video and live sessions, keep timestamped evidence, and verify an agent's own work.
    B
  • OpenWorkProof
    Verifiable agent evidence; opt-in Codex guard and reference SOC alert review.
    A
  • three.ws Billing
    An agent's account economics — plan quotas, metered usage, invoices, receipts, and earnings.
    B