← All projects
Project record1 mention
Originally shared on Hacker News

Tennis

Tennis is a local/offline CLI that indexes and searches your context, including files, Chat & Claude sessions, and Codex history. It uses SQLite/FTS5 keyword search plus vec0 vectors with model2vec potion-retrieval-32M embeddings, and fuses BM25 keyword rank and cosine semantic rank via RRF. At indexing time it creates markdown 'cards' summaries, and it is usable via API and MCP, with the MCP serving as a connector to applications like ChatGPT, Claude, and Opencode.

Last shared
01 / The problem

What it addresses

Chats are siloed in Claude with no easy way to connect that context in other apps, and existing tools require subscriptions and store data on their servers.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Tennis

    Tennis is a local/offline CLI that indexes and searches your context, including files, Chat & Claude sessions, and Codex history. It uses SQLite/FTS5 keyword search plus vec0 vectors with model2vec potion-retrieval-32M embeddings, and fuses BM25 keyword rank and cosine semantic rank via RRF. At indexing time it creates markdown 'cards' summaries, and it is usable via API and MCP, with the MCP serving as a connector to applications like ChatGPT, Claude, and Opencode.

    Problem: Chats are siloed in Claude with no easy way to connect that context in other apps, and existing tools require subscriptions and store data on their servers.

    Posted by @pizzuh · Original source ↗

    Story title · @pizzuh · · Source ↗

    Show HN: Tennis, a local/offline context store

    Submitted URL · @pizzuh · · Source ↗

    https://tennis.jlachance1.workers.dev/

    Source text · @pizzuh · · Source ↗

    I built Tennis: a CLI that indexes and searches your context offline

    Source text · @pizzuh · · Source ↗

    You can index any files, your Chat & Claude sessions, Codex history, etc. All local and offline.

    Source text · @pizzuh · · Source ↗

    I've always hated having chats siloed in Claude and not having an easy way to connect that context in other apps.

    Source text · @pizzuh · · Source ↗

    Anything that exists today has a subscription and is stored on their servers, and really wanted something fast, local, and offline.

    Source text · @pizzuh · · Source ↗

    SQLite/FTS5 (keyword) + vec0 (vector)

    Source text · @pizzuh · · Source ↗

    model2vec / potion-retrieval-32M (512-dim, 123MB)

    Source text · @pizzuh · · Source ↗

    RRF (k=60) fuses BM25 keyword rank + cosine semantic rank into one score

    Source text · @pizzuh · · Source ↗

    Tennis also creates markdown files called 'cards' at indexing time.

    Source text · @pizzuh · · Source ↗

    You can use Tennis via API and MCP.

    Source text · @pizzuh · · Source ↗

    the MCP works great as a connector to different applications (ChatGPT, Claude, Opencode, etc)