# find-my-session

> find-my-session is an open-source MCP server for developer tools. Read-only local search and handoff across coding-agent session histories. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, Linux, CLI, Self-hosted
- **Repository:** https://github.com/somenoneai/find-my-session
- **MCP Registry name:** io.github.SomeNoneAI/find-my-session
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-23

## About

When one coding agent runs out of quota you often remember what you were doing but not where the session lives. This server indexes the local session stores of twenty-two supported harnesses, including Claude Code, Codex, Cursor, Cline, Gemini CLI, OpenCode and Qwen Code, and lets another agent find a session by keywords, fetch the latest one for a repo, and read a compact handoff digest instead of the whole transcript.

The README describes two shipped forms sharing one core library: an agent skill with the fms command line, and a browser panel for people. The MCP server runs over stdio and exposes harnesses, search, latest, show, prompts, stats and doctor as read-only tools. Show also prints the raw source path so an agent can grep the original file.

It needs Python 3.9 or newer on macOS or Linux and no third-party packages. Windows is only exercised by an experimental CI job. Compressed stores for Codex and DeepSeek need a zstd decoder or those sessions are skipped.

## Features

- **Cross-harness search:** Finds sessions by keywords or lists recent ones across twenty-two supported harness stores.
- **Handoff digest:** Prints a low-token summary of a session so another agent can continue the work.
- **Prompt paging:** Lists, counts and pages every human prompt in a session.
- **Usage stats:** Aggregates the token and cost totals that harnesses record themselves.
- **Resume command:** Prints or runs the command that reopens a session in its original harness.
- **Environment doctor:** Checks decoders, readable roots and per-harness health.

## Good for

- Continue yesterday's authentication task in a different agent after quota runs out
- Find which session discussed token refresh
- List every requirement you mentioned in the latest session for a project
- Compare token usage across several coding agents over seven days

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add find-my-session -- uvx find-my-session
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "find-my-session": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add find-my-session -- uvx find-my-session
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.find-my-session]
command = "uvx"
args = ["find-my-session"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user find-my-session uvx -- find-my-session

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "find-my-session": {
      "command": "uvx",
      "args": [
        "find-my-session"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 7 tools read data; 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `harnesses`: Lists ready and planned harnesses and their stores.
- `search` (name suggests: reads): Searches session metadata by keywords.
- `latest`: Returns the most recent matching session.
- `show` (name suggests: reads): Prints a handoff digest for one session.
- `prompts`: Lists the human prompts in one session.
- `stats`: Aggregates token and cost usage recorded by harnesses.
- `doctor`: Checks the local environment and stores.

## FAQ

### Does find-my-session modify my sessions?

No. The README describes it as local and read-only, and show prints the original source path rather than altering files.

### Which platforms are supported?

macOS and Linux with Python 3.9 or newer. Windows is only covered by an experimental, non-blocking CI job.

### How do I install find-my-session?

Run pipx install find-my-session for the fms and fms-ui commands, or use uvx --from find-my-session fms. The skill is also published as a release ZIP.

### Why might some sessions be missing?

Compressed Codex and DeepSeek stores need Python 3.14 or the zstd CLI; otherwise those sessions are skipped.

### Is find-my-session free?

Yes. find-my-session is open source, so you can use and self-host it for free.

### How do I add find-my-session to Claude Code?

Run this command in your terminal: claude mcp add find-my-session -- uvx find-my-session

### What are the best alternatives to find-my-session?

The closest alternatives to find-my-session are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/find-my-session
