# Ai R

> Ai R is an open-source MCP server. Read local AI agent sessions (Claude Code, Codex, OpenCode, Antigravity, Pi): intents, plans, tools. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/pro-target/ai-r
- **MCP Registry name:** io.github.pro-target/ai-r
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add ai-r -- uvx agent-session-reader
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ai-r": {
      "command": "uvx",
      "args": [
        "agent-session-reader"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ai-r": {
      "command": "uvx",
      "args": [
        "agent-session-reader"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ai-r": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agent-session-reader"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ai-r": {
      "command": "uvx",
      "args": [
        "agent-session-reader"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ai-r": {
      "command": "uvx",
      "args": [
        "agent-session-reader"
      ]
    }
  }
}
```

## FAQ

### Is Ai R free?

Yes. Ai R is open source, so you can use and self-host it for free.

### How do I add Ai R to Claude Code?

Run this command in your terminal: claude mcp add ai-r -- uvx agent-session-reader

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/ai-r
